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 |
|---|---|---|---|---|---|---|---|---|
namespace CloverExamplePOS.UIDialogs
{
partial class PropertiesDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... | 42.590361 | 161 | 0.592645 | [
"Apache-2.0"
] | MaxNau/remote-pay-windows | examples/CloverExamplePOS/UIDialogs/PropertiesDialog.Designer.cs | 3,537 | C# |
using System;
namespace Events
{
class Program
{
static void Main(string[] args)
{
Cat cat = new Cat
{
Id = 1,
Health = 100,
Name = "My cool cat"
};
cat.Health += 100;
cat.OnHealthChan... | 24.62 | 124 | 0.4671 | [
"MIT"
] | NaskoVasilev/CSharp-In-Depth | Delegates/Events/Program.cs | 1,233 | C# |
// <auto-generated />
using System;
using JobFinder.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace JobFin... | 37.286713 | 125 | 0.463522 | [
"MIT"
] | IvayloNikolov36/JobFinder | JobFinder.Data/Migrations/20191222222429_Initial.Designer.cs | 10,666 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.Messaging.EventGrid.Models
{
/// <summary> Pr... | 58.02963 | 262 | 0.649732 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/CloudEventInternal.cs | 7,834 | C# |
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using NakedBank.Application.Repositories;
using NakedBank.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NakedBank.Infrastructure.Repositories
{
public class AccountRepository : IAccountRepos... | 34.853211 | 113 | 0.545933 | [
"MIT"
] | cobalto/nakedbank | NakedBank.Infrastructure/Repositories/AccountRepository.cs | 3,801 | C# |
using System.ComponentModel;
namespace SPACore.PhoneBook.PhoneBooks.PhoneNumbers
{
/// <summary>
/// 电话号码类型
/// </summary>
public enum PhoneNumberType
{
/// <summary>
/// 移动电话
/// </summary>
[Description("移动电话")]
Mobile=1,
/// <summary>
/// 家... | 17.194444 | 51 | 0.429725 | [
"MIT"
] | 52ABP/SPA.PhoneBook | src/aspnet-core/src/SPACore.PhoneBook.Core/PhoneBooks/PhoneNumbers/PhoneNumberType.cs | 673 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Wind... | 38.927007 | 127 | 0.598162 | [
"MIT"
] | AsimKhan2019/MVVM-Helpers | MvvmHelpers.Portable/Test/Test.Metro/Test.Metro.Shared/App.xaml.cs | 5,335 | C# |
using System.Collections.Generic;
using Orchard.ContentManagement;
namespace Codesanook.CultureSwitcher.Models {
public class CultureSwitcherPart : ContentPart {
public string CurrentCulture { get; set; }
public IReadOnlyCollection<string> SupportedCultures { get; set; }
}
} | 34.333333 | 75 | 0.728155 | [
"MIT"
] | codesanook/Codesanook.CultureSwitcher | Models/CultureSwitcherPart.cs | 311 | 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... | 36.691589 | 226 | 0.598574 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20190801/Inputs/ApplicationGatewayProbeArgs.cs | 3,926 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Proxy.ActualObjects;
namespace Proxy.Proxy
{
public class ProxyCar : ICar
{
private Driver driver;
private ICar realCar;
public ProxyCar(Driver driver)
{
this.driver = driver;
this... | 20.821429 | 78 | 0.543739 | [
"MIT"
] | HamidMosalla/CSharpDesignPatterns | Proxy/Proxy/ProxyCar.cs | 585 | C# |
// *******************************************************************************
// <copyright file="EnumerableToCsvConverterTests.cs" company="Intuit">
// Copyright (c) 2019 Intuit
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licens... | 37.782051 | 123 | 0.632847 | [
"Apache-2.0"
] | lisashort/TSheets-V1-DotNET-SDK | Intuit.TSheets.Tests/Unit/Client/Serialization/Converters/EnumerableToCsvConverterTests.cs | 2,949 | C# |
using System.Collections.Generic;
using System.Linq;
using Abp.Localization;
using Microsoft.EntityFrameworkCore;
namespace Library.EntityFrameworkCore.Seed.Host
{
public class DefaultLanguagesCreator
{
public static List<ApplicationLanguage> InitialLanguages => GetInitialLanguages();
private... | 35.377049 | 125 | 0.592215 | [
"BSD-3-Clause"
] | Liu233w/Library | src/Library.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs | 2,187 | C# |
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
namespace UnityEditor.Rendering.PostProcessing
{
[CustomEditor(typeof(PostProcessDebug))]
sealed class PostProcessDebugEditor : BaseEditor<PostProcessDebug>
{
SerializedProperty m_PostProcessLayer;
SerializedProperty m_LightMete... | 42.76259 | 156 | 0.651581 | [
"MIT"
] | AcquaWh/MuseoLeapmotion | Library/PackageCache/com.unity.postprocessing@2.1.4/PostProcessing/Editor/PostProcessDebugEditor.cs | 5,944 | C# |
using Luval.DataStore.Extensions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Luval.DataStore.Database
{
/// <summary>
/// Provides an implementation of Sql command formatter... | 30 | 126 | 0.45 | [
"MIT"
] | marinoscar/Luval-DataStore | src/Luval.DataStore/Database/SqlFormatter.cs | 5,282 | C# |
namespace SystemMonitor.Application.Devices
{
// https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-printer
public enum ExtendedPrinterStatusType
{
Undefined = 0,
Other = 1,
Unknown = 2,
Idle = 3,
Printing = 4,
WarmingUp = 5,
StoppedPri... | 23.037037 | 80 | 0.527331 | [
"MIT"
] | omahost/SystemMonitor | SystemMonitor.Application/Devices/WMI/Printer/Enum/ExtendedPrinterStatusType.cs | 624 | 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("05.... | 38 | 84 | 0.744666 | [
"MIT"
] | svetlimladenov/C-Sharp-Advanced---2016 | 08.Built-in Query methods - LINQ/05. Min Even Number/Properties/AssemblyInfo.cs | 1,409 | C# |
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Specification.Source;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Hl7.Fhir.Serialization.Tests
{
[TestClass]
public class StructureDefinitionSerializationInfoTests
{
[ClassInitialize]
public static... | 40.461538 | 166 | 0.762357 | [
"BSD-3-Clause"
] | CASPA-Care/caspa-fhir-net-api | src/Hl7.Fhir.Specification.Tests/StructureDefinitionSerializationInfoTests.cs | 1,580 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BusinessLayer.DataTransferObjects;
using BusinessLayer.DataTransferObjects.Filters;
using BusinessLayer.QueryObjects;
using BusinessLayerTesting.QueryObjectsTests.Common;
using EntityDatabase;
using NUnit.Framework;
using NUnit.Framewor... | 47.535714 | 123 | 0.684197 | [
"MIT"
] | mhamern/SocialNetwork-WhatCanIWearTonight | WCIWT/BusinessLayerTesting/QueryObjectsTests/VoteQueryObjectTest.cs | 3,993 | C# |
using System;
using Fluid;
using Fluid.Values;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Linq;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.Data.Migration;
using OrchardCore.DisplayManagement.Descriptors;
using OrchardCore... | 40.487805 | 103 | 0.683434 | [
"BSD-3-Clause"
] | cocoke/OrchardCore | src/OrchardCore.Modules/OrchardCore.Liquid/Startup.cs | 3,320 | 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... | 26.5125 | 101 | 0.593116 | [
"Apache-2.0"
] | akdor1154/aws-sdk-net | sdk/src/Services/KeyManagementService/Generated/AmazonKeyManagementServiceConfig.cs | 2,121 | C# |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Eventfully.Handlers;
using Eventfully.Outboxing;
namespace Eventfully
{
public static class Depen... | 39.064516 | 118 | 0.614919 | [
"MIT"
] | cfrenzel/Eventfully | src/Eventfully.MicrosoftDependencyInjection/Extensions.cs | 3,635 | 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("Pa... | 37.972973 | 84 | 0.746619 | [
"MIT"
] | Omarmtz/PatternsDesignCSharp | PatternsLearning/Properties/AssemblyInfo.cs | 1,408 | C# |
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
using Microsoft.Pr... | 40.02 | 107 | 0.663668 | [
"Apache-2.0"
] | narasimhandl/Prism-HelloWorld | ReferenceImplementation/AdventureWorks.Shopper/Views/ItemDetailPage.xaml.cs | 2,001 | C# |
namespace CardPayments.Interfaces
{
using Model;
/// <summary>
/// Interface defines the methods used to process credit card payments
/// </summary>
interface ICardPaymentProvider
{
/// <summary>
/// Method initiates the card payment process
/// </summary>
/... | 30.363636 | 93 | 0.615269 | [
"Unlicense"
] | DEFRA/license-and-permitting-dynamics | Crm/Core/Defra.Lp.Core/Core.CardPayments.Api/Interfaces/ICardPaymentProvider.cs | 670 | C# |
// Code generated by 'mkerrors.bash'; DO NOT EDIT.
// package windows -- go2cs converted at 2020 October 09 06:00:59 UTC
// import "cmd/vendor/golang.org/x/sys/windows" ==> using windows = go.cmd.vendor.golang.org.x.sys.windows_package
// Original source: C:\Go\src\cmd\vendor\golang.org\x\sys\windows\zerrors_windows.g... | 93.167492 | 143 | 0.785755 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/cmd/vendor/golang.org/x/sys/windows/zerrors_windows.cs | 639,688 | C# |
using UnityEngine;
public class LifesUI : MonoBehaviour
{
#region Variaveis de controle da UI
[SerializeField]
private GameObject[] _lifes;
private static int _lifeAmount;
public static int LifeAmount { get => _lifeAmount; set => _lifeAmount = value; }
#endregion
private void Start() => _li... | 31.94 | 84 | 0.530996 | [
"MIT"
] | reegomes/Asteroids | Assets/_Scripts/LifesUI.cs | 1,599 | C# |
using System;
namespace ClientCredentialApi
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}
| 18.75 | 69 | 0.613333 | [
"MIT"
] | JontyMin/NETCore.Microservice | IdentityServerSample/ClientCredentialApi/WeatherForecast.cs | 300 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using GitHubReleaseDownloader.Test.Properties;
namespace GitHubReleaseDownloader.Test
{
public class HttpMessageHandlerMock : HttpMessageHandler
{
... | 41.06422 | 118 | 0.552279 | [
"MIT"
] | Zerglrisk/GitHub.ReleaseDownloader | src/GitHub.ReleaseDownloader.Test/HttpMessageHandlerMock.cs | 4,478 | C# |
/*******************************************************************************
* Copyright 2009-2015 Amazon Services. 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 Licens... | 30.614458 | 106 | 0.652105 | [
"BSD-3-Clause"
] | skuvault-integrations/amazonAccess | src/AmazonAccess/Services/Products/Model/SellerSKUListType.cs | 2,541 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | 37.482085 | 202 | 0.572087 | [
"Apache-2.0"
] | VishyAnand007/Lean | Common/SymbolCapacity.cs | 11,507 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
using SmartDisplay.Utils;
using SmartDisplay.ViewModels;
namespace SmartDisplay.Controls
{
public class LoadingPanelVM : BaseViewModel
{
public bool IsVisible
{
get { return GetStoredProperty<bool>(); }
... | 25.26087 | 98 | 0.590361 | [
"MIT"
] | QPC-database/Windows-IoT-Samples | samples/IoTEnterpriseDefault/CS/SmartDisplay/UIControls/LoadingPanelVM.cs | 583 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 33.645161 | 118 | 0.691275 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/LexModelsV2/Generated/Model/Internal/MarshallTransformations/DialogCodeHookSettingsMarshaller.cs | 2,086 | C# |
namespace SeguraChain_RPC_Wallet.API.Service.Packet.Object
{
public class ClassRpcApiResponsePacket
{
public string packet_content;
public bool packet_encrypted;
public long packet_timestamp;
}
}
| 24.2 | 60 | 0.690083 | [
"MIT"
] | jianmingyong/SeguraChain | SeguraChain-RPC-Wallet/API/Service/Packet/Object/ClassRpcApiResponsePacket.cs | 244 | C# |
using Handyman.AspNetCore.ETags;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Shouldly;
using System;
using System.Net;
using System.... | 44.294574 | 144 | 0.615506 | [
"MIT"
] | JonasSamuelsson/Handyman | src/Handyman.AspNetCore/tests/ETags/TestServerTests.cs | 5,716 | C# |
using System.ComponentModel.DataAnnotations;
namespace LuduStack.Domain.Core.Enums
{
public enum JobPositionDuration
{
[Display(Name = "Not Informed")]
NotInformed = 0,
[Display(Name = "Permanent")]
Permanent = 1,
[Display(Name = "Temporary")]
Temporary = 2
... | 20.3125 | 45 | 0.603077 | [
"MIT"
] | DJJones66/ludustack-code | LuduStack.Domain.Core/Enums/JobPositionDuration.cs | 327 | C# |
using System;
namespace Acceleratio.SPDG.Generator.SPModel
{
public abstract class SPDGSite : IDisposable
{
public abstract SPDGWeb OpenWeb(Guid id);
public abstract SPDGWeb RootWeb { get; }
public abstract void Dispose();
}
}
| 21.076923 | 49 | 0.653285 | [
"MIT"
] | Acceleratio/SPDG | src/Acceleratio.SPDG.Generator/SPModel/SPDGSite.cs | 276 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common
{
internal class Bk2LogEntryGenerator : ILogEntryGenerator
{
private readonly string _systemId;
private readonly IController _source;
public Bk2LogEntryGenerat... | 21.903509 | 81 | 0.586704 | [
"MIT"
] | RetroEdit/BizHawk | src/BizHawk.Client.Common/movie/bk2/Bk2LogEntryGenerator.cs | 2,499 | C# |
using LuckParser.Parser;
namespace LuckParser.Models.ParseModels
{
public class BoonApplicationLog : BoonLog
{
public BoonApplicationLog(long time, ushort srcInstid, long value) : base(time,srcInstid,value)
{
}
public override void UpdateSimulator(BoonSimulator simulator)
... | 25.3125 | 103 | 0.654321 | [
"MIT"
] | Sejsel/GW2-Elite-Insights-Parser | LuckParser/Models/ParseModels/Logs/BoonApplicationLog.cs | 407 | C# |
using UnityEditor;
using UnityEngine;
namespace Zigurous.DataStructures.Editor
{
[CustomPropertyDrawer(typeof(IntRange))]
public class IntRangePropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
EditorGUI.... | 31.347826 | 106 | 0.640083 | [
"MIT"
] | zigurous/unity-data-structures | Editor/IntRangePropertyDrawer.cs | 1,444 | C# |
using System;
using System.Web.Http;
using System.Web.Mvc;
using DemoECommerce.Areas.HelpPage.ModelDescriptions;
using DemoECommerce.Areas.HelpPage.Models;
namespace DemoECommerce.Areas.HelpPage.Controllers
{
/// <summary>
/// The controller that will handle requests for the help page.
/// </summary>
p... | 30.126984 | 115 | 0.599052 | [
"Unlicense"
] | umutcanalpak/DemoECommerce | DemoECommerce/Areas/HelpPage/Controllers/HelpController.cs | 1,898 | C# |
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace System.Collections.Pooling.Concurrent
{
public static class ConcurrentQueuePool<T>
{
private static readonly ConcurrentPool<ConcurrentQueue<T>> _pool = new ConcurrentPool<ConcurrentQueue<T>>();
public static Concu... | 23.44 | 116 | 0.507679 | [
"MIT"
] | laicasaane/unity-supplements | System.Collections.Pooling.Concurrent/Pools/ConcurrentQueuePool{T}.cs | 1,172 | C# |
using System;
namespace TestServer.Config
{
[Serializable]
public class ServerConfig
{
public string BackendUrl { get; set; } = "http://127.0.0.1:1337/";
public ServerConfig()
{
// TODO: make it load from a file or create config file if it doesn't exist.
}
... | 20.25 | 88 | 0.57716 | [
"MIT"
] | TheFuseGamer/EmuTarkov-NXT | Project/TestServer/Config/ServerConfig.cs | 326 | C# |
// 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 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | 45.319588 | 285 | 0.626403 | [
"MIT"
] | graemefoster/azure-libraries-for-net | src/ResourceManagement/Cdn/Generated/CustomDomainsOperationsExtensions.cs | 13,188 | C# |
using System;
using Perpetuum.ExportedTypes;
using Perpetuum.Units;
namespace Perpetuum.Zones.Blobs.BlobEmitters
{
public class BlobEmitterUnit : Unit,IBlobEmitter
{
private double _blobEmission;
private double _blobEmissionRadius;
private UnitDespawnHelper _despawnHelper;
pub... | 25.557692 | 90 | 0.558315 | [
"MIT"
] | LoyalServant/PerpetuumServerCore | Perpetuum/Zones/Blobs/BlobEmitters/BlobEmitterUnit.cs | 1,331 | 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... | 29.479592 | 205 | 0.58567 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/SecurityInsights/V20190101Preview/GetDataConnector.cs | 2,889 | C# |
#region License
// Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#endregion
#region Supressions
#pragma warning disable
// ReSharper disable CheckNamespace
#endregion
namespace MicroElements.Text.Base58
{
usi... | 42.105882 | 160 | 0.636491 | [
"MIT"
] | micro-elements/MicroElements.Shared | src/MicroElements.Text.Sources/MicroElements/Text/Base58.cs | 3,581 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.Design;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.Cod... | 29.955083 | 184 | 0.663562 | [
"Apache-2.0"
] | jdm7dv/Rosyln | Src/Diagnostics/FxCop/Test/Design/CA1008Tests.cs | 12,673 | C# |
namespace DependencyInjection.Registration.Collectio.Common.Services.Transient
{
internal interface ITransientService : IService
{
}
} | 22.142857 | 78 | 0.735484 | [
"MIT"
] | MatthiasDrexler/collectio | test/common/Services/Transient/ITransientService.cs | 155 | C# |
namespace Crypton.AvChat.Gui.Tabs {
partial class PrivateTab {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Component Designer generated code
/// <summary>
/// Required me... | 55.922078 | 156 | 0.653565 | [
"MIT"
] | CryptonZylog/ueravchatclient | Crypton.AvChat.Gui/Tabs/PrivateTab.Designer.cs | 17,226 | C# |
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. 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:/... | 49.318182 | 151 | 0.701229 | [
"Apache-2.0"
] | agnicore/nfx | src/NFX/Security/ISecurityManager.cs | 6,510 | C# |
using FishNet.Component.ColliderRollback;
using FishNet.Managing;
using FishNet.Managing.Client;
using FishNet.Managing.Logging;
using FishNet.Managing.Scened;
using FishNet.Managing.Server;
using FishNet.Managing.Timing;
using FishNet.Managing.Transporting;
using FishNet.Utility;
using System.Linq;
using UnityEngine;
... | 32.325301 | 223 | 0.520872 | [
"MIT"
] | Clear-Voiz/Spell | SpellDuel/Assets/FishNet/Runtime/InstanceFinder.cs | 5,366 | C# |
using System;
using Microsoft.Extensions.ObjectPool;
namespace RabbitMQ.Next.Buffers
{
internal sealed class ObjectPoolPolicy<T> : PooledObjectPolicy<T>
{
private readonly Func<T> creationPolicy;
private readonly Func<T, bool> resetPolicy;
public ObjectPoolPolicy(Func<T> creationPolicy... | 28.666667 | 82 | 0.666113 | [
"MIT"
] | sanych-sun/RabbitMQ.Next | src/RabbitMQ.Next/Buffers/ObjectPoolPolicy.cs | 602 | 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("Pa... | 38.513514 | 84 | 0.748772 | [
"MIT"
] | StephenClearyApps/NetStandardTypes | src/Functions/PackageIndexer.LocalRunner/Properties/AssemblyInfo.cs | 1,428 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Slider)), DisallowMultipleComponent]
public class HandleBallVelocity : MonoBehaviour
{
[SerializeField] CameraController _controller;
[SerializeField] Slider _slider;
// Start is c... | 25.090909 | 91 | 0.631341 | [
"MIT"
] | Regretful123/boomblox | Code/Assets/scripts/HandleBallVelocity.cs | 1,104 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SnailDev.EscPosParser
{
public class EscPosCommandWithTwoArgs : EscPosCommand
{
protected char? arg1 { get; set; }
protected char? arg2 { get; set; }
public override bool AddChar(char chr)
{
... | 21.206897 | 57 | 0.492683 | [
"MIT"
] | SnailDev/SnailDev.EscPosParser | src/SnailDev.EscPosParser/Cmd/PrintCmd/EscPosCommandWithTwoArgs.cs | 617 | C# |
using Newtonsoft.Json;
using Bitrix24RestApiClient.Core.Models.CrmAbstractEntity;
namespace Bitrix24RestApiClient.Api.Crm.Timeline.Comment.Models
{
//TODO
public class TimelineComment: IAbstractEntity
{
/// <summary>
/// Идентификатор
/// Тип: integer
/// Только для чте... | 28.515152 | 63 | 0.643996 | [
"MIT"
] | exio1989/bitrix24-csharp-sdk | Bitrix24RestApiClient/Api/Crm/Timeline/Comment/Models/TimelineComment.cs | 974 | C# |
using System;
using System.Globalization;
using Monads.Utils.Parsers;
namespace Monads.Extensions.Parsers
{
public static class ParseToIntEitherExtension
{
public static Either<TLeft, int> ParseToInt<TLeft>(this string source, TLeft left)
{
return IntParser.Parse(source, left);
... | 31.969231 | 116 | 0.585659 | [
"MIT"
] | Ja-rek/CleanMonads | Monads/Either/Extensions/Parsers/ParseToIntEitherExtension.cs | 2,078 | C# |
using Microsoft.EntityFrameworkCore;
using Starlight.Packets;
using Starlight.Server.Handlers.Core;
using Starlight.Server.Network;
using Starlight.Translations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Starlight.Server.Handlers
{
public class UseCharacterPac... | 43.264706 | 189 | 0.668933 | [
"MIT"
] | Eclipse-Origins/Starlight | src/Starlight.Server/Handlers/UseCharacterPacketHandler.cs | 1,473 | C# |
using SeventhdGuard.DAO.Base;
using SeventhdGuard.DAO.Interfaces;
using SeventhdGuard.ENTITY;
using System;
using System.Data;
namespace SeventhdGuard.DAO
{
public class ReciclarDao : BaseDao<Reciclar>, IReciclar
{
#region "Constants"
#region "Procedures"
private const string Sdg0003... | 26.096774 | 80 | 0.555418 | [
"MIT"
] | RafaelCruzSabiino/SeventhTest | SeventhdGuard.API/SeventhdGuard.DAO/ReciclarDao.cs | 2,429 | C# |
using System;
using System.Collections.Generic;
namespace UnityEngine.Rendering.PostProcessing
{
public sealed class PostProcessProfile : ScriptableObject
{
[Tooltip("A list of all settings & overrides.")]
public List<PostProcessEffectSettings> settings = new List<PostProcessEffectSetti... | 30.557377 | 100 | 0.513948 | [
"MIT"
] | Rymfire/Lord-of-the-Seas | Assets/Old Sea Port/PostProcessing/Runtime/PostProcessProfile.cs | 3,728 | C# |
// <copyright file="UnityAnimationUtilityTests.cs" company="kurotu">
// Copyright (c) kurotu.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
using System.Linq;
using NUnit.Framework;
using UnityEditor;
using UnityEditor.Animations;
us... | 38.823529 | 125 | 0.658081 | [
"MIT"
] | chigirits/VRCQuestTools | Tests/Editor/Utils/UnityAnimationUtilityTests.cs | 1,982 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace VehicleService
{
class Vehicle
{
public Vehicle(int numberOfWheels, int consumption)
{
this.NumberOfWheels = numberOfWheels;
this.Consumption = consumption;
}
public int Number... | 24.966667 | 73 | 0.619493 | [
"MIT"
] | AppsLab2019/OOP-Samples | InheritanceVehicleSample/VehicleService/ConsoleApp1/Vehicle.cs | 751 | C# |
using Grockart.STORAGE;
using System;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Xml;
/// <summary>
/// Using singleton design pattern to log the contents
/// </summary>
namespace Grockart.LOGGER
{
public class Logger
{
private static Logger logInstance = new Logger();... | 34.410072 | 139 | 0.583734 | [
"MIT"
] | DeepSingh93/Grockart | grockart/GROCKART.LOGGER/Logger.cs | 4,785 | C# |
namespace LearningSystem.Services.Data.Contracts
{
using System.Linq;
using Microsoft.AspNet.Identity.EntityFramework;
public interface IRolesService
{
IQueryable<IdentityRole> GetAllRoles();
}
} | 22.5 | 52 | 0.724444 | [
"MIT"
] | IvayloKodov/My-Projects | LearningSystem/Services/LearningSystem.Services.Data/Contracts/IRolesService.cs | 227 | C# |
using CleanArchitecture.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CleanArchitecture.Persistence.Configurations
{
public class ProductConfiguration : IEntityTypeConfiguration<Product>
{
public void Configure(EntityTypeBuilder<... | 34.12766 | 78 | 0.602868 | [
"MIT"
] | davemfletcher/CleanArchitecture | src/CleanArchitecture.Persistence/Configurations/ProductConfiguration.cs | 1,606 | 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>
//--... | 43.59375 | 179 | 0.613978 | [
"MIT"
] | Silex/mipsdk-samples-plugin | AddUserWithConfigApi/Properties/Resources.Designer.cs | 2,792 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace StandaloneApp
{
public static class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");... | 28.4 | 100 | 0.65669 | [
"MIT"
] | 2m0nd/runtime | src/installer/tests/Assets/TestProjects/StandaloneApp20/Program.cs | 568 | C# |
using System;
using System.Linq;
using System.Text;
using NumSharp;
using Tensorflow.Contrib.Learn.Estimators;
namespace Tensorflow.Framework
{
public static class tensor_shape
{
public static void assert_is_compatible_with(this Tensor self, Tensor other)
{
if (!self.is_compatible_... | 30.914286 | 113 | 0.539741 | [
"Apache-2.0"
] | Jiuyong/TensorFlow.NET | src/TensorFlowNET.Core/Framework/tensor_shape.cs | 1,084 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.AI.MetricsAdvisor.Models;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.MetricsAdvisor.Tests
{
publ... | 35.641148 | 123 | 0.605719 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/TimeSeriesLiveTests.cs | 7,451 | 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("Vj... | 38.351351 | 84 | 0.7463 | [
"Apache-2.0"
] | VinceIborra/vji | CSharp/Vji.Chess/Properties/AssemblyInfo.cs | 1,422 | C# |
using AntDeployAgentWindows.Model;
using AntDeployAgentWindows.Operation;
using AntDeployAgentWindows.Operation.OperationTypes;
using AntDeployAgentWindows.Util;
using AntDeployAgentWindows.WebApiCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
nam... | 39.514066 | 170 | 0.497799 | [
"Apache-2.0"
] | LuciferJun1227/AntDeploy | AntDeployAgentWindows/MyApp/Service/Impl/IIsPublisher.cs | 15,802 | C# |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Autofac.Core;
namespace Autofac.Test.Core;
public class KeyedServiceTests
{
[Fact]
public void KeyedServicesForTheSameName_AreEqual()
{
var key... | 28.28169 | 110 | 0.658367 | [
"MIT"
] | rcdailey/Autofac | test/Autofac.Test/Core/KeyedServiceTests.cs | 2,010 | C# |
using System;
using Elasticsearch.Net;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework;
using Tests.Framework.Integration;
namespace Tests.Modules.SnapshotAndRestore.Snapshot.DeleteSnapshot
{
public class DeleteSnapshotApiTests
: ApiTestBase<WritableCluster, IDeleteSnapshotRespons... | 38.648649 | 130 | 0.788811 | [
"Apache-2.0"
] | Henr1k80/elasticsearch-net | src/Tests/Tests/Modules/SnapshotAndRestore/Snapshot/DeleteSnapshot/DeleteSnapshotApiTests.cs | 1,432 | C# |
using UnityEngine;
using System.Collections;
public class RayDown : MonoBehaviour {
public float[] distanceDown;
// Use this for initialization
void Start () {
distanceDown = new float[transform.childCount];
}
// Update is called once per frame
void Update () {
int shoepart = 0;
foreach (Transform chi... | 20.62963 | 62 | 0.675045 | [
"MIT"
] | sivelab/TPAWT-SmartShoeCommunicationTest | Assets/RayDown.cs | 559 | C# |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 40.869565 | 142 | 0.68883 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/MetadataServiceClient.CreateExecutionRequestObjectSnippet.g.cs | 1,880 | C# |
using System;
using Prism;
using Prism.Ioc;
namespace Samples.Uwp
{
public class PlatformInitializer : IPlatformInitializer
{
public void RegisterTypes(IContainerRegistry containerRegistry)
{
}
}
}
| 15.8 | 71 | 0.679325 | [
"MIT"
] | Kritarie/bluetoothle | Samples/Samples.Uwp/PlatformInitializer.cs | 239 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2022 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file... | 29.938462 | 64 | 0.62333 | [
"Apache-2.0"
] | correaAlex/YAFNET | yafsrc/YAF.Types/Models/Tag.cs | 1,883 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SharpGfx.OpenTK
{
internal static class UnmanagedRelease
{
private static readonly Queue<Action> Queue = new Queue<Action>();
internal static void Add(Action pending)
{
Queue.Enqueue(pending);
... | 20.666667 | 74 | 0.552419 | [
"MIT"
] | philipp-kramer/SharpGfx | SharpGfx.OpenTK/UnmanagedRelease.cs | 498 | C# |
using Microsoft.Dafny.LanguageServer.Language;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using OmniSharp.Extensions.LanguageServer.Server;
namespace Microsoft.Dafny.LanguageServer.Workspace {
/// <summary>
/// Extension methods to... | 54.142857 | 142 | 0.775726 | [
"MIT"
] | DafnyVSCode/language-server-csharp | Source/DafnyLS/Workspace/LanguageServerExtensions.cs | 1,897 | C# |
// <auto-generated />
using System;
using CountyResidenceCredentialsIssuer.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.Valu... | 35.436364 | 109 | 0.601847 | [
"MIT"
] | swiss-ssi-group/MattrAspNetCoreCompoundProofBBS | src/CountyResidenceCredentialsIssuer/Migrations/20211204164905_init_countyResidence.Designer.cs | 1,951 | C# |
namespace DataShare.Tests.ScenarioTests
{
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Azure.Management.DataShare;
using Microsoft.Azure.Management.DataShare.Models;
using Microsoft.Rest.Azure;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using... | 36.323944 | 99 | 0.622722 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/datashare/Microsoft.Azure.Management.DataShare/tests/ScenarioTests/TriggerScenarioTests.cs | 2,579 | C# |
// Copyright (C) 2015 Luca Piccioni
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distri... | 35.67 | 131 | 0.690917 | [
"MIT"
] | GiantBlargg/OpenGL.Net | BindingsGen/GLSpecs/EnumerantGroup.cs | 7,134 | C# |
// -----------------------------------------------------------------------
// <copyright file="IAudioConverter.cs" company="iopietro">
// Copyright (c) iopietro. All rights reserved.
// Licensed under the MIT license.
// </copyright>
// -----------------------------------------------------------------------
namespace ... | 31.125 | 100 | 0.538554 | [
"MIT"
] | EliteSCP/VoiceChatManager | src/VoiceChatManager.Core/Audio/Capture/IAudioConverter.cs | 2,490 | C# |
namespace MyEnterpriseUWPApp
{
using MyEnterpriseUWPApp.ViewModels;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
this.ViewModel = new MainPage... | 23.846154 | 68 | 0.614516 | [
"MIT"
] | jamesmcroft/DDDNorth-2017-Demos | MyEnterpriseUWPApp/Pages/MainPage.xaml.cs | 622 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace PizzaStore.Domain.Models
{
class User
{
}
}
| 12.272727 | 34 | 0.703704 | [
"MIT"
] | AJardine9/AJ-ms | PizzaStore/PizzaStore.Domain/Models/User.cs | 137 | C# |
using NestedWorld.Classes.ElementsGame.Users;
using NestedWorld.View.BattleViews.BattleList;
using NestedWorldNotificationLib.Notifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NestedWorld.Classes.ElementsGame.Battle
{
publi... | 37.763889 | 267 | 0.542111 | [
"MIT"
] | NestedWorld/NestedWorld-Windows-10 | NestedWorld/Classes/ElementsGame/Battle/BattleRouter.cs | 5,440 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using types;
using custom_lib;
namespace reinforcement_learning
{
public enum TypeExecution
{
train, validation, test
}
public abstract class EnvironmentRL
{
public string name {get;set;}
pu... | 28.977778 | 167 | 0.594581 | [
"MIT"
] | Magody/MagodySharp | models/reinforcement_learning/EnvironmentRL.cs | 3,912 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using GooglePlacesApi.Interfaces;
namespace GooglePlacesApi.Models
{
public class GoogleApiSettings
{
public string ApiKey { get; private set; }
public string Language { get; private set; }
public PlaceTypes PlaceType... | 29.899408 | 98 | 0.520681 | [
"MIT"
] | MartijnVanAndel/GooglePlacesApi | src/GooglePlacesApi.Abstractions/Models/GoogleApiSettings.cs | 5,055 | C# |
using System;
using Exolutio.Dialogs;
using Exolutio.ResourceLibrary;
using Exolutio.Model.PSM;
using System.Linq;
using System.Collections.Generic;
using Exolutio.Controller.Commands.Complex.PSM;
using Exolutio.Controller.Commands;
using Exolutio.Controller.Commands.Atomic.PSM;
using Exolutio.Controller.Comma... | 42.722222 | 123 | 0.59974 | [
"BSD-2-Clause"
] | mff-uk/exolutio | View/Commands/PSM/guiCreateContentModelCommand.cs | 3,845 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
usi... | 43.775 | 229 | 0.735865 | [
"MIT"
] | danielortega-msft/azure-sdk-for-net | sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/LongRunningOperation/AfdOriginGroupCreateOrUpdateOperation.cs | 3,502 | C# |
#pragma warning disable 1591
using Discord;
using Sanakan.Database.Models;
using Sanakan.Services;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sanakan.Extensions
{
public static class UserExtension
{
public static bool SendAnyMsgInMonth(this User u)
=> (u.... | 37.092827 | 143 | 0.497839 | [
"MPL-2.0"
] | zsuatem/sanakan | src/Extensions/UserExtension.cs | 17,599 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace HideIt.Stego
{
public class BinaryMessage : Message, IDisposable
{
private MemoryStream _messageStream;
/// <summary>
/// Create a new binary message
/// </summary>... | 25.207317 | 87 | 0.480406 | [
"Apache-2.0"
] | cornerback/hideit | project/HideIt/Stego/BinaryMessage.cs | 2,069 | C# |
// <copyright file="UserDefinedMatrix.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// Copyright (c) 2009-2010 Math.NET
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this ... | 35.882813 | 125 | 0.599173 | [
"MIT"
] | coderIML/math.net | src/Numerics.Tests/LinearAlgebraTests/Single/UserDefinedMatrix.cs | 4,593 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 29.166667 | 101 | 0.413333 | [
"MIT"
] | javier-alvarez/fhir-server | src/Microsoft.Health.Fhir.Tests.Common/FixtureParameters/Format.cs | 527 | C# |
using System;
using System.Runtime.InteropServices;
namespace Qml.Net.Runtimes
{
internal static class Chmod
{
[DllImport("libc", SetLastError = true)]
private static extern int chmod(string pathname, int mode);
public static void Set(string pathName, int mode)
{
if... | 24.578947 | 71 | 0.573876 | [
"MIT"
] | EarsKilla/qmlnet | src/net/Qml.Net/Runtimes/Chmod.cs | 467 | C# |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq.Expressions;
namespace SqlBulkTools.QueryOperations
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
public class QueryAddColumn<T>
{
private readonly T _singleEntity;... | 42.990291 | 204 | 0.632114 | [
"MIT"
] | fretje/SqlBulkTools | SqlBulkTools.NetStandard/QueryOperations/QueryAddColumn.cs | 4,430 | 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 Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Text;
namespace Microsoft.VisualStudio.La... | 46.173913 | 97 | 0.672787 | [
"MIT"
] | BertanAygun/roslyn | src/VisualStudio/Core/Def/Implementation/ProjectSystem/IRunningDocumentTableEventListener.cs | 2,126 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace HelixToolkitTestSample
{
/// <summary>
/// App.xaml の相互作用ロジック
/// </summary>
public partial class App : Applicati... | 18.944444 | 43 | 0.674487 | [
"MIT"
] | takanemu/HelixToolkitTestSample | HelixToolkitTestSample/App.xaml.cs | 361 | 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 Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace RazorPagesWebSite
{
... | 27.052632 | 111 | 0.72179 | [
"Apache-2.0"
] | aneequrrehman/Mvc | test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertyOnModel.cs | 514 | C# |
using Cindi.Domain.Exceptions;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cindi.Application.Exceptions
{
public class BotKeyAssignmentException : BaseException
{
public BotKeyAssignmentException()
{
}
public BotKeyAssignmentException(string me... | 20.52 | 73 | 0.633528 | [
"MIT"
] | xucito/cindi | Cindi.Application/Exceptions/BotKeyAssignmentException.cs | 515 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.