content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.IO;
using System.Linq;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
namespace Dox2Word.Generator
{
public class StyleManager
{
public const string TableStyleId = "DoxTable";
public const string ParameterTableStyleId = "DoxParam... | 44.894569 | 139 | 0.507259 | [
"MIT"
] | canton7/Dox2Word | src/Generator/StyleManager.cs | 14,054 | C# |
using Ankh_Morpork_game.Abstract;
using System.ComponentModel.DataAnnotations;
namespace Ankh_Morpork_webapp_MVC.Models
{
public class Assassin : INPC
{
public int Id { get; set; }
[Required]
[StringLength(255)]
public string Name { get; set; }
public decimal MinReward ... | 26.454545 | 46 | 0.603093 | [
"Apache-2.0"
] | Mykhailo-Kholm/Ankh-Morpork | Ankh-Morpork-webapp-MVC/Ankh-Morpork-webapp-MVC/Models/Assassin.cs | 584 | C# |
namespace ProviderPayments.TestStack.Core.Workflow.Common
{
internal abstract class DataLockEventsTaskBase : RunExternalTask
{
private const string AssemblyName = "SFA.DAS.Provider.Events.DataLock";
private const string TypeName = "SFA.DAS.Provider.Events.DataLock.DataLockEventsTask";
... | 36.045455 | 94 | 0.704918 | [
"MIT"
] | SkillsFundingAgency/das-providerpayments | src/AcceptanceTesting/Common/ProviderPayments.TestStack.Core/Workflow/Common/DataLockEventsTaskBase.cs | 795 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Blog.Models
{
public class Article
{
[Key]
public int Id { get; set; }
[Required]
[St... | 22.03125 | 59 | 0.615603 | [
"MIT"
] | msotiroff/Softuni-learning | Tech Module/Software Technologies/C#/Blog Basic Functionality/Blog/Models/Article.cs | 707 | C# |
public sealed class TupleFormatter<T1> : IMessagePackFormatter<Tuple<T1>>, IMessagePackFormatter // TypeDefIndex: 5501
{
// Methods
// RVA: -1 Offset: -1 Slot: 4
public void Serialize(ref MessagePackWriter writer, Tuple<T1> value, MessagePackSerializerOptions options) { }
/* GenericInstMethod :
|
|-RVA: 0x28648D... | 27.066667 | 118 | 0.724138 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | MessagePack/Formatters/TupleFormatter--T1--.cs | 812 | C# |
using System.ComponentModel.DataAnnotations;
namespace Furiza.AspNetCore.WebApp.Configuration
{
public class ReCaptchaConfiguration
{
[Required]
public string SiteKey { get; set; }
[Required]
public string SecretKey { get; set; }
}
} | 21.538462 | 48 | 0.660714 | [
"MIT"
] | ivanborges/furiza-aspnetcore-webapp | src/Furiza.AspNetCore.WebApp.Configuration/reCaptchaConfiguration.cs | 282 | C# |
using System;
public interface ILogger
{
void Log(string message);
public void Log(Exception ex) => Log(ex.Message);
}
| 16.125 | 53 | 0.689922 | [
"MIT"
] | CyMadigan/ProfessionalCSharp2021 | 1_CS/ObjectOrientation/DefaultInterfaceMethods/ILogger.cs | 131 | C# |
// Modified by SignalFx
using System;
using SignalFx.Tracing.Configuration;
using SignalFx.Tracing.Propagation;
using SignalFx.Tracing.Sampling;
namespace SignalFx.Tracing
{
internal interface ISignalFxTracer
{
string DefaultServiceName { get; }
IScopeManager ScopeManager { get; }
ISa... | 31.866667 | 152 | 0.656206 | [
"Apache-2.0"
] | AJJLVizio/signalfx-dotnet-tracing | src/Datadog.Trace/ISignalFxTracer.cs | 1,434 | C# |
namespace Newtonsoft.Json
{
public enum JsonToken
{
None,
StartObject,
StartArray,
StartConstructor,
PropertyName,
Comment,
Raw,
Integer,
Float,
String,
Boolean,
Null,
Undefined,
EndObject,
EndArray,
EndConstructor,
Date,
Bytes
}
}
| 10.84 | 25 | 0.675277 | [
"MIT"
] | HuyTruong19x/DDTank4.1 | Source Server/SourceQuest4.5/Newtonsoft.Json/Newtonsoft.Json/JsonToken.cs | 271 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataSift
{
internal class Messages
{
internal const string INVALID_APIKEY = "API key should be a 32 character string of lower-case letters and numbers";
internal const ... | 68.375 | 140 | 0.755759 | [
"MIT"
] | datasift/datasift-dotnet | DataSift/Messages.cs | 2,737 | C# |
using System;
using System.Collections.Generic;
using Terraria.ModLoader;
namespace Terraria.ModLoader.Default
{
public class MysteryTile : ModTile
{
public override void SetDefaults()
{
Main.tileSolid[Type] = true;
Main.tileFrameImportant[Type] = true;
}
}
}
| 17.25 | 40 | 0.73913 | [
"MIT"
] | BloodARG/tModLoaderTShock | patches/tModLoader/Terraria.ModLoader.Default/MysteryTile.cs | 276 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace garagebot.alert
{... | 25.586207 | 70 | 0.656334 | [
"MIT"
] | devsgarage/garagebot.next | garagebot.alert/Program.cs | 742 | C# |
//BY FHIZ
//MODIFIED BY DX4D
//using OpenMMO;
//using OpenMMO.Zones;
//using System.Diagnostics;
//using OpenMMO.Debugging;
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using Mirror;
using OpenMMO.Network;
using OpenMMO.Database;
using OpenMMO.UI;
namespace OpenMMO.Zones
{
// ===============... | 41.161017 | 197 | 0.494462 | [
"MIT"
] | alka69/OpenMMO | Plugins/_ADDONS_/ServerSystems/ZoneSystem/ZoneManager/Scripts/Components/Components [Attach to NetworkManager]/ZoneManager.cs | 24,285 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrizeTicketUIState : State
{
public FadeUIElement fadeElement;
public float fadeDuration;
private PrizeTicketUI prizeTicketUI;
private Prize prize;
void Awake ()
{
prizeTicketUI = GetComponentInChildren<PrizeTicket... | 16.043478 | 73 | 0.726287 | [
"MIT"
] | IrenaMystic/unity-scratcher | Assets/Scripts/MonoBehaviours/States/PrizeTicketUIState.cs | 740 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
namespace LaunchServer.Areas.HelpPage
{
/// <summary>
/// A custom <see cref="IDocumentationProvider"/> that reads the API document... | 42.152778 | 160 | 0.627348 | [
"Apache-2.0"
] | DonnotRain/WPFUpgradeTool | LaunchServer/Areas/HelpPage/XmlDocumentationProvider.cs | 6,070 | C# |
namespace Core4
{
using NServiceBus;
class JsonSerializerUsage
{
JsonSerializerUsage()
{
#region JsonSerialization
Configure.Serialization.Json();
#endregion
}
}
} | 14.555556 | 44 | 0.5 | [
"Apache-2.0"
] | foz1284/docs.particular.net | Snippets/Json/Core_4/JsonSerializerUsage.cs | 247 | C# |
using NewLife;
using NewLife.Log;
using NewLife.Net;
using NewLife.Reflection;
using NewLife.Remoting;
using NewLife.Serialization;
using NewLife.Threading;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using xLink.Common;
n... | 28.166667 | 109 | 0.510566 | [
"MIT"
] | NewLifeX/XLink | xLink.Client/Services/LinkClient.cs | 6,263 | C# |
namespace Bitbucket.Net.Models.Core.Projects
{
public class Ref
{
public string Id { get; set; }
public string DisplayId { get; set; }
public string Type { get; set; }
}
} | 23.111111 | 45 | 0.586538 | [
"MIT"
] | ADHUI/Bitbucket.Net | src/Bitbucket.Net/Models/Core/Projects/Ref.cs | 210 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinFu.Delegates
{
public static class DelegateExtensions
{
public static TDelegate DefineDelegate<TDelegate>(this Func<object[], object> methodBody)
where TDelegate... | 32.444444 | 113 | 0.691781 | [
"MIT"
] | philiplaureano/LinFu.Delegates | LinFu.Delegates/DelegateExtensions.cs | 878 | C# |
using System;
using BattleTech;
using Harmony;
using UnityEngine;
namespace VehicleEvasivePipsGainiedAdditionalFix
{
[HarmonyPatch(typeof(Vehicle), "GetEvasivePipsResult", 0)]
public static class VehiclePatch
{
public static bool Prefix(float distMoved, bool isJump, bool isSprint, bool isMelee, Ve... | 32.057143 | 164 | 0.639037 | [
"Unlicense"
] | Arcananix/VehicleEvasivePipsGainiedAdditionalFix | VehicleEvasivePipsGainiedAdditionalFix/VehiclePatch.cs | 1,124 | C# |
using AutoMapper;
using JetBrains.Annotations;
using Lykke.Service.Credentials.Client.Models.Responses;
using MAVN.Service.CustomerManagement.Client.Models;
using MAVN.Service.CustomerManagement.Client.Models.Requests;
using MAVN.Service.CustomerManagement.Client.Models.Responses;
using MAVN.Service.CustomerManagement.... | 43.756098 | 112 | 0.763099 | [
"MIT"
] | IliyanIlievPH/MAVN.Service.CustomerManagement | src/MAVN.Service.CustomerManagement/AutoMapperProfiles/AutoMapperProfile.cs | 1,794 | C# |
using System.Linq;
using System.Text;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using RestMockCore.Interfaces;
using RestMockCore.Models;
namespace RestMockCore
{
public class HttpServer : IHttpServer
{
private ... | 35.239437 | 105 | 0.478417 | [
"MIT"
] | benyblack/rest-mock-core | src/RestMockCore/HttpServer.cs | 2,504 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFDGameScriptInterface;
namespace SFD.Teletransportación.porBoton
{
public class TPButton
{
/*
* author: XHomie
* description: Teletransportation by Button
... | 35.245614 | 125 | 0.571926 | [
"Apache-2.0"
] | HomieStart/SFD-TPButton | TPButton.cs | 2,010 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RFID.Controllers
{
using Models;
[Route("[controller]")]
public class RFIDController : Controller
{
private readonly ... | 25.931034 | 85 | 0.53391 | [
"MIT"
] | nikibobi/rfid-server | RFID/Controllers/RFIDController.cs | 1,506 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MaxMind.GeoIP2.Exceptions
{
/// <summary>
/// This exception is thrown when there is an authentication error.
/// </summary>
public class AuthenticationException : GeoIP2Exception
{
/// <summary... | 26.458333 | 90 | 0.637795 | [
"Apache-2.0"
] | Mailaender/GeoIP2-dotnet | GeoIP2/Exceptions/AuthenticationException.cs | 637 | C# |
//-----------------------------------------------------------------------------
// Filename: SIPHeader.cs
//
// Description: SIP Header.
//
// History:
// 17 Sep 2005 Aaron Clauson Created.
//
// License:
// This software is licensed under the BSD License http://www.opensource.org/licenses/bsd-license.php
//
// Copyr... | 43.30167 | 319 | 0.535245 | [
"MIT"
] | chenmuyong/Gb28181_Platform2016_Test | SIPSorcery.28181/SIP.Core/SIP/SIPHeader.cs | 116,698 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using HotChocolate.Execution;
namespace HotChocolate
{
internal class Error
: IError
{
private const string _code = "code";
private OrderedDictionary<string, object> _extensions =
new Ordered... | 25.478947 | 70 | 0.459203 | [
"MIT"
] | leighmetzroth/hotchocolate | src/Core/Abstractions/Error.cs | 4,841 | C# |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.0.1
* Contact: support@bungie.com
* Generated by: https://github.com... | 27.123967 | 194 | 0.57922 | [
"MIT"
] | xlxCLUxlx/BungieNetPlatform | src/BungieNetPlatform.Test/BungieNetPlatform.Model/InlineResponse20018Tests.cs | 3,282 | C# |
// © 2020 VOID-INTELLIGENCE ALL RIGHTS RESERVED
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nomad.Core;
namespace NomadTest.Core
{
[TestClass]
public class ShapeTest
{
[TestMethod]
public void Shape()
{
var mat = new Matrix(10, 10);
mat.InRand... | 25.25 | 53 | 0.518564 | [
"Apache-2.0"
] | void-intelligence/Nomad | src/Nomad-Tests/Core/ShapeTest.cs | 811 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WordWrap.Test
{
[TestClass]
public class UnitTest1
{
WordWrapper wordWrapper;
[TestInitialize]
public void Setup()
{
wordWrapper = new WordWrapper();
}
[TestMethod]
... | 26.202899 | 78 | 0.547566 | [
"MIT"
] | cjhnim/daily-kata | WordWrap/day_6/WordWrap/WordWrap.Test/UnitTest1.cs | 1,900 | C# |
using System.Windows.Input;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Regions;
using RibbonApp.Constants;
using RibbonApp.Contracts.Services;
namespace RibbonApp.ViewModels
{
public class ShellViewModel : BindableBase
{
private readonly IRegionManager _regionManager;
private readon... | 30.465116 | 116 | 0.699237 | [
"MIT"
] | mvegaca/WTS.WPF.Prism.GeneratedApps | RibbonApp/RibbonApp/ViewModels/ShellViewModel.cs | 1,312 | C# |
using static SampleService.Services.ApiClient;
namespace SampleService.Services
{
public interface IApiClient
{
CoinsInfo ConnectToApi(string currency);
}
} | 19.777778 | 49 | 0.735955 | [
"Apache-2.0"
] | mohamadlawand087/v23-MicroService | SampleService/Services/IApiClient.cs | 178 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2015 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... | 27.972973 | 86 | 0.648792 | [
"Apache-2.0"
] | TristanTong/bbsWirelessTag | yafsrc/YAF.Types/EventProxies/NewUserRegisteredEvent.cs | 1,998 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using backend.Data;
#nullable disable
namespace backend.Migrations
{
[DbC... | 34.692308 | 102 | 0.42423 | [
"MIT"
] | onggieoi/ecommerce | backend/Migrations/ApplicationDbContextModelSnapshot.cs | 26,160 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SEDC.Adv10.FileSystemDatabase.Entities
{
public abstract class BaseEntity
{
public int Id { get; set; }
public abstract string Info();
}
}
| 17.307692 | 48 | 0.751111 | [
"MIT"
] | sedc-codecademy/skwd8-06-csharpadv | g7/Class-10/SEDC.Adv10/SEDC.Adv10.FileSystemDatabase/Entities/BaseEntity.cs | 227 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 55.150943 | 267 | 0.772494 | [
"Apache-2.0"
] | altso/aws-sdk-net | sdk/src/Services/CertificateManager/Properties/AssemblyInfo.cs | 2,923 | C# |
using System;
using AspectCore.DynamicProxy;
namespace Butterfly.Client.Logging
{
public interface ILogger
{
void Info(string message);
void Error(string message, Exception exception);
}
}
| 16.923077 | 56 | 0.690909 | [
"MIT"
] | ButterflyAPM/butterfly-csharp | src/Butterfly.Client/Common/ILogger.cs | 222 | C# |
namespace SecondMonitor.Telemetry.TelemetryApplication.AggregatedCharts.Histogram.Providers
{
using System;
using System.Collections.Generic;
using Controllers.Settings;
using DataModel.BasicProperties;
using Extractors;
using Filter;
using SecondMonitor.ViewModels.Factory;
usi... | 87.621622 | 295 | 0.808297 | [
"MIT"
] | plkumar/SecondMonitor | Telemetry/TelemetryApplication/AggregatedCharts/Histogram/Providers/SuspensionVelocityHistogramProvider.cs | 12,970 | C# |
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
#nullable disable
namespace T0002.Models
{
public partial class CmdAgvpositionCodeDetail
{
/// <summary>
/// 主键
/// </summary>
... | 31.65 | 127 | 0.543444 | [
"MIT"
] | twoutlook/BlazorServerDbContextExample | BlazorServerEFCoreSample/T0002/Models/CmdAgvpositionCodeDetail.cs | 1,696 | C# |
using Adaptive.ReactiveTrader.Contract;
using System;
using System.Reactive.Subjects;
using System.Threading;
namespace Adaptive.ReactiveTrader.Server.Pricing
{
public abstract class BaseWalkPriceGenerator : IDisposable
{
protected static readonly ThreadLocal<Random> Random = new ThreadLocal<Random>(() => new ... | 29.578947 | 106 | 0.709964 | [
"Apache-2.0"
] | AdaptiveConsulting/ReactiveTraderCloud | src/server/dotNet/Adaptive.ReactiveTrader.Server.Pricing/BaseWalkPriceGenerator.cs | 1,686 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NiconicoToolkit.UWP.Test.Tests
{
[TestClass]
public class ExtractContenntIdTest
{
void CheckExtractIdResult(NiconicoIdType expectedType, NiconicoId? id)
{
Assert.IsNotNull(id);
Assert.AreEq... | 35.025641 | 138 | 0.586628 | [
"MIT"
] | tor4kichi/NiconicoToolkit | Test/NiconicoToolkit.Shared.Test/ExtractContenntIdTest.cs | 4,100 | C# |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using Prometheus;
using Prometheus.Advanced;
namespace Benchmark
{
[ClrJob]
[MemoryDiagnoser]
public class LabelBenchmarks
{
// Metric -> Variant -> Label values
private static readonly string[][][] _labelValueRow... | 36.424779 | 126 | 0.598882 | [
"MIT"
] | FloMaetschke/prometheus-net | Benchmark.NetFramework/LabelBenchmarks.cs | 4,118 | C# |
using Credfeto.Notification.Bot.Database.Twitch;
using Microsoft.Extensions.DependencyInjection;
namespace Credfeto.Notification.Bot.Database;
public static class DatabaseSetup
{
/// <summary>
/// Configures database.
/// </summary>
/// <param name="services">The DI Container to register services ... | 29.75 | 93 | 0.731092 | [
"MIT"
] | credfeto/notification-bot | src/Credfeto.Notification.Bot.Database/DatabaseSetup.cs | 476 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Emc.Documentum.Rest.Net;
using System.Runtime.InteropServices;
namespace Emc.Documentum.Rest.DataModel
{
/// <summary>
/// Link model
/// </summary... | 26.142857 | 92 | 0.63388 | [
"Apache-2.0"
] | DEV-MC01/documentum-rest-client-dotnet | MonoReST/RestClient/DataModel/Base/Link.cs | 1,100 | C# |
using Microsoft.UI.Xaml.Controls;
namespace WinUISample.Maps.World
{
public sealed partial class View : UserControl
{
public View()
{
InitializeComponent();
}
}
}
| 16.384615 | 50 | 0.586854 | [
"MIT"
] | Diademics-Pty-Ltd/LiveCharts2 | samples/WinUISample/WinUI/WinUI/Maps/World/View.xaml.cs | 215 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V3109</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 40.437276 | 1,358 | 0.567807 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V3109/Generated/PRSC_MT040101UK08GpPerson.cs | 11,282 | C# |
using DecisionTree.Decisions;
using System;
using System.Linq.Expressions;
using DecisionTree.Builders.Interface.Action;
using DecisionTree.Decisions.DecisionsBase;
namespace DecisionTree.Builders
{
public sealed class DecisionActionBuilder<T>
: IActionTitle<T>, IAction<T>, IActionPath<T>, IActionBuild<T... | 25.833333 | 81 | 0.607373 | [
"MIT"
] | Smrecz/DecisionTree | DecisionTree/Builders/DecisionActionBuilder.cs | 1,087 | C# |
using Abp.AutoMapper;
using Abp.Modules;
using Abp.Reflection.Extensions;
using MyLife.Authorization;
namespace MyLife
{
[DependsOn(
typeof(MyLifeCoreModule),
typeof(AbpAutoMapperModule))]
public class MyLifeApplicationModule : AbpModule
{
public override void PreInitialize()
... | 27.870968 | 86 | 0.652778 | [
"MIT"
] | xiaocaoweizui/MyLife | aspnet-core/src/MyLife.Application/MyLifeApplicationModule.cs | 866 | C# |
using System;
using Ding.Offices.Excels.Imports;
namespace Ding.Offices.Excels.Npoi.Imports
{
/// <summary>
/// 导入器工厂
/// </summary>
public class ImportFactory:IImportFactory
{
/// <summary>
/// 文件绝对路径
/// </summary>
private readonly string _path;
/// <summ... | 29.055556 | 87 | 0.526291 | [
"MIT"
] | EnhWeb/DC.Framework | src/Ding.Offices.Excels.Npoi/Imports/ImportFactory.cs | 2,276 | C# |
using System.Collections.Generic;
using System.Linq;
using Redzen.Random;
using Redzen.Sorting;
using Redzen.Structures;
using SharpNeat.Neat.Genome;
using SharpNeat.Graphs;
using Xunit;
using static SharpNeat.Neat.Genome.Tests.NestGenomeTestUtils;
namespace SharpNeat.Neat.Reproduction.Asexual.Strategy.Tests
{
pu... | 40.836601 | 166 | 0.62388 | [
"MIT"
] | neobepmat/sharpneat-refactor | src/Tests/SharpNeat.Tests/Neat/Reproduction/Asexual/Strategy/AddNodeStrategyTests.cs | 6,250 | C# |
namespace SharpIMClient
{
public enum BuddyStatus
{
Online,
Offline,
Away,
Busy
}
}
| 11.636364 | 27 | 0.5 | [
"MIT"
] | zachhowe/sharpim | ClientLibrary/Constants.cs | 128 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using Microsoft.UI.Xaml.Controls;
using Uno.Disposables;
using Uno.Extensions;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace NupkgExplorer.Views.Extensions
{
public st... | 47.868217 | 186 | 0.693765 | [
"MIT"
] | MarcelWolf1983/NuGetPackageExplorer | Uno/NugetPackageExplorer.Legacy/Views/Extensions/TabViewExtensions.cs | 6,177 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace MinimalKatana
{
using AppFunc = Func<IDictionary<string, object>, Task>;
public class Startup
{
public AppFunc Configuration() {
return async env => {
var writer = ... | 25.2 | 80 | 0.599206 | [
"MIT"
] | eocampo/LearningOwin | MinimalKatana/Startup.cs | 506 | C# |
using NLog;
using NLog.Config;
using NLog.Targets;
namespace EligibleService.Common
{
public class Logging
{
public Logging()
{
var config = new LoggingConfiguration();
var fileTarget = new FileTarget();
config.AddTarget("file", fileTarget);
... | 36.333333 | 106 | 0.59735 | [
"MIT"
] | balu-eligible/eligible-CSharp | Eligible.NET/src/EligibleService.Common/Logging.cs | 1,964 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpLearning.InputOutput.Csv;
using System.IO;
using System.Linq;
using SharpLearning.GradientBoost.Test.Properties;
using SharpLearning.Metrics.Classification;
using SharpLearning.Containers;
using System.Collections.Generic;
using System.Diagno... | 164.35 | 20,683 | 0.631109 | [
"MIT"
] | GaGa2015/SharpLearning | src/SharpLearning.GradientBoost.Test/Models/ClassificationGradientBoostModelTest.cs | 36,159 | C# |
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Marionet.UI.ViewModels;
using System;
namespace Marionet.UI
{
public class ViewLocator : IDataTemplate
{
public bool SupportsRecycling => false;
public IControl Build(object data)
{
if (data == null)
... | 24.837838 | 113 | 0.5321 | [
"MPL-2.0"
] | CptWesley/Marionet | Marionet.UI/ViewLocator.cs | 919 | C# |
//--------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: LimitedConcurrencyTaskScheduler.cs
//
//--------------------------------------------------------------------------
using System.Collections.Generic;
using System.... | 43.330986 | 118 | 0.560702 | [
"MIT"
] | NeverMorewd/nevermore | nevermore.core/Task/LimitedConcurrencyLevelTaskScheduler.cs | 6,155 | C# |
using UnityEngine;
public class ControlsMenu : MonoBehaviour
{
public GameObject info_A;
public GameObject info_B;
private ControllerLayout controllerLayout;
void Start()
{
controllerLayout = GameObject.Find("ControllerLayout").GetComponent<ControllerLayout>();
ChangeControllersInfo();
}
public void Cha... | 18.333333 | 90 | 0.741818 | [
"MIT"
] | signeus/vrnd-rube-goldberg-game-by-kevin-menendez-soto | Assets/RubeGoldberg/Scripts/ControlsMenu.cs | 552 | 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.ML.Data.DataLoadSave;
using Microsoft.ML.Runtime;
namespace Microsoft.ML.Data
{
/// <summary>
... | 37.813953 | 155 | 0.676507 | [
"MIT"
] | AhmedsafwatEwida/machinelearning | src/Microsoft.ML.Data/DataLoadSave/TransformWrapper.cs | 3,254 | C# |
using System;
namespace RandomchaosMGSkySphere
{
#if WINDOWS || LINUX
/// <summary>
/// The main class.
/// </summary>
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
... | 18.391304 | 53 | 0.49409 | [
"MIT"
] | Lajbert/Randomchaos-MonoGame-Samples | Sandboxs/XNA Blog Ports/RandomchaosMGSkySphere/Program.cs | 425 | C# |
using log4net.Core;
namespace log4net.Util.PatternStringConverters
{
/// <summary>
/// Writes a newline to the output
/// </summary>
/// <remarks>
/// <para>
/// Writes the system dependent line terminator to the output.
/// This behavior can be overridden by setting the <see cref="P:log4net.Util.PatternConvert... | 31.3125 | 135 | 0.651697 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | bzmework/log4net | Project/Util/PatternStringConverters/NewLinePatternConverter.cs | 2,004 | 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 Feature.Navigation.Extensions;
using Foundation.BlazorExtensions.Extensions;
using Foundation.BlazorExtensions.Services;
using Microsoft.AspNetCo... | 32.588235 | 143 | 0.63583 | [
"MIT"
] | thild/SitecoreBlazor | SitecoreBlazorHosted.Server/Startup.cs | 2,218 | C# |
// Lucene version compatibility level 4.8.1
using Lucene.Net.Analysis.TokenAttributes;
namespace Lucene.Net.Analysis.Standard
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional i... | 37.674699 | 182 | 0.570515 | [
"Apache-2.0"
] | 10088/lucenenet | src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicFilter.cs | 3,127 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 30.454545 | 81 | 0.666418 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Tke/V20180525/Models/DisableVpcCniNetworkTypeResponse.cs | 1,398 | C# |
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using Pro.Utils;
using Pro.Dal;
using Platinium.Entidade;
using Negocio;
namespace Platinium.Negocio
{
public class ManterTipoMovimento : IManter
{
#region Variáveis e Propriedades
private TipoMovimento... | 31.785047 | 105 | 0.589532 | [
"MIT"
] | CesarRabelo/eGovernos.Corporativo | src/Negocio/Controladoras/ManterTipoMovimento.cs | 3,405 | C# |
namespace MyBackEnd
{
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; }
}
} | 21.153846 | 69 | 0.592727 | [
"MIT"
] | lover299/LearnDapr | Source/DaprMultiContainer/MyBackEnd/WeatherForecast.cs | 275 | 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>
//--... | 39.777778 | 151 | 0.58473 | [
"MIT"
] | 3dsoft/MaterialSkin | MaterialSkinExample/Properties/Settings.Designer.cs | 1,076 | C# |
using System;
using System.IO;
using K4os.Compression.LZ4.Internal;
using Xunit;
namespace K4os.Compression.LZ4.Streams.Test.Internal
{
public class Tools
{
public static readonly string[] CorpusNames = {
"dickens", "mozilla", "mr", "nci",
"ooffice", "osdb", "reymont", "samba",
"sao", "webster", "x-ray",... | 23.279793 | 79 | 0.594925 | [
"MIT"
] | warrenfalk/K4os.Compression.LZ4 | src/K4os.Compression.LZ4.Streams.Test/Internal/Tools.cs | 4,495 | C# |
using NServiceBus;
public class TheHandler :
IHandleMessages<StartHandler>
{
ManualResetEvent resetEvent;
public TheHandler(ManualResetEvent resetEvent)
{
this.resetEvent = resetEvent;
}
public Task Handle(StartHandler message, IMessageHandlerContext context)
{
context.Lo... | 22.526316 | 76 | 0.684579 | [
"MIT"
] | NServiceBusExtensions/NServiceBus.Serilog | src/Tests/Handler/TheHandler.cs | 430 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Playnite;
using System.Windows;
using System.Windows.Markup;
using System.Text.RegularExpressions;
using Playnite.Settings;
using Playnite.Common;
using Playnite.SDK;
... | 40.325991 | 129 | 0.528512 | [
"MIT"
] | Donkeyfumbler/Playnite | source/Playnite/Themes.cs | 9,156 | 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("Ap... | 37.648649 | 84 | 0.743001 | [
"MIT"
] | austinejei/sidekick | Api.Events/Properties/AssemblyInfo.cs | 1,396 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
namespace SimpleStorageEngine.Persistance.Exceptions {
[Serializable]
public class PersistanceException : Exception {
public PersistanceException(string message)
: base(message) {
... | 26.217391 | 88 | 0.68325 | [
"BSD-3-Clause"
] | SamSaffron/simplestorageengine | SimpleStorageEngine/Persistance/Exceptions/PersistanceException.cs | 605 | C# |
using lm.Comol.Core.FileRepository.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.BaseModules.FileRepository.Presentation
{
public interface IViewFolderSelector : lm.Comol.Core.DomainModel.Common.iDomainView
{
Boolean AutoPostBack ... | 40.095238 | 138 | 0.739905 | [
"MIT"
] | EdutechSRL/Adevico | 3-Business/3-Modules/lm.Comol.Core.BaseModules/FileRepository/Presentation/Repository/IView/UC/IViewFolderSelector.cs | 844 | C# |
// Copyright 2021 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 ... | 41.109589 | 137 | 0.629124 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/osconfig/v1/google-cloud-osconfig-v1-csharp/Google.Cloud.OsConfig.V1.StandaloneSnippets/OsConfigServiceClient.ListPatchDeploymentsSnippet.g.cs | 3,001 | C# |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Plant_A_Plant.Data.Common.Repositories;
using Plant_A_Plant.Data.Models;
namespace Plant_A_Plant.Web.Views.ViewComponents
{
public class FeedbackInfoViewComponent : ViewComponent
{
... | 31 | 104 | 0.733871 | [
"MIT"
] | goofy5752/Plant-A-Plant | Web/Plant-A-Plant.Web/Views/ViewComponents/FeedbackInfoViewComponent.cs | 746 | C# |
using App.Common.Data;
using System.Linq;
using WebFramework.Data.Domain;
namespace Service
{
public class LogService : ILogService
{
private IRepository<Logs,long> _logsRepository;
public LogService(IRepository<Logs, long> logsRepository)
{
_logsRepository = logsRepositor... | 20.903226 | 65 | 0.567901 | [
"MIT"
] | zsu/WebFrameworkMVC | WebFramework.Service/LogService.cs | 650 | C# |
using AutoMapper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using SimpleFeedReader.Services;
namespace SimpleFeedReader
{
public class Startup
{
... | 27 | 89 | 0.597761 | [
"MIT"
] | mbanks850/simple-feed-reader | SimpleFeedReader/Startup.cs | 1,163 | C# |
namespace GTCapture
{
partial class ToastMessageForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 41.843373 | 148 | 0.608984 | [
"MIT"
] | vip00112/GTLauncher | src/GTCapture/Control/ToastMessageForm.Designer.cs | 3,475 | C# |
using System.Web.Http;
using System.Web.Mvc;
using NLog.Targets;
using SFA.DAS.NLog.Logger;
using Microsoft.ApplicationInsights.Extensibility;
using System.Configuration;
namespace SFA.DAS.Commitments.Api
{
public class WebApiApplication : System.Web.HttpApplication
{
private static ILog Logger = new... | 31.05 | 136 | 0.687601 | [
"MIT"
] | SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Api/Global.asax.cs | 1,244 | C# |
using System;
using JetBrains.Application;
using JetBrains.Application.Settings;
using JetBrains.Application.Settings.Implementation;
using JetBrains.ReSharper.Psi.CSharp.Naming2;
using JetBrains.ReSharper.Psi.Naming.Elements;
using JetBrains.ReSharper.Psi.Naming.Settings;
using JetBrains.Util;
namespace JetBrains.ReS... | 54.610169 | 120 | 0.720981 | [
"Apache-2.0"
] | 20chan/resharper-unity | resharper/resharper-unity/src/CSharp/Psi/Naming/Elements/UnityNamingRuleDefaultSettings.cs | 3,222 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// DispatchInterface FormatCondition
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-... | 40.488959 | 153 | 0.68469 | [
"MIT"
] | igoreksiz/NetOffice | Source/Excel/DispatchInterfaces/FormatCondition.cs | 12,837 | C# |
using System.Threading.Tasks;
using MiniCover.CommandLine.Options;
using MiniCover.Reports;
using MiniCover.Utils;
namespace MiniCover.CommandLine.Commands
{
class NCoverReportCommand : BaseCommand
{
private const string _name = "xmlreport";
private const string _description = "Write an NCover... | 35.644444 | 115 | 0.679551 | [
"MIT"
] | haytam1988/NuGet | src/MiniCover/CommandLine/Commands/NCoverReportCommand.cs | 1,606 | C# |
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace Contoso.Branding.SetThemeToSite
{
class Program
{
static void Main(string[] args)
{
... | 34.158273 | 136 | 0.491575 | [
"Apache-2.0"
] | AKrasheninnikov/PnP | Samples/Branding.SetThemeToSite/Branding.SetThemeToSite.Console/Program.cs | 4,750 | C# |
/*
* Original author: Nick Shulman <nicksh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2012 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complia... | 42.008696 | 172 | 0.535376 | [
"Apache-2.0"
] | vagisha/pwiz | pwiz_tools/Skyline/Controls/Graphs/AlignmentForm.cs | 24,157 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 37.15625 | 85 | 0.560976 | [
"MIT"
] | ShailUniqtech/Ashirvad | Ashirvad-main/Ashirvad.Repo/Model/BATCH_MASTER.cs | 1,189 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Services.Database;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration;
namespace ... | 33 | 100 | 0.585578 | [
"MIT"
] | AnotherFoxGuy/NadekoBot | src/NadekoBot/Modules/Gambling/Services/Impl/ShopService.cs | 3,566 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Amw.Identity.Server
{
public class Program
{... | 24.6 | 76 | 0.694309 | [
"MIT"
] | amwitx/Amw.Core | Identity/Amw.Identity.Server/Program.cs | 617 | C# |
using System.Collections.Generic;
using System.Data.SqlClient;
using System;
namespace BandTracker
{
public class Band
{
private int _id;
private string _name;
public Band(string Name, int Id = 0)
{
_id = Id;
_name = Name;
}
public overr... | 28.934694 | 139 | 0.48808 | [
"MIT"
] | cassiemusolf/Band-Tracker | Objects/Band.cs | 7,089 | C# |
using System;
using MongoDB.Bson.Serialization.Attributes;
using Common.Data;
using System.Collections.Generic;
namespace KT.Data.Models
{
public class FormFieldChoice
{
public object Value { get; set; }
public Dictionary<string, string> Labels { get; set; }
}
public class FormField
... | 24.507246 | 63 | 0.583678 | [
"MIT"
] | bourbest/keeptrack | api/KT.Data/Models/FormTemplate.cs | 1,691 | 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 ... | 24.161972 | 134 | 0.651997 | [
"Apache-2.0"
] | bbs168/aliyun-openapi-net-sdk | aliyun-net-sdk-tag/Tag/Model/V20180828/TagResourcesRequest.cs | 3,431 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CellularAutomaton.src.Rules;
namespace CellularAutomaton.Tests.src.Rules
{
[TestClass]
public class WolframCodeTests
{
[TestMethod]
public void InstantiationByteTest()
{
const byte rule = 90;
const byte initialState = 1;
const ... | 22.070175 | 96 | 0.677266 | [
"MIT"
] | Natehhggh/CellularAutomaton | CellularAutomaton.Tests/src/Rules/WolframCodeTests.cs | 1,260 | C# |
using System.Collections.Generic;
namespace Havit.Data.EntityFrameworkCore.Patterns.UnitOfWorks.EntityValidation
{
/// <summary>
/// Factory poskytující entity validátory.
/// </summary>
/// <remarks>
/// Revize použití s ohledem na https://github.com/volosoft/castle-windsor-ms-adapter/issues/32:
/// Implemento... | 32.064516 | 114 | 0.725352 | [
"MIT"
] | havit/HavitFramework | Havit.Data.EntityFrameworkCore.Patterns/UnitOfWorks/EntityValidation/IEntityValidatorsFactory.cs | 1,025 | C# |
using Store.Core.Domain.Entities.Default;
using Store.Core.Domain.Interfaces.Infrastructures.Data.Contexts;
using Store.Core.Domain.Interfaces.Services.Default.Samples;
using Store.Core.Domain.Resources;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Localization;
using System;
using System.Threading;
... | 40.44898 | 136 | 0.702321 | [
"MIT"
] | isilveira/ModelWrapper | samples/Store/Store.Core.Application/Default/Samples/Commands/DeleteSample/DeleteSampleCommandHandler.cs | 1,982 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test_1._0
{
class Program
{
static void Main(string[] args)
{
string word = Console.ReadLine();
List<int> numbers = new List<int>();
... | 29.530612 | 106 | 0.299585 | [
"MIT"
] | danielstaikov/List-and-others | test 1.0/Shoot List Elements.cs | 2,930 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Blazored.LocalStorage;
using Blazored.SessionStorage;
using Count4U.Model.Count4U;
using Count4U.Model.SelectionParams;
using Count4U.Service.Shared;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.... | 41.163025 | 204 | 0.728646 | [
"MIT"
] | parad74/Count4U.Service.5 | src/Count4U.Admin.Client.Blazor/Page/FtpFile/CustomerProfileAndUserAdd.razor.cs | 24,512 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace OpenApi.Dtos
{
/// <summary>
/// Parameters of an error detail object
/// </summary>
[DataContract(Name = "ErrorDetail")]
public class ErrorDetailDto
{
/// <summ... | 25.714286 | 63 | 0.590278 | [
"MIT"
] | AKomyshan/FunctionMonkey | Samples/Scratch/OpenApi/Dtos/ErrorDetailDto.cs | 722 | C# |
namespace loginForm
{
partial class InsertPick
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 42.5625 | 169 | 0.553965 | [
"Apache-2.0"
] | SabrinaDanoiu/Baza-de-date-Salon-Cosmetica | loginForm/loginForm/InsertPick.Designer.cs | 5,450 | 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... | 46.10219 | 178 | 0.673686 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CodeGuruProfiler/Generated/Model/InternalServerException.cs | 6,316 | C# |
namespace test.sacs
{
/// <date>Jun 20, 2005</date>
public class BoundsCheck10 : Test.Framework.TestCase
{
private BoundsCheckEntities bce;
public BoundsCheck10(BoundsCheckEntities bce) :
base("sacs_boundsCheck_tc10", "sacs_boundsCheck", "init",
"Initialize some more test entiti... | 30.742424 | 105 | 0.656974 | [
"Apache-2.0"
] | ADLINK-IST/opensplice | testsuite/dbt/api/dcps/sacs/boundsCheck/code/test/sacs/BoundsCheck10.cs | 2,029 | C# |
using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace Mayfly.Attributes
{
public class RequireVoiceAttribute : PreconditionAttribute
{
public override async Task<PreconditionResult> CheckPermissionsAsync(ICommandContext context, CommandInfo command, IServiceProvider services... | 30.962963 | 143 | 0.754785 | [
"MIT"
] | Kerillian/Mayfly | Mayfly/Attributes/RequireVoiceAttribute.cs | 838 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.