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 |
|---|---|---|---|---|---|---|---|---|
#region File Description
//-----------------------------------------------------------------------------
// Screen.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#regi... | 32.390244 | 171 | 0.560994 | [
"MIT"
] | SimonDarksideJ/XNAGameStudio | Samples/Spacewar_4_0/SceneGraph/Screen.cs | 3,984 | C# |
using FavCat.CustomLists;
using VRC.Core;
namespace FavCat.Adapters
{
internal class ApiAvatarAdapter : IPickerElement
{
private readonly ApiAvatar myAvatar;
public ApiAvatarAdapter(ApiAvatar avatar)
{
myAvatar = avatar;
}
public string Name => myAvatar.nam... | 41.391304 | 182 | 0.715336 | [
"Apache-2.0",
"MIT"
] | anon54914/VRCMods | FavCat/Adapters/ApiAvatarAdapter.cs | 952 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.... | 36.080146 | 149 | 0.593245 | [
"MIT"
] | eagobert/CSharp-VetHarborProject | VETHarbor/VETHarbor/Controllers/ManageController.cs | 19,810 | C# |
namespace WebMVC.EntityFramework
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class TRANSACTION_DETAIL
{
[Key]
[Column(Order... | 26.243902 | 70 | 0.597584 | [
"MIT"
] | 1312602/Quan-Ly-Merchant | WebServer/WebMVC/EntityFramework/TRANSACTION_DETAIL.cs | 2,152 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Linq;
using System.Security.Claims;
using System.Text;
namespace TransAction.API.Authorization
{
public class ClaimRequirementAttribute : TypeFilterAttribute
{
public ClaimRequirementA... | 30.06383 | 118 | 0.629866 | [
"Apache-2.0"
] | DSoLetsDev/TransAction | api/TransAction.API/Authorization/ClaimRequirementAttribute.cs | 1,415 | 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 no... | 36.5 | 132 | 0.565995 | [
"Apache-2.0"
] | ThinkGeo/GIS-Editor | MapSuiteGisEditor/WpfDesktopExtension/Shares/Extensions/ShapeFileFeatureLayerExtension.cs | 6,205 | 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("Cr... | 36.862069 | 84 | 0.746492 | [
"MIT"
] | wbish/Craigslist-8X | Win8/Craigslist8X/Craigslist8X/Properties/AssemblyInfo.cs | 1,072 | 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.AwsN... | 31.2 | 99 | 0.733974 | [
"Apache-2.0"
] | AaronFriel/pulumi-aws-native | sdk/dotnet/KinesisAnalytics/Outputs/ApplicationReferenceDataSourceRecordFormat.cs | 936 | C# |
using FoxDb.Interfaces;
using System;
namespace FoxDb
{
public class EntityPopulator : IEntityPopulator
{
public EntityPopulator(IDatabase database, ITableConfig table)
{
this.Database = database;
this.Table = table;
}
public IDatabase Data... | 27.938776 | 94 | 0.483565 | [
"MIT"
] | Raimusoft/FoxDb | FoxDb.Core/Entity/EntityPopulator.cs | 1,371 | C# |
// <auto-generated />
using System;
using Harvest.Core.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NetTopologySuite.Geometries;
namespace Harvest.Core.M... | 33.717149 | 88 | 0.408779 | [
"MIT"
] | ucdavis/Harvest | Harvest.Core/Migrations/Sqlite/20210413211913_QuoteInitiatorSpelling.Designer.cs | 30,280 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions.LanguageExt;
using SparkPostFun.Sending;
using Xunit;
namespace SparkPostFun.Tests.TestCase;
public class TemplateTest : IClassFixture<TestCaseEmailsFixture>
{
private readonly TestCaseEmailsFixture fixture;
public Templat... | 28.313433 | 89 | 0.560886 | [
"Apache-2.0"
] | jmojiwat/SparkPostFun | src/SparkPostFun.Tests/TestCase/TemplateTest.cs | 1,897 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Battle.Weapons;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace Battle.Tests
{
public class ArmyTest
{
private readonly IHeadquarters _hqMock = Substitute.For<IHeadquarters>();
[Fact]
public voi... | 28.284211 | 81 | 0.527726 | [
"MIT"
] | JasDesc/XPTraining-battle | Battle.Tests/ArmyTest.cs | 2,689 | C# |
//-----------------------------------------------------------------------
// <copyright file="ClientData.cs" company="Sully">
// Copyright (c) Johnathon Sullinger. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace MudDesigner.Adapters.Server
{
... | 30.783784 | 78 | 0.499561 | [
"MIT"
] | MudDesigner/MudDesigner | Source/Runtime/MudDesigner.Adapters.Server/ClientData.cs | 1,139 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary.EN{
public class enlinped{
// parte privada (propiedades de linea de pedido)
private int numPedido;
private int linea;
private int producto;
... | 23.873786 | 58 | 0.473363 | [
"MIT"
] | ajah1/practicahada | BASE DE DATOS/practicahadagrupal/ClassLibrary/EN/enlinped.cs | 2,462 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class dissappear : MonoBehaviour, IToggleable
{
[SerializeField]
SpriteRenderer sr;
[SerializeField]
Collider2D col;
[SerializeField]
bool is_solid = true;
public bool state => is_solid;
public void ... | 20.083333 | 68 | 0.657676 | [
"MIT"
] | squagonal/Rocketskates | Assets/dissappear.cs | 484 | C# |
#if !NETSTANDARD13
/*
* 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
... | 41.247312 | 172 | 0.666319 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/FSx/Generated/Model/_bcl45+netstandard/DescribeFileSystemAliasesPaginator.cs | 3,836 | C# |
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace Xamarin.iOS.Tasks
{
public class ExtensionTestBase : TestBase {
public string BundlePath;
public string Platform;
public ExtensionTestBase () { }
public ExtensionTestBase (string platform) {
Platform = platform;
}
public Extension... | 36.457831 | 177 | 0.721414 | [
"BSD-3-Clause"
] | ludovic-henry/xamarin-macios | msbuild/tests/Xamarin.iOS.Tasks.Tests/ProjectsTests/Extensions/ExtensionTestBase.cs | 3,028 | C# |
// ===========================================================
// Copyright (C) 2014-2015 Kendar.org
//
// 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... | 25.913669 | 131 | 0.701555 | [
"MIT"
] | endaroza/Node.Cs | Src/Node.Cs.Commons/Utils/EncodingWrapper.cs | 3,602 | C# |
namespace DeclarativeDataDisplayWhidbey
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)... | 44.021164 | 91 | 0.794351 | [
"MIT"
] | CornerZhang/Learning_CSharp | Programming_C#/ProgCSharp4eSourceR5/Chapter 14/DeclarativeDataDisplayWhidbey/DeclarativeDataDisplayWhidbey/Form1.Designer.cs | 8,322 | C# |
using System.Threading.Tasks;
using System;
using Newtonsoft.Json;
using System.Text;
using UnityEngine.Networking;
using UnityEngine;
namespace Loom.Unity3d
{
internal class HTTPRPCClient : IRPCClient
{
private static readonly string LogTag = "Loom.HTTPRPCClient";
private Uri url;
/... | 34.446809 | 118 | 0.534589 | [
"MIT"
] | dotrungkien/loom-unity | evm-based/client/Assets/LoomSDK/Internal/HTTPRPCClient.cs | 3,240 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Security.Principal;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animatio... | 36.755639 | 467 | 0.541659 | [
"MIT"
] | ChrisVenus/HunterPie | HunterPie/Hunterpie.xaml.cs | 48,887 | 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... | 48.093023 | 339 | 0.710832 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Devices/V20180122/Outputs/RoutingPropertiesResponse.cs | 2,068 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking.Logging
{
public static class AsyncHelpers
{
/// <summar... | 33.140741 | 120 | 0.469826 | [
"MIT"
] | AdrianaMusic/MixedRealityToolkit-Unity | Assets/MRTK/Examples/Demos/EyeTracking/DemoVisualizer/Scripts/AsyncHelpers.cs | 4,476 | C# |
#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Constants;
using BTCPayServer.Abstractions.Contracts;
using BTCPayServer.BIP78.Send... | 47.882353 | 172 | 0.614431 | [
"MIT"
] | Zaxounette/btcpayserver | BTCPayServer/Controllers/GreenField/StoreOnChainWalletsController.cs | 27,676 | C# |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using D2L.CodeStyle.Analyzers.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace D2L.CodeStyle.A... | 31.261905 | 124 | 0.743336 | [
"Apache-2.0"
] | JTOne123/D2L.CodeStyle | src/D2L.CodeStyle.Analyzers/ApiUsage/Events/EventHandlersDisallowedListAnalyzer.cs | 3,941 | C# |
// Copyright (c) Niklas Voss. All rights reserved.
// Licensed under the Apache2 license. See LICENSE file in the project root for full license information.
using System;
using CueX.Core;
namespace CueX.GridSPS.Config
{
public class GridConfiguration : Configuration
{
private double _partitionSize = ... | 28.071429 | 105 | 0.601781 | [
"Apache-2.0"
] | trevex/CueX | CueX.GridSPS/Config/GridConfiguration.cs | 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 Axe.Windows.Core.Bases;
using Axe.Windows.Core.Misc;
using Axe.Windows.Core.Resources;
using System;
namespace Axe.Windows.Core.Results
{
/// <summar... | 31.765957 | 107 | 0.530141 | [
"MIT"
] | DaveTryon/axe-windows | src/Core/Results/ScanMetaInfo.cs | 2,893 | C# |
using Microsoft.AspNetCore.Mvc;
namespace AddressAnalyzer.Rdap.Api.Controllers
{
[ControllerName("Heartbeat")]
[ApiVersion("1")]
[Route("api/v{version:apiVersion}/[controller]")]
public class HeartbeatV1Controller : Controller
{
[HttpGet]
public string Get()
{
r... | 22.764706 | 61 | 0.627907 | [
"MIT"
] | JacobHeater/address-analyzer | AddressAnalyzer.Rdap.Api/Controllers/HeartbeatV1Controller.cs | 389 | C# |
using System;
using System.IO;
using System.Reflection;
using System.Web.Hosting;
using App.Metrics;
using App.Metrics.Extensions.Reporting.InfluxDB;
using App.Metrics.Extensions.Reporting.InfluxDB.Client;
using App.Metrics.Extensions.Reporting.TextFile;
using App.Metrics.Reporting.Abstractions;
using App.Metrics.Repo... | 38.10101 | 129 | 0.573701 | [
"Apache-2.0"
] | AppMetrics/AppMetrics.Samples | src/Web.Mvc.Net452/Startup.cs | 3,774 | C# |
namespace TypewiseAlert
{
class HiActiveCooling : ICoolingType
{
public int LowerLimit { get { return 0; } }
public int UpperLimit { get { return 45; } }
}
}
| 20.666667 | 52 | 0.607527 | [
"MIT"
] | clean-code-craft-tcq-1/add-variety-cs-RaghavendraSR06 | TypewiseAlert/HiActiveCooling.cs | 186 | C# |
using UnityEngine;
using System.Collections;
public class ldaFollowBehaviour : MonoBehaviour {
public enum DeactivationEnum
{
Deactivate,
DestroyAfterCollision,
DestroyAfterTime,
Nothing
};
public enum ldaFollowEndModeEnum
{
OnTimeMustDone=1,//时间必达
... | 31.262136 | 152 | 0.595238 | [
"Apache-2.0"
] | maoa3/meteor_original_ios | Assets/Script/Control/ldaFollowBehaviour.cs | 10,150 | C# |
using System.Threading.Tasks;
using Funcky.Extensions;
using Funcky.Xunit;
using Xunit;
using static Funcky.Functional;
using static Funcky.Test.Extensions.AsyncEnumerableExtensions.TestData;
namespace Funcky.Test.Extensions.AsyncEnumerableExtensions
{
public sealed class LastOrNoneTest
{
[Fact]
... | 30.333333 | 99 | 0.67033 | [
"Apache-2.0",
"MIT"
] | csillikd-messerli/funcky | Funcky.Test/Extensions/AsyncEnumerableExtensions/LastOrNoneTest.cs | 1,456 | 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.
// </auto-generated>
namespace Microsoft.Azure.Management.PrivateDns.Fluent
... | 30.629213 | 78 | 0.597946 | [
"MIT"
] | Azure/azure-libraries-for-net | src/ResourceManagement/PrivateDns/Generated/IPrivateDnsManagementClient.cs | 2,726 | C# |
using Orchard.ContentManagement.Records;
using System.ComponentModel.DataAnnotations;
namespace Orchard.Autoroute.Models {
public class AutoroutePartRecord : ContentPartVersionRecord {
public virtual bool UseCustomPattern { get; set; }
public virtual bool UseCulturePattern { get; set; }
... | 29.333333 | 66 | 0.657197 | [
"BSD-3-Clause"
] | Lombiq/Associativy | src/Orchard.Web/Modules/Orchard.Autoroute/Models/AutoroutePartRecord.cs | 530 | C# |
using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.GarmentShipping.GarmentPackingList;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Com.Danliris.Service.Packing.Inventory.Test.Services.GarmentShipping.GarmentPackingList
{
public ... | 30.45 | 108 | 0.587849 | [
"MIT"
] | AndreaZain/com-danliris-service-packing-inventory | src/Com.Danliris.Service.Packing.Inventory.Test/Services/GarmentShipping/GarmentPackingList/GarmentPackingListDraftValidationTest.cs | 1,220 | C# |
namespace GiveCRM.ImportExport
{
public enum ExcelFileType
{
XLS,
XLSX
}
} | 13.625 | 31 | 0.53211 | [
"MIT"
] | GiveCampUK/GiveCRM | src/GiveCRM.ImportExport/GiveCRM.ImportExport/ExcelFileType.cs | 109 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Text.Json.Serialization.Tests
{
public static ... | 43.794038 | 332 | 0.632426 | [
"MIT"
] | AArnott/runtime | src/libraries/System.Text.Json/tests/Serialization/CustomConverterTests.BadConverters.cs | 16,162 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Substrate.Nbt;
namespace Substrate.Entities
{
public class EntityAnimal : EntityMob
{
public static readonly SchemaNodeCompound AnimalSchema = MobSchema.MergeInto(new SchemaNodeCompound("")
{
new SchemaNodeSca... | 23.56383 | 111 | 0.526411 | [
"MIT"
] | Cable89/Substrate | SubstrateCS/Source/Entities/EntityAnimal.cs | 2,217 | 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.
using System;
using System.Linq;
using System.Collections.Generic;
namespace Roslynator.CSharp.Refactorings.Test
{
internal static class CallExtensionMet... | 40.321429 | 160 | 0.715678 | [
"Apache-2.0"
] | TechnoridersForks/Roslynator | source/Test/RefactoringsTest/CallExtensionMethodAsInstanceMethodRefactoring.cs | 1,131 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms.Controls.GalleryPages;
using Xamarin.Forms.Controls.GalleryPages.CollectionViewGalleries;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
using Xamarin.Forms.PlatformConfiguration;
... | 39.829787 | 144 | 0.704265 | [
"MIT"
] | PawKanarek/Xamarin.Forms | Xamarin.Forms.Controls/CoreGallery.cs | 24,338 | C# |
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Sekhmet.Serialization.XmlSerializerSupport.Test.Dummies
{
public class FooWithNonNestedListAndProperty
{
[XmlElement("Bar")]
public List<SimpleBar> Bars { get; set; }
[XmlElement("Bar2")]
public SimpleB... | 24.857143 | 65 | 0.683908 | [
"MIT"
] | kimbirkelund/SekhmetSerialization | trunk/src/Sekhmet.Serialization.XmlSerializerSupport.Test/Dummies/FooWithNonNestedListAndProperty.cs | 348 | C# |
using System.Linq;
using Application.Storage.Interfaces.ReadModels;
using Common;
using Domain.Interfaces.Entities;
using QueryAny;
namespace Storage.ReadModels
{
public sealed class ReadModelCheckpointStore : IReadModelCheckpointStore
{
public const long StartingCheckpointPosition = 1;
privat... | 37.876712 | 111 | 0.61953 | [
"Apache-2.0"
] | jezzsantos/queryany | samples/ri/Storage.ReadModels/ReadModelCheckpointStore.cs | 2,767 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 41.808201 | 157 | 0.462809 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-NET-5.470 | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/AccurateText/AccurateText.cs | 31,610 | C# |
#pragma warning disable 1587
/**
* Copyright 2019-2020 Wingify Software Pvt. Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | 50.523364 | 184 | 0.640215 | [
"Apache-2.0"
] | decabits/vwo-dotnet-sdk | VWOSdk/Logger/Messages/LogDebugMessage.cs | 5,408 | C# |
using Castle.DynamicProxy;
namespace Coldairarrow.Util
{
/// <summary>
/// 过滤器
/// </summary>
public interface IFilter
{
/// <summary>
/// 执行前
/// </summary>
/// <param name="invocation">执行信息</param>
void OnActionExecuting(IInvocation invocation);
/... | 21.086957 | 55 | 0.536082 | [
"MIT"
] | 2644783865/Colder.Admin.AntdVue | src/Coldairarrow.Util/DI/IFilter.cs | 521 | C# |
namespace Roslin.Msg.view_controller_msgs
{
[MsgInfo("view_controller_msgs/CameraPlacement", "38be6efe15caa86e2c835dd05ab88393", @"# The interpolation mode to use during this step
uint8 interpolation_mode
uint8 LINEAR = 0 # Positions will be linearly interpolated
uint8 SPHERICAL = 1 # Position and orientation wi... | 31.693431 | 140 | 0.630355 | [
"MIT"
] | MoeLang/Roslin | Msg/GenMsgs/view_controller_msgs/CameraPlacement.cs | 4,342 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Singulink.Enums.Tests
{
[TestClass]
public class EnumParsingTests
{
[TestMethod]
public new void ToString()
{
v... | 31.033333 | 118 | 0.540279 | [
"MIT"
] | Singulink/Singulink.Enums | Source/Singulink.Enums.Tests/EnumParsingTests.cs | 2,795 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Knowdes
{
public class ContentSpecificButton : MonoBehaviour
{
[SerializeField]
private Transform _base;
public Transform Base => _base;
}
} | 20.538462 | 54 | 0.700375 | [
"MIT"
] | BlackLambert/knowdes | Knowdes Project/Assets/Scripts/Entry/ContentSpecificButton.cs | 269 | C# |
using UnityEngine;
/////////////////////////////////////////////////////////////////////////////////////////
//
// Name: AudioManager
// Author: David Floyd
// Date: 23-10-2016
//
// Brief: Manages Sound effects individually , offers balancing of volume
//
/////////////////////////////////////////////////////////... | 23.581081 | 90 | 0.633811 | [
"MIT"
] | Darker1300/GameJam_May_2017 | src/GameJam/Assets/AudioManager.cs | 3,492 | C# |
using System;
using System.Collections.Generic;
namespace Sample.CountingBits{
public class countingBits{
public static int naive(int n){
return n;
}
}
}
| 17.363636 | 39 | 0.633508 | [
"MIT"
] | zcemycl/algoTest | cs/sample/Sample/CountingBits/CountingBits.cs | 191 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using NUnit.Framework;
using QuestPDF.Drawing;
using QuestPDF.Examples.Engine;
using QuestPDF.Fluent;
using QuestPDF.Helpers;
using QuestPDF.Infrastructure;
using IContainer =... | 41.062 | 131 | 0.368418 | [
"MIT"
] | B-wareBS/QuestPDF | QuestPDF.Examples/TableExamples.cs | 20,536 | 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 Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Search.Suggesters
... | 25.461538 | 76 | 0.6143 | [
"Apache-2.0"
] | magaum/elasticsearch-net | tests/Examples/Search/Suggesters/MiscPage.cs | 993 | C# |
using System;
using Cli.Exceptions;
using Microsoft.Extensions.Logging;
using Reservation.Domain.Exceptions;
namespace Cli.Applications
{
public abstract class BaseApplication : IApplication
{
protected readonly ILogger<IApplication> Logger;
protected BaseApplication(ILogger<IApplication> log... | 22.5 | 63 | 0.454902 | [
"MIT"
] | shibatea/ModelingKai-Reservation | Presentations/Cli/Applications/BaseApplication.cs | 1,732 | C# |
using System.Linq;
using Xunit;
namespace Kiota.Builder.Tests {
public static class AssertExtensions {
public static void CurlyBracesAreClosed(string generatedCode) {
if(!string.IsNullOrEmpty(generatedCode))
Assert.Equal(generatedCode.Count(x => x == '}'), generatedCode.Count(x ... | 29.416667 | 101 | 0.634561 | [
"MIT"
] | PureKrome/kiota | tests/Kiota.Builder.Tests/AssertExtensions.cs | 353 | C# |
using ShellScript.Core.Language.Library;
using ShellScript.Core.Language.Library.Core.Math;
namespace ShellScript.Unix.Bash.Api.ClassLibrary.Core.Math
{
public partial class BashMath : ApiMath
{
public override IApiFunc[] Functions { get; } =
{
new BashAbs(),
//new Shell... | 32.625 | 112 | 0.637931 | [
"MIT"
] | amkherad/ShellScript | ShellScript/Unix/Bash/Api/ClassLibrary/Core/Math/BashMath.cs | 522 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reactive;
namespace Octokit.Reactive
{
public interface IObservableRepositoriesClient
{
/// <summary>
/// Creates a new repository for the current user.
/// </summary>
/// <param name="newRepository">A <see cref=... | 50.189415 | 146 | 0.622489 | [
"MIT"
] | hahmed/octokit.net | Octokit.Reactive/Clients/IObservableRepositoriesClient.cs | 18,020 | C# |
using Flamingo.Attributes.Filters.Messages;
using Flamingo.Fishes.Advanced.InComingHandlers;
using Flamingo.Fishes.Awaitables.FillFormHelper;
using Flamingo.Fishes.Awaitables.FillFormHelper.FromDataChecks;
using Flamingo.Helpers.Types.Enums;
using System;
using System.Text.RegularExpressions;
using System.Threading.Ta... | 35.425926 | 91 | 0.595661 | [
"Apache-2.0"
] | immmdreza/FlamingoFramework | FlamingoProduction/InComings/Messages/MyAdvMessageInComing.cs | 3,828 | C# |
using MovingCastles.GameSystems.Spells;
using System.Collections.Generic;
namespace MovingCastles.Components
{
public interface ISpellCastingComponent
{
List<SpellTemplate> Spells { get; }
}
} | 21.4 | 43 | 0.742991 | [
"MIT"
] | AnotherEpigone/moving-castles | MovingCastles/Components/ISpellCastingComponent.cs | 216 | C# |
using UnityEngine;
using System.Collections;
public class PreciseTurnOnSpot : MonoBehaviour {
protected Animator animator;
float targetTurn = 90;
bool doTurn = false;
Quaternion targetRotation;
void Start()
{
animator = GetComponent<Animator>();
}
void OnGUI()
{
GUILayout.Label("Simple example to g... | 26.416667 | 181 | 0.724921 | [
"MIT"
] | Altoid76/Unity3DTraining | MacanimSystem/Macanim_Training/Assets/Scripts/PreciseTurnOnSpot.cs | 1,585 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependency... | 27.836364 | 106 | 0.636185 | [
"MIT"
] | PacktPublishing/Software-Architecture-for-Busy-Developers | Chapter07/microservices/OrderService/Startup.cs | 1,531 | C# |
using FastSQL.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FastSQL.Magento2.Integration.Mappers
{
public class ParentCategoryMapperOptionManager : BaseOptionManager
{
public override IEnumerable<OptionIte... | 23.388889 | 71 | 0.688836 | [
"MIT"
] | st2forget/fastSQL | src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/ParentCategoryMapperOptionManager.cs | 423 | C# |
using System.Collections.Generic;
using System.Linq;
namespace CoPeg
{
public abstract class Input<T> : IInput<T>
{
private readonly List<T> elements;
public Input(IEnumerable<T> elements)
{
this.elements = elements.ToList();
}
public ISequence<T> First =>... | 23.27027 | 64 | 0.524971 | [
"MIT"
] | knutjelitto/CoTy | CoPeg/Input.cs | 863 | C# |
using Terraria;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace MagicStorageExtra.Items
{
public class UpgradeHallowed : StorageItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Hallowed Storage Upgrade");
DisplayName.AddTranslation(GameCulture.R... | 43.480769 | 180 | 0.762052 | [
"MIT"
] | ExterminatorX99/MagicStorage | Items/UpgradeHallowed.cs | 2,436 | C# |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using AccelByte.Sdk.Api.Legal.Model;
using AccelByte.Sdk.Api.Legal.Operation;
using Accel... | 29.571429 | 93 | 0.68599 | [
"MIT"
] | AccelByte/accelbyte-csharp-sdk | AccelByte.Sdk/Api/Legal/Wrapper/Anonymization_OpExts.cs | 828 | C# |
using DinoCat;
using DinoCat.Elements;
using DinoCat.Wpf;
using System;
using static DinoCat.Elements.Factories;
using static DinoCat.Wpf.System.Windows.Controls.Factories;
using static Interop.Wpf.Factories;
namespace Interop.Wpf
{
[ToWpfType("Interop.Wpf.DinoControlWrapper")]
class DinoControl : DinoCat.Ele... | 32.823529 | 90 | 0.569892 | [
"MIT"
] | maxbrister/DinoCat | examples/Interop.Wpf/DinoControl.cs | 1,126 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkservice_group_1_0.Models
{
public class TransferTicketResponse : TeaModel {
[NameInMap("headers")]
[Validation(Required=true)]
... | 20.526316 | 63 | 0.705128 | [
"Apache-2.0"
] | aliyun/dingtalk-sdk | dingtalk/csharp/core/service_group_1_0/Models/TransferTicketResponse.cs | 390 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using WebApi.Data;
namespace WebApi.Da... | 33.748466 | 125 | 0.475368 | [
"MIT"
] | pirocorp/ASP.NET-Core | Workshops/WebApi/Data/WebApi.Data/Migrations/20200731162537_AddTableArticles.Designer.cs | 11,004 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> This activity is used for iterating over a ... | 47.380282 | 365 | 0.627229 | [
"MIT"
] | AzureDataBox/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/ForEachActivity.cs | 3,364 | 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.638298 | 122 | 0.614583 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20190701/Inputs/P2SVpnServerConfigVpnClientRootCertificateArgs.cs | 1,440 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace AppMvc.Net.Migrations
{
public partial class AddProduct : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Product",
columns: ta... | 40.327273 | 111 | 0.506763 | [
"MIT"
] | LucasTran-tq/Business-Management-AspNet | Migrations/20211203100732_AddProduct.cs | 2,220 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
/// <summary>
/// OapiSnsVerifyMobileResponse.
/// </summary>
public class OapiSnsVerifyMobileResponse : DingTalkResponse
{
/// <summary>
/// errcode
... | 21 | 63 | 0.541126 | [
"MIT"
] | lee890720/YiShaAdmin | YiSha.Util/YsSha.Dingtalk/DingTalk/Response/OapiSnsVerifyMobileResponse.cs | 693 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GeneratorScript : MonoBehaviour {
public GameObject[] salas;
public List<GameObject> salasAtuais;
private float screenWidthInPoints;
public GameObject[] availableObjects;
public List<GameObject> objects;
public fl... | 28.378151 | 93 | 0.711578 | [
"MIT"
] | rlMaica/santa-jetpack | Assets/Scripts/GeneratorScript.cs | 3,379 | C# |
using ServiceStack.Common.Net30;
using ServiceStack.Redis;
using Snake.Core.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snake.Core.Redis
{
public class CacheFactory
{
//private const int REDIS_DB1 = 1;
pri... | 35.37963 | 208 | 0.500131 | [
"Apache-2.0"
] | yepeng2002/Snake | src/Snake.Core/Redis/CacheFactory.cs | 3,873 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eqstra.BusinessLogic.Enums
{
public enum VehicleTypeEnum
{
Commercial,
Passenger,
Trailer
}
}
| 16.125 | 36 | 0.693798 | [
"MIT"
] | pithline/FMS | Pithline.FMS.BusinessLogic/Enums/VehicleTypeEnum.cs | 260 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("04.... | 37.621622 | 84 | 0.746408 | [
"MIT"
] | rdineva/Programming-Fundamentals | DictionariesLambdaAndLINQ-Exercises/04.FixEmails/Properties/AssemblyInfo.cs | 1,395 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Nucleus.Gaming.Interop {
public class Win32API {
[DllImport("ntdll.dll")]
public static extern int NtQueryObject(IntPtr ObjectHandle, int
... | 43.298851 | 154 | 0.600544 | [
"MIT"
] | jackxriot/nucleuscoop | Master/Nucleus.Gaming/Platform/Windows/Interop/Win32Api.cs | 15,070 | C# |
namespace Binance.Spot.SubAccountExamples
{
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Binance.Common;
using Binance.Spot;
using Binance.Spot.Models;
using Microsoft.Extensions.Logging;
public class QuerySubaccountSpotAssetsSummary_Exa... | 32.121212 | 100 | 0.65283 | [
"MIT"
] | binance/binance-connector-dotnet | Examples/CSharp/SubAccount/QuerySubaccountSpotAssetsSummary_Example.cs | 1,060 | 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("12... | 37.702703 | 84 | 0.743369 | [
"MIT"
] | ztodorova/Telerik-Academy | C#-part2/StringsAndTextProcessing/12.ParseURL/Properties/AssemblyInfo.cs | 1,398 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MLIDS.lib.DAL;
using System;
using System.IO;
using System.Threading.Tasks;
namespace MLIDS.UnitTests.lib.ML
{
[TestClass]
public class Trainer
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public async... | 25.785714 | 122 | 0.660665 | [
"MIT"
] | jcapellman/jcIDS | src/MLIDS.UnitTests/lib/ML/Trainer.cs | 724 | C# |
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* ... | 37.357914 | 154 | 0.573588 | [
"BSD-3-Clause"
] | Krypton-Suite/standard-toolkit | Source/Krypton Components/Krypton.Ribbon/View Draw/ViewDrawRibbonGroupClusterButton.cs | 20,774 | C# |
using Microsoft.Owin;
using KnowledgeCenter.Web.AppStart;
[assembly: OwinStartup(typeof(Startup))]
namespace KnowledgeCenter.Web.AppStart
{
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using Owin;
/// <summary>
/// Owin Startup
/// </summary>
public partial ... | 22.886364 | 57 | 0.600794 | [
"MIT"
] | Socres/KnowledgeCenter | src/Presentation/KnowledgeCenter.Web/AppStart/Startup.cs | 1,009 | C# |
using Microsoft.Azure.Commands.WebApps.Models;
using Microsoft.Azure.Commands.WebApps.Utilities;
using Microsoft.Azure.Management.WebSites.Models;
using System.Management.Automation;
namespace Microsoft.Azure.Commands.WebApps
{
// For some cmdlets, the slot is optional, but will be used if specified.
... | 44.627119 | 122 | 0.597417 | [
"MIT"
] | FosterMichelle/azure-powershell | src/ResourceManager/Websites/Commands.Websites/Models.WebApp/WebAppOptionalSlotBaseCmdlet.cs | 2,577 | C# |
/*************************************************************************************
Extended WPF Toolkit
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 http://wpftoolkit.codeplex.com/license
... | 32.146667 | 139 | 0.649938 | [
"MIT"
] | BenInCOSprings/WpfDockingWindowsApplicationTemplate | wpftoolkit-110921/Main/Source/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/(Generator)/VisibilityChangedEventManager.cs | 2,413 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Shopping.Aggregator.Models
{
public class BasketModel
{
public string UserName { get; set; }
public List<BasketItemExtendedModel> Items { get; set; } = new List<BasketItemExtendedModel>(... | 22.066667 | 103 | 0.70997 | [
"MIT"
] | Azilen/gRPC-API-Performance-Improvement | src/ApiGateways/Shopping.Aggregator/Models/BasketModel.cs | 333 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
public class BombNumbers
{
public static void Main()
{
List<int> numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
List<int> bombAndPower = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
in... | 24.723404 | 90 | 0.44062 | [
"MIT"
] | yani-valeva/Programming-Fundamentals | Lists/BombNumbers/BombNumbers.cs | 1,164 | C# |
using UnityEngine;
[CreateAssetMenu(fileName = "Inventory Item", menuName = "Fire Over the Horizon/Inventory Item")]
public class InventoryItem : ScriptableObject {
public Sprite sprite;
} | 32.166667 | 97 | 0.772021 | [
"MIT"
] | alexismorin/rooms | Assets/Scripts/Player/InventoryItem.cs | 193 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AGame.Src.OGL {
class GLObject {
public int ID;
public virtual void Delete() {
throw new NotImplementedException();
}
public virtual void Bind() {
throw new NotImplementedExce... | 16.896552 | 39 | 0.687755 | [
"MIT"
] | cartman300/AGame | AGame/Src/OGL/GLObject.cs | 492 | C# |
using System.Collections.Generic;
using Xunit;
using Plivo.Http;
using Plivo.Resource;
using Plivo.Resource.Recording;
using Plivo.Utilities;
namespace Plivo.NetCore.Test.Resources
{
public class TestRecording : BaseTestCase
{
[Fact]
public void TestRecordingList()
{
var dat... | 27.44898 | 73 | 0.428253 | [
"MIT"
] | huzaif-plivo/plivo-dotnet | tests_netcore/Plivo.NetCore.Test/Resources/TestRecording.cs | 2,690 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nix.Store.Client.Sections
{
public enum LoaderType
{
Manual,
XmlFile,
RemoteWeb
}
}
| 15.466667 | 36 | 0.616379 | [
"MIT"
] | NixCody/Nix.Storage | Nix.Store.Client/Sections/LoaderType.cs | 234 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Collections.Classes
{
public class Card
{
//card properties
public Suit CardSuit { get; set; }
public CardValue Value { get; set; }
public Suit suit { get; set; }
//card constructor
... | 18.307692 | 52 | 0.42437 | [
"MIT"
] | dezteague/LAB07-COLLECTIONS | Collections/Collections/Classes/Card.cs | 954 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Functions for matching file names with patterns.</summary>
//-----... | 44.880814 | 208 | 0.53177 | [
"MIT"
] | azurechamp/msbuild | src/Shared/FileMatcher.cs | 77,197 | C# |
using Pathfinding.RVO;
using UnityEditor;
namespace Pathfinding
{
[CustomEditor(typeof(RVOSquareObstacle))]
[CanEditMultipleObjects]
public class RVOSquareObstacleEditor : Editor
{
public override void OnInspectorGUI()
{
DrawDefaultInspector();
}
}
}
| 19.25 | 49 | 0.662338 | [
"MIT"
] | baidenx7/Elebris-Adventures | Assets/AstarPathfindingProject/Editor/RVOSquareObstacleEditor.cs | 308 | C# |
using Cosmos.Logging.Events;
namespace Cosmos.Logging.Sinks.NLog.Internals {
internal static class LogLevelSwitcher {
public static global::NLog.LogLevel Switch(LogEventLevel level) {
switch (level) {
case LogEventLevel.Verbose:
return global::NLog.LogLevel.... | 39.538462 | 73 | 0.544747 | [
"Apache-2.0"
] | CosmosLoops/Cosmos | src/Cosmos.Logging.Sinks.NLog/Cosmos/Logging/Sinks/NLog/Internals/LogLevelSwitcher.cs | 1,030 | C# |
using Sce.Atf;
namespace Razix
{
public static class RZCEResources
{
/* Razix logo 32x32 icon */
[ImageResource("RazixCodeEditorLogo.ico")]
public static readonly string RazixCodeEditorLogo;
[ImageResource("RazixAtf.ico")]
public static readonly string RazixAtf;
... | 23 | 67 | 0.634387 | [
"Apache-2.0"
] | Pikachuxxxx/RazixCodeEditor | src/RZCEResources.cs | 506 | 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;
namespace Microsoft.Diagnostics.Runtime
{
/// <summary>
/// Represents an instance of a type... | 41.670807 | 117 | 0.600388 | [
"MIT"
] | Bhaskers-Blu-Org2/clrmd | src/Microsoft.Diagnostics.Runtime/src/Common/ClrValueType.cs | 6,711 | 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.44186 | 85 | 0.486092 | [
"MIT"
] | ademilua/WarCardGame | Default.aspx.designer.cs | 1,440 | C# |
using Javeriana.Pica.ApplicationCore.Entities;
namespace Javeriana.Pica.UnitTests.Builders
{
public class AddressBuilder
{
private Address _address;
public string TestStreet => "123 Main St.";
public string TestCity => "Kent";
public string TestState => "OH";
public str... | 26.344828 | 94 | 0.585079 | [
"MIT"
] | andresalarconfranco/talleres | tests/UnitTests/Builders/AddressBuilder.cs | 766 | 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/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syste... | 36.25 | 145 | 0.705329 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | tests/Interop/Windows/Windows/um/SyncMgr/SyncMgrFolderTests.cs | 1,597 | 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... | 40.492701 | 152 | 0.62393 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/EKS/Generated/ServiceEnumerations.cs | 44,380 | C# |
namespace SkbKontur.EdiApi.Client.Types.Connectors
{
/// <summary>Информация о доступных пользователю ящиках коннекторов</summary>
public class ConnectorBoxesInfo
{
/// <summary>Список доступных ящиков коннекторов</summary>
public ConnectorBoxInfo[] ConnectorBoxes { get; set; }
}
} | 35 | 81 | 0.714286 | [
"MIT"
] | skbkontur/edi-api | EdiApi.Client/Types/Connectors/ConnectorBoxesInfo.cs | 398 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.