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.Runtime.CompilerServices;
using UnityEngine;
namespace Realmar.DataBindings.Examples.NonVirtual
{
public class Model
{
private string _surname;
private string _lastname;
private int _age;
public string Surname
{
get => _surname;
set
{
_surname = value;
Print();
}
}
pu... | 14.083333 | 88 | 0.610947 | [
"MIT"
] | laicasaane/unity-data-binding | Assets/DataBindings/Examples/NonVirtual/Model.cs | 676 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 46.065 | 313 | 0.617606 | [
"ECL-2.0",
"Apache-2.0"
] | aangelisc/pulumi-azure | sdk/dotnet/ServiceBus/Subscription.cs | 18,426 | 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("Cobweb Testing Extensions for MVC5.1, Uni... | 42.472222 | 144 | 0.749509 | [
"BSD-3-Clause"
] | aranasoft/cobweb-testing-mvc | test/Testing.Mvc5-1.Tests/Properties/AssemblyInfo.cs | 1,532 | C# |
using System;
using System.Collections.Generic;
namespace json2record.tests.sample2.DTOs {
public record PrepaymentSubaccount {
public string subaccountNumber { get; init; }
public int subaccountId { get; init; }
public string description { get; init; }
public DateTime lastMo... | 35.153846 | 60 | 0.652079 | [
"MIT"
] | mikalst/dtolab | json2record.tests/DTOs/sample2/PrepaymentSubaccount.cs | 457 | C# |
using System.Collections.Generic;
using Plugin.Models.Cards;
using Plugin.Models.Charts;
using Plugin.Models.Stat;
namespace Plugin.Models.Movie
{
public class MovieStatistics
{
public List<Card<string>> Cards { get; set; }
public List<TopCard> TopCards { get; set; }
public List<Chart>... | 31.105263 | 67 | 0.668359 | [
"MIT"
] | mregni/EmbyStat-Plugin | Plugin/Models/Movie/MovieStatistics.cs | 593 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
namespace Services.Contracts.Binding
{
[AttributeUsage(AttributeTargets.Class)]
public class BindingSource : Attribute
{
public BindingSource()
... | 19.05 | 44 | 0.685039 | [
"Apache-2.0"
] | CodeFiction/CodeEksi | Core/Services.Contracts/Binding/BindingSource.cs | 383 | C# |
using System;
using System.Collections.Generic;
using NHapi.Base.Log;
using NHapi.Model.V23.Group;
using NHapi.Model.V23.Segment;
using NHapi.Model.V23.Datatype;
using NHapi.Base;
using NHapi.Base.Parser;
using NHapi.Base.Model;
namespace NHapi.Model.V23.Message
{
///<summary>
/// Represents a RRD_O02 m... | 28.057416 | 146 | 0.63455 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | afaonline/nHapi | src/NHapi.Model.V23/Message/RRD_O02.cs | 5,864 | 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... | 41.333333 | 301 | 0.721102 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/VirtualMachineImages/V20200214/Outputs/ImageTemplateIdentityResponse.cs | 1,488 | C# |
namespace MyTested.HttpServer.Tests.UtilitiesTests
{
using System;
using Setups;
using Utilities;
using Xunit;
public class VersionValidatorTests
{
[Fact]
public void TryParseShouldReturnCorrectVersion()
{
var version = VersionValidator.TryParse("1.1", TestO... | 28.419355 | 107 | 0.626561 | [
"MIT"
] | Magicianred/MyTested.HttpServer | test/MyTested.HttpServer.Tests/UtilitiesTests/VersionValidatorTests.cs | 883 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unity
{
public class UnityObject
{ }
}
namespace Unity.Collections
{
public class UnityCollection
{ }
}
namespace UnityEngine
{
using Color32Proxy = System.Drawing.Color;... | 25.845238 | 97 | 0.527982 | [
"MIT"
] | jonnybasic/tesNet | UnityProxy/Unity.cs | 17,370 | C# |
using UnityEngine;
public interface IUiElementSelector
{
void Select(RectTransform parent);
void Deselect();
} | 16.285714 | 35 | 0.789474 | [
"MIT"
] | azsdaja/Osnowa | Assets/Scripts/IUiElementSelector.cs | 116 | C# |
namespace Herc.Pwa.Server.Entities
{
/// <summary>
/// This is base interface for all Entities.
/// </summary>
/// <remarks>
/// I normally use a GUID on everything even if it is not the primary key.
/// it helps by being able to migrate data. If I copy records from one db to another the
/// auto increm... | 32.3 | 96 | 0.621259 | [
"Unlicense"
] | iamonuwa/herc-in-blazorstate | Source/Herc.Pwa.Server/Entities/IEntity.cs | 971 | C# |
using System;
using System.IO;
using System.Text;
using UnityEngine;
using System.ComponentModel;
namespace Ginkgo
{
public enum LogLevel
{
[Description("None")]
None,
[Description("Debug")]
Debug,
[Description("Info")]
Info,
[Description("Warning")]
... | 30.508475 | 120 | 0.533889 | [
"MIT"
] | boostmerlin/UnityPolymer | HostUnityProj/Assets/Ginkgo/Gadget/Log/Logger.cs | 10,800 | C# |
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 task2
{
public partial class Form1 : Form
{
public Form1()
{
... | 31.735294 | 179 | 0.561631 | [
"Apache-2.0"
] | dkhramchenko/cpp | laba6/task2/task2/Form1.cs | 1,246 | C# |
using Abp.Configuration.Startup;
using Abp.Localization.Dictionaries;
using Abp.Localization.Dictionaries.Xml;
using Abp.Reflection.Extensions;
namespace Workflow.Localization
{
public static class WorkflowLocalizationConfigurer
{
public static void Configure(ILocalizationConfiguration localizationCon... | 33.391304 | 92 | 0.661458 | [
"MIT"
] | rafim25/AngularBoiler | aspnet-core/src/Workflow.Core/Localization/WorkflowLocalizationConfigurer.cs | 770 | C# |
using System;
using System.Security.Cryptography;
using System.Text;
using TreeGecko.Library.Common.Objects;
namespace TreeGecko.Library.Net.Objects
{
public class TGUserPassword : AbstractTGObject
{
public Guid UserGuid { get; set; }
public string Salt { get; set; }
public String Hash... | 32.703125 | 101 | 0.623029 | [
"MIT"
] | TreeGecko/Libraries | src/tgNet/Objects/TGUserPassword.cs | 2,095 | C# |
namespace tomenglertde.ResXManager.VSIX.Visuals
{
using System.ComponentModel.Composition;
using JetBrains.Annotations;
using tomenglertde.ResXManager.Infrastructure;
using TomsToolbox.Wpf.Composition;
[LocalizedDisplayName(StringResourceKey.ShowErrorsConfiguration_Header)]
[Visu... | 28.08 | 90 | 0.707977 | [
"MIT"
] | DJmRek/ResXResourceManager | ResXManager.VSIX/Visuals/ShowErrorsConfigurationViewModel.cs | 704 | 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("La... | 36.842105 | 84 | 0.746429 | [
"MIT"
] | mfschumann/Latex4CorelDraw | Properties/AssemblyInfo.cs | 1,403 | C# |
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Config... | 36.670455 | 143 | 0.626278 | [
"MIT"
] | edgaralvarezrengifo/prueatecnica_peaku | pruebatecnicapeaku/Server/Startup.cs | 3,227 | 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 w... | 42.642857 | 98 | 0.711474 | [
"MIT"
] | aivarasatk/YoutubeAdSkipper | SkipYoutubeAdSysTray/Properties/AssemblyInfo.cs | 2,391 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using RestSharp;
namespace Atlassian.Jira.Remote
{
/// <summary>
/// Contract for a client that interacts with JIRA via rest.
/// </summary>
public interface IJiraRestClient... | 47.949367 | 198 | 0.646251 | [
"BSD-2-Clause"
] | tkosanke/atlassian.net-sdk | Atlassian.Jira/Remote/IJiraRestClient.cs | 3,788 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Console
{
/// <summary>
/... | 51.359712 | 106 | 0.636644 | [
"MIT"
] | CALISOULB/PowerShellEditorServices | src/PowerShellEditorServices/Services/PowerShell/Console/IConsoleOperations.cs | 7,139 | C# |
using System;
using GVFS.Common;
using GVFS.Common.Git;
using GVFS.Virtualization.FileSystem;
namespace GVFS.UnitTests.Mock.Virtualization.FileSystem
{
public class MockFileSystemVirtualizer : FileSystemVirtualizer
{
public MockFileSystemVirtualizer(GVFSContext context, GVFSGitObjects gvfsGit... | 34.119048 | 313 | 0.671319 | [
"MIT"
] | abhijeet-gautam/VFSForGit | GVFS/GVFS.UnitTests/Mock/Virtualization/FileSystem/MockFileSystemVirtualizer.cs | 1,435 | C# |
using System.Collections.Generic;
namespace Melanchall.DryWetMidi.Core
{
// TODO: test
/// <summary>
/// Comparer to compare <see cref="MidiFile"/> objects for equality.
/// </summary>
public sealed class MidiFileEqualityComparer : IEqualityComparer<MidiFile>
{
#region Fields
... | 32.735294 | 105 | 0.597934 | [
"MIT"
] | EnableIrelandAT/Coimbra | ProjectCoimbra.UWP/Melanchall.DryWetMidi.UWP/Core/Equality/File/MidiFileEqualityComparer.cs | 2,228 | 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.
namespace System.Windows.Forms
{
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
us... | 28.219388 | 101 | 0.389261 | [
"MIT"
] | Bhaskers-Blu-Org2/winforms | src/System.Windows.Forms/src/System/Windows/Forms/Command.cs | 5,533 | C# |
using ModelsLayer.Models;
using System;
using System.Collections.Generic;
#nullable disable
namespace ModelsLayer.ViewModels
{
public class ViewProduct
{
public ViewProduct() { }
public ViewProduct(int productId, int? seasonalId, string productName, decimal productPrice, string productDescription, decima... | 27.292683 | 149 | 0.690795 | [
"MIT"
] | Not-Fight-Club/not-fight-club-shop | ShopService/ModelsLayer/ViewModels/ViewProduct.cs | 1,119 | C# |
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace JdSdk.Response.Price
{
[Serializable]
public class PriceChange : JdObject
{
[JsonProperty("sku_id")]
public String SkuId
{
get;
... | 16.638889 | 39 | 0.519199 | [
"Apache-2.0"
] | starpeng/JdSdk2 | Source/JdSdk/response/price/PriceChange.cs | 605 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.18034
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut gener... | 46.9375 | 179 | 0.637816 | [
"MIT"
] | pixi1/One-Time-Pad-V2.0.0 | Properties/Resources.Designer.cs | 3,014 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
using CCSWE.FiveHundredPx.Models;
namespace CCSWE.FiveHundredPx.Contracts
{
[DataContract]
public class GetPhotoFavoritesResponse: PagedResponse
{
[DataMember(Name = "users")]
public List<User> Users { get; set; }
}... | 23.071429 | 57 | 0.712074 | [
"Apache-2.0"
] | CoryCharlton/CCSWE-500px-API | Source/Api/Contracts/GetPhotoFavoritesResponse.cs | 325 | 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>
//--... | 42.932432 | 175 | 0.604658 | [
"MIT"
] | Mario-Kart-Felix/pinwin | PinWin/EmbeddedResource.Designer.cs | 3,179 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 47.296296 | 153 | 0.641543 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IEducationSchoolRequest.cs | 5,108 | 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... | 35.585366 | 174 | 0.650446 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Batch/V20200301/Inputs/TaskContainerSettingsArgs.cs | 1,459 | C# |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using ... | 26.28125 | 72 | 0.598098 | [
"MIT"
] | ThomasMiz/Silk.NET | src/Microsoft/Silk.NET.Direct3D9/Structs/Overlaycaps.gen.cs | 1,682 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Data;
using Grasshopper.Kernel.Types;
using GH_IO.Serialization;
using Rhino.Geometry;
namespace Heron
{
public class MultiMeshPatch : HeronComponent
{
/// <summary>
... | 37.316206 | 186 | 0.530135 | [
"MIT"
] | blueherongis/Heron | Heron/Components/Utilities/MultiMeshPatch.cs | 9,443 | C# |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace RVP
{
[DisallowMultipleComponent]
[AddComponentMenu("RVP/Demo Scripts/Vehicle HUD", 1)]
//Class for the HUD in the demo
public class VehicleHud : MonoBehaviour
{
public GameObject targetVehicle;
public Te... | 31.644068 | 174 | 0.488484 | [
"MIT"
] | cobby1212/Randomation-Vehicle-Physics | Assets/Scripts/Demo/VehicleHud.cs | 3,736 | C# |
using System;
using System.Collections.Generic;
using System.Web;
using System.Linq;
public class Example {
// Initializing Lib
internal DBContext dBContext = new DBContext("Example\\SQLEXPRESS", "DataBase");
public Example() {
//Some Possible Variables to Change
dBContext.time... | 27.935065 | 99 | 0.562064 | [
"MIT"
] | RealSvildr/SQLMinimal | Example.cs | 2,153 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MYCGenerator4OurDailyBread.GlobalVariables
{
public static class GlobalVariables
{
public const string MainFolderTokenKey = "MainFolderToken";
public const int MaxPlus... | 21.125 | 67 | 0.748521 | [
"MIT"
] | ychsue/MYCGenerator4OurDailyBread | MYCGenerator4OurDailyBread/GlobalVariables/GlobalVariables.cs | 340 | C# |
/*
<file>
Description:
Azure Storage Blob Quickstart: Demonstrate how to upload, list, download, and delete blobs
Authors:
Vadim Osovitny
Anatoly Osovitny
Created:
22 Jun 2018
Copyright (c) 2018 Osovitny Inc. All rights reserved.
</file>
*/
using Microsoft.WindowsAzure.Storage;
using System... | 23.52 | 94 | 0.682823 | [
"MIT"
] | osovitny/azure-storage-quickstart | .NETCore/BlobQuickStart/Program.cs | 1,178 | 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 ... | 44 | 141 | 0.754717 | [
"Apache-2.0"
] | awei1688/aliyun-openapi-net-sdk | aliyun-net-sdk-onsmqtt/OnsMqtt/Transform/V20200420/ListGroupIdResponseUnmarshaller.cs | 2,332 | C# |
using Android.App;
using Android.Widget;
using Android.OS;
namespace TelemetryQs
{
[Activity(Label = "TelemetryQs", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
int count = 1;
protected override void OnCreate(Bundle savedInstanceState)
{
... | 26.5 | 81 | 0.609164 | [
"MIT"
] | NAXAM/mapbox-android-telemetry-android-binding | demo/TelemetryQs/MainActivity.cs | 744 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Player's unique data
/// </summary>
/// <remarks>
/// Not used in any of implementations.
/// </remarks>
public struct PlayerUData
{
public string playerName;
public Guid guid;
public PlayerUDat... | 24.139706 | 129 | 0.610113 | [
"MIT"
] | jeslaspravin/FlappyBird | Assets/Scripts/Controller/PlayerController.cs | 3,285 | C# |
using OpenTK.Graphics.OpenGL;
using System;
namespace Render.Core.GraphicsInterface
{
public class VertexArrayObject : IManagedAssetHandle
{
public readonly float[] Data;
internal VertexArrayObject(ManagedGraphicsService graphics)
{
this.graphics = graphics;
ha... | 26.971429 | 93 | 0.637712 | [
"MIT"
] | KelsonBall/RaymarchingSim | src/Render.Core.GraphicsInterfaces/VertexArrayObject.cs | 946 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq.Expressions;
using UnityEditor;
using UnityEngine;
public static class SerializableObjHelper
{
public static SerializedProperty FindProperty(this SerializedObject obj, Expression<Func<object>> exp)
{
var body = exp.Body as ... | 22.512821 | 113 | 0.747153 | [
"MIT"
] | LaudateCorpus1/Physical-Camera | Project/Assets/Vfx-Camera/Scripts/Editor/SerializableObjHelper.cs | 878 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> Describes the properties of the Virtual Machine for which the restore point was created. The properties provided ar... | 57.587302 | 458 | 0.68247 | [
"MIT"
] | jasonsandlin/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RestorePointSourceMetadata.cs | 3,628 | C# |
/**
* Copyright 2013 Canada Health Infoway, Inc.
*
* 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... | 36.413793 | 83 | 0.710227 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/RoleLinkStatusActive.cs | 1,056 | C# |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... | 37.2 | 132 | 0.759857 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/apicurio-registry/dotnet/Kubernetes/Crds/Operators/ApicurioRegistry/Apicur/V1Alpha1/Outputs/ApicurioRegistrySpecConfigurationStreamsSecurity.cs | 1,116 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace App.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class JosbListView : ContentPage
{
public JosbLi... | 19.238095 | 53 | 0.673267 | [
"MIT"
] | AdrianaMota/MobileApp-Xamarin | src/App/Views/JosbListView.xaml.cs | 404 | C# |
using UnityEngine;
[CreateAssetMenu(
fileName = "UnsignedLongVariable.asset",
menuName = SOArchitecture_Utility.ADVANCED_VARIABLE_SUBMENU + "ulong",
order = SOArchitecture_Utility.ASSET_MENU_ORDER_COLLECTIONS + 17)]
public class ULongVariable : BaseVariable<ulong>
{
} | 31.333333 | 74 | 0.787234 | [
"Unlicense"
] | Stevo0225/PuzzleGame | Assets/SO Architecture/Variables/ULongVariable.cs | 284 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.DataCollection
{
using System;
using System.Collections.ObjectModel;
using... | 40.765517 | 142 | 0.642023 | [
"MIT"
] | wjk/dotnet-vstest | src/Microsoft.TestPlatform.CommunicationUtilities/DataCollectionRequestSender.cs | 5,911 | C# |
// Copyright 2017, Google 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
//
// Unless required by applicab... | 40.474359 | 97 | 0.663921 | [
"Apache-2.0"
] | MajaGrubbe/googleads-dotnet-lib | examples/AdWords/CSharp/v201710/AdvancedOperations/AddClickToDownloadAd.cs | 6,316 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Vpc
{
#pragma warning disable CS8618
/// <summary>Properties for defining a `ALIYUN::VPC::IpsecServer`.</summary>
[JsiiByValue(fqn: "@alicloud/ros-cdk-vpc.IpsecServerProps")]
public class... | 48.118182 | 238 | 0.606461 | [
"Apache-2.0"
] | aliyun/Resource-Orchestration-Service-Cloud-Development-K | multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Vpc/AlibabaCloud/SDK/ROS/CDK/Vpc/IpsecServerProps.cs | 5,293 | C# |
using System;
using System.Collections.Generic;
#nullable disable
namespace Start_App.Domain.Entities
{
public partial class JobCandidate
{
public int JobCandidateId { get; set; }
public int? BusinessEntityId { get; set; }
public string Resume { get; set; }
public DateTime Mod... | 23 | 60 | 0.661836 | [
"MIT"
] | JohnZhaoXiaoHu/Start-App | Start-App.Domain/Entities/AdventureWork2017/HumanResources/JobCandidate.cs | 416 | C# |
using Gwen.Net.Control;
using static Gwen.Net.Platform.GwenPlatform;
namespace Gwen.Net.CommonDialog
{
/// <summary>
/// Dialog for selecting an existing directory.
/// </summary>
public class FolderBrowserDialog : FileDialog
{
public FolderBrowserDialog(ControlBase parent)
... | 23.145833 | 62 | 0.530153 | [
"MIT"
] | pershingthesecond/Gwen.Net | Gwen.Net/CommonDialog/FolderBrowserDialog.cs | 1,113 | C# |
using CommunityToolkit.Maui.Behaviors;
using Xunit;
namespace CommunityToolkit.Maui.UnitTests.Behaviors;
public class ImpliedOrderGridBehavior_Tests : BaseTest
{
[Fact]
public void CorrectRowColumnAssignment()
{
var grid = new Grid();
grid.Behaviors.Add(new ImpliedOrderGridBehavior());
grid.RowDefinitions.... | 24.267974 | 83 | 0.719634 | [
"MIT"
] | ChaplinMarchais/Maui | src/CommunityToolkit.Maui.UnitTests/Behaviors/ImpliedOrderGridBehavior_Tests.cs | 3,715 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Sentry.Extensibility;
using Sentry.Internal.ScopeStack;
namespace Sentry.Internal
{
internal sealed class SentryScopeManager : IInternalScopeManager, IDisposable
{
// Internal for testing
internal IScopeStackCon... | 36.768293 | 152 | 0.603483 | [
"MIT"
] | paperview/sentry-dotnet | src/Sentry/Internal/SentryScopeManager.cs | 6,030 | C# |
using System;
namespace yocto.tests.yetevenmorebad
{
public class AssemblyRegistration
{
public void Initialize(IContainer container)
{
}
}
}
| 15 | 52 | 0.633333 | [
"Apache-2.0"
] | MILL5/yocto | src/yocto.tests.common/AssemblyRegistration/YetEvenMoreBadAssemblyRegistration.cs | 182 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.SceneManagement;
public class StartGameController : MonoBehaviour
{
public void StartGame(int sceneIndex)
{
Time.timeScale = 1;
DataCollector.Instance.SetLoadData(false);
Scen... | 21.964286 | 52 | 0.678049 | [
"MIT"
] | kamitul/Breakout | Assets/Scripts/MainMenu/StartGameController.cs | 617 | 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... | 30.877193 | 109 | 0.653409 | [
"Apache-2.0"
] | jasoncwik/aws-sdk-net | sdk/src/Services/ElastiCache/Generated/Model/RemoveTagsFromResourceResponse.cs | 1,760 | C# |
using Blazorise.Modules;
using Microsoft.JSInterop;
namespace Blazorise.AntDesign.Modules
{
internal class AntDesignJSTooltipModule : JSTooltipModule
{
public AntDesignJSTooltipModule( IJSRuntime jsRuntime, IVersionProvider versionProvider )
: base( jsRuntime, versionProvider )
{
... | 28.8125 | 122 | 0.715835 | [
"MIT"
] | OuticNZ/Blazorise | Source/Blazorise.AntDesign/Modules/AntDesignJSTooltipModule.cs | 463 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tasks
{
class Dirs
{
// Normal Directories:
public static string firefoxDir;
public static string chromeDir;
public static string edgeDir;
publ... | 23.608696 | 57 | 0.685083 | [
"Apache-2.0"
] | hackinggames/Tasks | Tasks/Classes/Dirs.cs | 545 | C# |
using System;
namespace YourBrand.Invoices.Application.Common.Models;
public record ItemsResult<T>(IEnumerable<T> Items, int TotalItems); | 28.8 | 67 | 0.791667 | [
"MIT"
] | marinasundstrom/YourCompany | Finance/Invoices/Invoices/Application/Common/Models/ItemsResult.cs | 146 | C# |
using MediatR;
namespace Scheduler.Application.Resources.Commands.EditResource
{
public class EditResourceCommand : IRequest
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool IsActive { get; set; }
}
}
| 24.076923 | 63 | 0.638978 | [
"MIT"
] | knightpedro/scheduler | Scheduler.Application/Resources/Commands/EditResource/EditResourceCommand.cs | 315 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace LeetCode.Naive.Problems
{
/// <summary>
/// Problem: https://leetcode.com/problems/strobogrammatic-number-ii/
/// Submission: https://leetcode.com/submissions/detail/450769856/
/// Facebook, Google
/// </summary>
... | 23.754386 | 82 | 0.437962 | [
"MIT"
] | viacheslave/algo | leetcode-subscription/c#/Problems/P0247.cs | 1,354 | C# |
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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
*
* Unle... | 45.418033 | 259 | 0.649341 | [
"Apache-2.0"
] | avjabalpur/ccd-generator | gpmr/MohawkCollege.EHR.HL7v3.MIF.MIF20/Vocabulary/SupportedConceptRelationship.cs | 5,541 | 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("6.2... | 38.108108 | 84 | 0.74539 | [
"MIT"
] | robertlucic66/AlgebraCSharp2019-1 | ConsoleApp1/6.2.4.zbirka.znamenke/Properties/AssemblyInfo.cs | 1,413 | C# |
using System.Collections.Generic;
namespace SFA.DAS.RoatpOversight.Domain
{
public static class OversightReviewStatuses
{
public static IReadOnlyList<OversightReviewStatus> SuccessfulStatuses { get; } = new List<OversightReviewStatus>
{
OversightReviewStatus.SuccessfulAlreadyActive... | 29.933333 | 120 | 0.717149 | [
"MIT"
] | SkillsFundingAgency/das-roatp-oversight | src/SFA.DAS.RoatpOversight.Domain/OversightReviewStatuses.cs | 451 | C# |
/* Poly2Tri
* Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* 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 m... | 38.836664 | 184 | 0.508892 | [
"MIT"
] | PsichiX/mindvolving | FarseerPhysics.Portable/Common/Decomposition/CDT/Delaunay/Sweep/DTSweep.cs | 44,705 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.WindowsAzure.Storage.Table;
using Orleans;
using Orleans.AzureUtils;
using Orleans.Providers.Streams.Generator;
using Orleans.Runtime;
using Orleans.Runtime... | 47.204545 | 187 | 0.679185 | [
"MIT"
] | seralexeev/orleans | test/ServiceBus.Tests/Streaming/EHImplicitSubscriptionStreamRecoveryTests.cs | 6,233 | C# |
using System.Collections.Generic;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.AutoMapper;
using Abp.Localization;
namespace BodeAbp.Zero.Permissions.Dtos
{
/// <summary>
/// 权限基本信息
/// </summary>
[AutoMapFrom(typeof(Permission))]
public class PermissionBriefOutPut
{
... | 22.290323 | 74 | 0.581766 | [
"MIT"
] | liuxx-u/BodeAbp | src/modules/BodeAbp.Zero/Permissions/Dtos/PermissionBriefOutPut.cs | 727 | C# |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Torch.Utils;
namespace Torch.Collections
{... | 30.699187 | 123 | 0.529396 | [
"Apache-2.0"
] | Andargor/Torch | Torch/Collections/MTObservableCollection.cs | 3,778 | 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... | 42.865979 | 178 | 0.647908 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Glue/Generated/Model/OperationTimeoutException.cs | 4,158 | 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 SystemRoutingGetRouteDeviceListRequest. The column headings are "Net ... | 33.675 | 131 | 0.678545 | [
"MIT"
] | JTOne123/broadworks-connector-net | BroadworksConnector/Ocip/Models/SystemRoutingGetRouteDeviceListResponse.cs | 1,347 | C# |
using System;
using Calamari.Util;
using FluentAssertions;
using NUnit.Framework;
namespace Calamari.Tests.Fixtures.Util
{
[TestFixture]
public class StringExtensionsFixture
{
[TestCase("Hello World", "ello", true)]
[TestCase("Hello World", "ELLO", true)]
[TestCase("HELLO WORLD", "... | 30.096774 | 91 | 0.599143 | [
"Apache-2.0"
] | bonefisher/Calamari | source/Calamari.Tests/Fixtures/Util/StringExtensionsFixture.cs | 935 | 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.FSx")]
[assembly: AssemblyDescripti... | 46.1875 | 221 | 0.751015 | [
"Apache-2.0"
] | augustoproiete-forks/aws--aws-sdk-net | sdk/code-analysis/ServiceAnalysis/FSx/Properties/AssemblyInfo.cs | 1,478 | C# |
using Discord;
using Discord.Commands;
using NadekoBot.Services;
using System;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Administration.Services;
using System.Linq;
namespace NadekoBot.Modules.Administration
{
public partial class Administration
{
[Group]... | 38.535354 | 129 | 0.526081 | [
"MIT"
] | maltesermailo/Mitternacht-NEW | src/NadekoBot/Modules/Administration/MuteCommands.cs | 7,632 | 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... | 40.021196 | 197 | 0.501971 | [
"BSD-2-Clause"
] | MihaelaStoica/xenadmin | XenModel/Network/XenConnection.cs | 84,967 | C# |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Build.Evaluation;
using Moq;
using NuGet.CommandLine.Test;
using Xunit;
namespace NuGet.CommandLine
{
public class ProjectFactoryTest
{
[Fact]
public void ProjectFactoryInitializesPropertiesForPreprocess... | 37.16087 | 190 | 0.595063 | [
"Apache-2.0"
] | NuGetArchive/NuGet.PackageManagement | test/NuGet.CommandLine.Test/ProjectFactoryTest.cs | 8,550 | C# |
using Komodex.Common;
using Komodex.DACP.Containers;
using Komodex.DACP.Items;
using Komodex.DACP.Queries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Komodex.DACP.Groups
{
public class Album : DacpGroup
{
public Album(D... | 32.981818 | 191 | 0.585998 | [
"MIT"
] | misenhower/WPRemote | CommonLibraries/Libraries/Komodex.DACP (Win8)/Groups/Album.cs | 3,630 | C# |
using System;
using UltimaOnline;
namespace UltimaOnline.Items
{
public class PhillipsWoodenSteed : MonsterStatuette
{
[Constructable]
public PhillipsWoodenSteed() : base(MonsterStatuetteType.PhillipsWoodenSteed)
{
LootType = LootType.Regular;
}
... | 24.764706 | 96 | 0.586698 | [
"MIT"
] | netcode-gamer/game.ultimaonline.io | UltimaOnline.Data/Items/Minor Artifacts/PhillipsWoodenSteed.cs | 842 | C# |
using Oxide.Core;
using Oxide.Core.Libraries;
using Oxide.Core.Plugins;
using System.Collections.Generic;
using System.Linq;
using VRage.Game.ModAPI;
namespace Oxide.Game.MedievalEngineers.Libraries
{
/// <summary>
/// A library containing functions for adding console and chat commands
/// </summary>
... | 37.843243 | 140 | 0.590201 | [
"MIT"
] | CryptoJones/Oxide | Games/Oxide.MedievalEngineers/Libraries/Command.cs | 7,003 | C# |
namespace SentimentAnalysis.AzureMachineLearning.Tests.Settings
{
using System.Configuration;
using System.Diagnostics;
using DotNetTestHelper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AzureMachineLearningSettings = AzureMachineLearning.AzureMachineLearningSettings;
[TestClass... | 41.37931 | 149 | 0.74 | [
"Unlicense"
] | bfdill/SentimentAnalysis | SentimentAnalysis.AzureMachineLearning.Tests/Settings/SettingsTest.cs | 1,202 | 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 "li... | 38.6 | 115 | 0.65965 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/ConfigService/Generated/Model/BatchGetResourceConfigResponse.cs | 3,088 | 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.Threading.Tasks;
namespace NuGet.Services.Configuration
{
/// <summary>
/// Injects a <see cref="Configuration"/> subclass with... | 42.76 | 148 | 0.665108 | [
"Apache-2.0"
] | DalavanCloud/ServerCommon | src/NuGet.Services.Configuration/IConfigurationFactory.cs | 1,071 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XFDraw.Numerics;
namespace XFDraw
{
public class LinearGradientBrush : GradientBrush
{
public LinearGradientBrush()
{
StartPoint = Vector2.Zero;
End... | 20.636364 | 52 | 0.643172 | [
"MIT"
] | billreiss/XFDraw | XFDraw/LinearGradientBrush.cs | 456 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Cache;
using System.Text;
/*
* http://www.c-sharpcorner.com/UploadFile/0d5b44/ftp-using-C-Sharp-net/
*/
/*
static void Main(string[] args)
{
FTPOperations ops = new FTPOperations("user", "pas... | 38.270968 | 110 | 0.573837 | [
"MIT"
] | johnpankowicz/govmeeting-before-bfg | BackEnd/Online/OnlineAccess_Lib/FTPOperations.cs | 5,934 | C# |
using System;
using UnityEngine;
public class LookAtCamera : MonoBehaviour
{
private Camera mainCamera;
private Transform tr;
private void Start()
{
this.mainCamera = Camera.main;
this.tr = base.transform;
}
private void Update()
{
if (this.mainCamera != null)
{
this.tr.LookAt(this.mainCamera.tran... | 14.041667 | 45 | 0.697329 | [
"MIT"
] | moto2002/superWeapon | src/LookAtCamera.cs | 337 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Identity.Tests.Mock;
using Azure.Security.KeyVault.Secre... | 37.3 | 168 | 0.679774 | [
"MIT"
] | conhua/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialImdsLiveTests.cs | 3,359 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Routing;
internal sealed class DefaultEndpointConventionBuilder : IEndpointConve... | 26.55102 | 107 | 0.670254 | [
"MIT"
] | Akarachudra/kontur-aspnetcore-fork | src/Http/Routing/src/DefaultEndpointConventionBuilder.cs | 1,301 | 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(... | 34.4375 | 84 | 0.752571 | [
"MIT"
] | buybackoff/Funq | Funq/Funq.Abstract/Properties/AssemblyInfo.cs | 1,656 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using System.Data.Common;
using NumberShop.Models.Tables;
namespace NumberShop.Models.Contexts
{
public class UserDbContext : DbContext
{
public DbSet<User> Users { get... | 24.52 | 79 | 0.683524 | [
"MIT"
] | wtzqasdf/NumberShop | NumberShop/Models/Contexts/UserDbContext.cs | 615 | C# |
using System.Collections.Generic;
using System.Linq;
namespace EmptyProject.Dialogs
{
public class DialogManager
{
public static DialogManager Instance { get; } = new DialogManager();
public List<Dialog> ActiveDialogs { get; } = new List<Dialog>();
public Dialog Top => ActiveDialogs.FirstOrDefault();
publi... | 20.266667 | 70 | 0.680921 | [
"MIT"
] | game-forest/Citrus | Examples/EmptyProject/EmptyProject.Game/Dialogs/DialogManager.cs | 608 | C# |
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using Watchdog.Execution;
using Watchdog.Http;
using Watchdog.Metrics;
namespace Watchdog
{
/// <summary>
/// Represents the watchdog server
/// (which is composed of many components, http ... | 31.87218 | 92 | 0.547771 | [
"Apache-2.0"
] | unisave-cloud/watchdog | Watchdog/WatchdogServer.cs | 4,239 | C# |
using Syadeu.Presentation.Entities;
using System;
namespace Syadeu.Presentation.Internal
{
/// <summary>
/// Presentation Manager에 유저 시스템을 등록하기 위한 인터페이스입니다.<br/>
/// <see cref="PresentationGroupEntity.RegisterSystem(System.Type[])"/> 을 <see cref="Register"/>에서 호출하여 등록하세요.
/// </summary>
/// <remar... | 35.181818 | 114 | 0.594315 | [
"Apache-2.0"
] | Syadeu/CoreSystem | Runtime/Presentation/Internal/IPresentationRegister.cs | 1,457 | C# |
using System;
namespace Buildron.Domain.Users
{
/// <summary>
/// User authentication completed event arguments.
/// </summary>
public class UserAuthenticationCompletedEventArgs : EventArgs
{
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="Buildron.Domain.Users.UserAuthen... | 29.638889 | 127 | 0.661668 | [
"MIT"
] | skahal/Buildron | src/Buildron/Buildron.ModSdk/Domain/Users/UserAuthenticationCompletedEventArgs.cs | 1,067 | C# |
using System;
namespace SimplexTestApp
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} | 16.5 | 47 | 0.560606 | [
"MIT"
] | phinoox/simplex | Simplex/SimplexTestApp/Program.cs | 200 | C# |
using Android.App;
using Android.Content.PM;
using Android.OS;
using Gcm.Client;
namespace AZKitMobile.Droid
{
[Activity(Label = "AZKitMobile", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamar... | 36.823529 | 160 | 0.679712 | [
"MIT"
] | Azure-Samples/azure-solutions-digital-marketing-reference-implementation | src/AzureKit/AZKitMobile/AZKitMobile.Droid/MainActivity.cs | 1,254 | C# |
using System;
using NUnit.Framework;
namespace Codewars.sixKyu
{
[TestFixture]
public class KataTests
{
[Test]
[TestCase("Welcome", ExpectedResult = "emocleW")]
[TestCase("Hey fellow warriors", ExpectedResult = "Hey wollef sroirraw")]
[TestCase("This is a test", ExpectedResul... | 36.095238 | 115 | 0.637203 | [
"MIT"
] | AsmusGerman/csharp-codewars-katas | 6-kyu/stop-gninnips-my-sdrow/Kata.test.cs | 758 | C# |
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CaseFile.Api.Business.Commands;
using CaseFile.Entities;
namespace CaseFile.Api.Business.Handlers
{
public class UserCountQueryHandler : IRequestHa... | 31.305556 | 108 | 0.671695 | [
"MPL-2.0"
] | code4romania/case-file-api | api/CaseFile.Api.Business/Handlers/UserCountQueryHandler.cs | 1,129 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace MyShop.WebUI.Tests.Mocks
{
public class MockHttpContext : HttpContextBase
{
private MockRequest request;
private... | 22.186667 | 58 | 0.554087 | [
"MIT"
] | chisho21/MyShop | MyShop/MyShop.WebUI.Tests/Mocks/MockHttpContext.cs | 1,666 | C# |
//confirmed working with Hurtworld ItemV2, ROK, Rust, 7DaystoDie
using System;
using System.Collections.Generic;
using System.Linq;
namespace Oxide.Plugins
{
[Info("NightMessage", "Mordeus", "1.0.1")]
[Description("Universal Day/Night Message")]
public class NightMessage : CovalencePlugin
{
pu... | 33.900901 | 112 | 0.528302 | [
"MIT"
] | john-clark/rust-oxide-umod | oxide/plugins/universal/NightMessage.cs | 3,765 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.