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 Microsoft.Extensions.Configuration; using System; using System.IO; namespace db_mapper.Common { public class AppSettingsProvider : IAppSettingsProvider { private readonly IConfigurationRoot configuration; public AppSettingsProvider(string file = "appSettings.json") { var filePath = Path.Combine(Environ...
23.421053
67
0.732584
[ "MIT" ]
jpshrader/db-mapper
Common/AppSettingsProvider.cs
892
C#
namespace OnlyT.Utils { #pragma warning disable SA1121 // Use built-in type alias // ReSharper disable BuiltInTypeReferenceStyle // ReSharper disable IdentifierTypo // ReSharper disable StyleCop.SA1602 // ReSharper disable InconsistentNaming // ReSharper disable StyleCop.SA1121 // ReSharper di...
33.027174
114
0.561461
[ "MIT" ]
diagdave1/OnlyT-1
OnlyT/Utils/NativeMethods.cs
6,079
C#
using System; using Microsoft.EntityFrameworkCore; using SmokeApp_Storage.Models; using Serilog; using Xunit; //using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System.Linq; namespace SmokeAppConsoleForTesting { class Program { stat...
26.265306
140
0.682984
[ "MIT" ]
08162021-dotnet-uta/BlakeDrostRepo1
projects/project_2/SmokeApp/SmokeAppConsoleForTesting/Program.cs
1,289
C#
using BPSLib.Util; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BPS_UnitTest.Util { [TestClass] public class BPSPathTest { [TestMethod] public void NormalizeTest() { // Arrange string path = "c:\\users\\name.bps"; // Act string normalized = BPSPath.Normalize("c:\\users\\name"); ...
18.209677
70
0.65279
[ "MIT" ]
BPS-Lib/BPS-3
BPS Project/BPS UnitTest/Util/BPSPathTest.cs
1,131
C#
namespace FluentILUnitTests.Resources { public interface ITestInterface { string GetSetProperty { get; set; } } }
19
43
0.676692
[ "MIT" ]
arlm/FluentIL
test/FluentILUnitTests/Resources/ITestInterface.cs
133
C#
namespace Loon.Java { using System; using System.Collections.Generic; using System.IO; using Loon.Java.Generics; using Loon.Core; public class SequenceInputStream : InputStream { Loon.Java.Generics.JavaListInterface.IIterator<Stream> e; InputStream ins; public Se...
22.132813
92
0.364278
[ "Apache-2.0" ]
TheMadTitanSkid/LGame
C#/Loon2Unity/Loon.Java/SequenceInputStream.cs
2,833
C#
using BurningKnight.assets.prefabs; using BurningKnight.level.rooms.entrance; using BurningKnight.level.tile; namespace BurningKnight.level.hall { public class HallRoom : ExitRoom { public const string PrefabName = "hub"; private Prefab prefab; public HallRoom() { prefab = Prefabs.Get(PrefabName);...
21.931818
57
0.666321
[ "MIT" ]
Cuber01/BurningKnight
BurningKnight/level/hall/HallRoom.cs
965
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. //----------------------------------------------------------------------- // <copyright file="MetaModel.Methods.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. THIS CODE AND INFORMATION ARE PRO...
37.883721
279
0.604665
[ "MIT" ]
345James/aimbiztalk
src/Microsoft.AzureIntegrationMigration.BizTalk.Types/Entities/Orchestrations/MetaModel.Methods.cs
1,631
C#
/* Poly2Tri * Copyright (c) 2009-2010, Poly2Tri Contributors * http://code.google.com/p/poly2tri/ * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code m...
40.789474
84
0.729032
[ "MIT" ]
RosaryMala/BlaseballStadiumViewer
Assets/Scripts/libs/Poly2Tri/Triangulation/Polygon/PolygonPoint.cs
2,327
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace RotaMe.Data.Models { public class EventNeed : BaseModel<int> { [Required] public int EventId { get; set; } public Event Event { get; set; } public DateTime Date { get; set; ...
19.925926
72
0.605948
[ "MIT" ]
MDaskalovAtBE/rotaMe
Data/RotaMe.Data.Models/EventNeed.cs
540
C#
using LeagueDraft.Data; using LeagueDraft.Models; using LeagueDraft.Services.Implementations; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace LeagueDraft.Tests.Service { public class Ite...
33.725714
138
0.603185
[ "MIT" ]
Valentinles/League-Draft
src/LeagueDraft.Tests/Service/ItemServiceTests.cs
17,708
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...
40.449612
161
0.637792
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodeGuruProfiler/Generated/Model/Internal/MarshallTransformations/BatchGetFrameMetricDataRequestMarshaller.cs
5,218
C#
using CreativeCoders.Core.ObjectLinking; using JetBrains.Annotations; namespace CreativeCoders.Mvvm.Ribbon.Controls { [PublicAPI] public abstract class RibbonBaseButtonViewModel : RibbonCommandControlViewModel { private RibbonButtonSize _size; private string _largeIcon; private s...
29.225
144
0.644996
[ "Apache-2.0" ]
CreativeCodersTeam/Core
source/Mvvm/CreativeCoders.Mvvm.Ribbon/Controls/RibbonBaseButtonViewModel.cs
1,171
C#
namespace PuzzleCMS.Core.Multitenancy { using System; using System.Collections.Generic; /// <summary> /// Context of the tenant. /// </summary> /// <typeparam name="TTenant">Tenant object.</typeparam> public class TenantContext<TTenant> : IDisposable { private bool disposed; ...
26.115385
96
0.47975
[ "MIT" ]
Courio-Dev/UnobtrusiveMultitenancy
src/PuzzleCMS.Core/PuzzleCMS.Core.Multitenancy/TenantContext`1.cs
2,718
C#
using ArticleDemo.BLL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace ArticleDemo.MVC.UI.Core { public class CustomActionFilterAttribute : ActionFilterAttribute { /// <summary> /// 角色名称,具有访问该Action权...
30.869565
101
0.542254
[ "Apache-2.0" ]
imwyw/.net
Src/ArticleDemo/ArticleDemo.MVC.UI/Core/CustomActionFilterAttribute.cs
2,452
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.237624
115
0.678513
[ "Apache-2.0" ]
fossabot/aliyun-openapi-net-sdk
aliyun-net-sdk-cloudapi/CloudAPI/Model/V20160714/DescribeRegionsRequest.cs
2,448
C#
using Android.Content; using Plugin.Toast.Droid; using System; using System.Runtime.Serialization; using System.Threading; namespace Plugin.Toast { public sealed partial class ToastId : IEquatable<ToastId> { int id; string tag; /// <summary> /// First part of identifier used b...
35.42
127
0.572276
[ "MIT" ]
anton-yashin/Plugin.Toast
src/Plugin.Toast/ToastId.android.cs
3,544
C#
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Linq; using System.Collections.Generic; using Kooboo.CMS.Sites.Models; using Kooboo.CMS.Sites.View; using Kooboo.Globalization; using Kooboo.CM...
36.791411
206
0.575121
[ "BSD-3-Clause" ]
Bringsy/Kooboo.CMS
Kooboo.CMS/Kooboo.CMS.Sites/Globalization/SiteLabel.cs
5,999
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Linq; namespace Geb.Image.Formats.MetaData.Profiles.Icc { /// <summary> /// This type represents an array of unsigned 64bit integers. /// </summary> internal sealed class IccUIn...
29.011494
110
0.540412
[ "MIT" ]
xiaotie/GebImage
src/Geb.Image/Formats/MetaData/Profiles/ICC/TagDataEntries/IccUInt64ArrayTagDataEntry.cs
2,526
C#
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using System; namespace Dangl.WebDocumentation.Models { public class ApplicationDbContext : IdentityDbContext<ApplicationUser, IdentityRole<Guid>, Guid> { public Applicati...
40.42
100
0.656111
[ "MIT" ]
GeorgDangl/WebDocu
src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs
2,023
C#
using CCXT.NET.Shared.Coin; using CCXT.NET.Shared.Coin.Private; using CCXT.NET.Shared.Coin.Types; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CCXT.NET.Bitflyer.Private { /// <summary> /// /// </summary> public class PrivateApi : CCXT.NET.Shared.Coin.Pri...
38.658863
171
0.498573
[ "MIT" ]
ccxt-net/ccxt.net
src/exchanges/jpn/bitflyer/private/privateApi.cs
11,599
C#
namespace Encapsulation { internal class LastChange { public LastChange(int value, Point valueLocation, Point zeroLocation) { Value = value; NewValueLocation = valueLocation; NewZeroLocation = zeroLocation; } public int Value { get...
26.75
78
0.574766
[ "MIT" ]
EvgeniyGor/UlearnHomeworks
src/Challenges/Encapsulation/LastChange.cs
430
C#
using PasswordQueryTool.Backend.Services.Parsing.Models; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace PasswordQueryTool.Backend.Services.Parsing.Services.Interfaces { public interface IFileService { public Task<bool> FileExists(string filenam...
30.578947
106
0.753873
[ "MIT" ]
Konstantin-tr/PassSearch
PasswordQueryTool/PasswordQueryTool.Backend.Services.Parsing/Services/Interfaces/IFileService.cs
583
C#
using System; using DryIoc.Microsoft.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Prism.DryIoc; using Prism.Ioc; using Shiny; using Shiny.Notifications; using Shiny.Testing; using Samples.Infrastructure; using Samples.Jobs; using Samples.HttpTransfers; ...
36.634783
112
0.644909
[ "MIT" ]
dave-sekula/shiny
samples/Samples/SampleStartup.cs
4,215
C#
namespace Rosalia.TestingSupport.Helpers { using System; using System.IO; using Moq; using NUnit.Framework; using NUnit.Framework.Internal; using Rosalia.Core; using Rosalia.Core.Api; using Rosalia.Core.Engine.Execution; using Rosalia.Core.Environment; using Rosalia.Core.Interce...
38.471545
175
0.575655
[ "MIT" ]
guryanovev/Rosalia
Src/Rosalia.TestingSupport/Helpers/TaskExtensions.cs
4,734
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace PlaywrightSharp.Transport.Channels { internal class DialogChannel : Channel<Dialog> { public DialogChannel(string guid, Connection connection, Dialog owner) : base(guid, connection, owner) { } ...
29.08
110
0.606602
[ "MIT" ]
Meir017/playwright-sharp
src/PlaywrightSharp/Transport/Channels/DialogChannel.cs
727
C#
using System.Collections.Generic; using System.Security.Claims; using ToDoListApi.Entities; namespace ToDoListApi.Repositories { public interface ITokenRepository { void SaveRefreshToken(RefreshToken refreshToken); void RemoveRefreshToken(string token); bool CanRefresh(string ...
32
69
0.71875
[ "MIT" ]
szymenn/ToDoDo-backend
src/ToDoListApi/Repositories/ITokenRepository.cs
512
C#
namespace Foodies { partial class DailySales { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
50.038462
151
0.611453
[ "MIT" ]
ashirafzal/Foodies
Foodies/DailySales.Designer.cs
7,808
C#
namespace TIKSN.Shell { public interface IShellCommandContext { bool ShouldContinue(string query, string caption); bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll); bool ShouldProcess(string target, string action); bool ShouldProcess(strin...
27.125
95
0.71659
[ "MIT" ]
tiksn/TIKSN-Framework
TIKSN.Core/Shell/IShellCommandContext.cs
434
C#
using CafeLib.Core.IoC; using CafeLib.Mobile.Extensions; using CafeLib.Mobile.ViewModels; using Xamarin.Forms; // ReSharper disable UnusedMember.Global namespace CafeLib.Mobile.Views { public abstract class CafeFlyoutPage : FlyoutPage, IPageBase, ISoftNavigationPage { /// <summary> /// The vie...
33.972222
109
0.587899
[ "MIT" ]
chrissolutions/CafeLib
Mobile/CafeLib.Mobile/Views/CafeFlyoutPage.cs
3,671
C#
using System; namespace GenieLamp.Genies.DbSchemaImport { public class MetaInfoColumnsMatch { public MetaInfoColumnsMatch() { } public MetaInfoColumn Child { get; set; } public MetaInfoColumn Parent { get; set; } } }
15.5
45
0.681452
[ "MIT" ]
arbinada-com/genie-lamp
Sources/GenieLamp.Genies/GenieLamp.Genies.DbSchemaImport/MetaInfo/MetaInfoColumnsMatch.cs
248
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Buffers; using System.Collections.Generic; using System.IO; using Microsoft.AspNetCore.Internal; using Newtonsoft.Json; name...
46.734127
268
0.442388
[ "Apache-2.0" ]
0xced/AspNetCore
src/SignalR/src/Microsoft.AspNetCore.Http.Connections.Common/NegotiateProtocol.cs
11,777
C#
using System; using ClearHl7.Extensions; using ClearHl7.Helpers; namespace ClearHl7.V251.Types { /// <summary> /// HL7 Version 2 MOP - Money Or Percentage. /// </summary> public class MoneyOrPercentage : IType { /// <inheritdoc/> public bool IsSubcomponent { get; set; } //...
40.626866
148
0.601029
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7/V251/Types/MoneyOrPercentage.cs
2,724
C#
using System.Threading.Tasks; using Abp.Application.Services; using Roc.CMS.Authorization.Accounts.Dto; namespace Roc.CMS.Authorization.Accounts { public interface IAccountAppService : IApplicationService { Task<IsTenantAvailableOutput> IsTenantAvailable(IsTenantAvailableInput input); Task<in...
31.333333
98
0.773404
[ "MIT" ]
RocChing/Roc.CMS
src/Roc.CMS.Application.Shared/Authorization/Accounts/IAccountAppService.cs
942
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...
29.912281
101
0.652199
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Model/CloseStatusFilter.cs
1,705
C#
using OcrWaterMeter.Server.Database; var dbFolder = Environment.GetEnvironmentVariable("DATADIR"); var liteDbName = Path.Combine(string.IsNullOrEmpty(dbFolder) ? Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) : dbFolder, "WaterMeter.db"); var builder = WebApplication.CreateBuilder(new WebApplica...
27.921569
161
0.749298
[ "Apache-2.0" ]
TheR00st3r/OcrWaterMeter
OcrWaterMeter/Server/Program.cs
1,424
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace ODataValidator.Rule { #region Namespaces using System; using System.ComponentModel.Composition; using Newtonsoft.Json.Linq; ...
27.42
132
0.443837
[ "MIT" ]
OData/ValidationTool
src/CodeRules/Entry/EntryCore4081.cs
5,486
C#
namespace BusinessConversation.CHN.Hotel { public class CSVQuizMCDataHolder { public readonly string location = ""; // 장소 public readonly string lesson = ""; // 레슨 public readonly string index = ""; // OX, 객관식 public readonly string question = ""; // 문제 ...
34.678571
107
0.493306
[ "Apache-2.0" ]
JungukHom/BusinessConversation
Assets/Scripts/IO/CSV/Quiz/MultipleChoice/CSVQuizMCDataHolder.cs
1,990
C#
using RissoleDatabaseHelper.Core.Attributes; using RissoleDatabaseHelper.Core.Enums; using System; using System.Text; namespace RissoleDatabaseHelper.Core.Models { internal class RissoleKey { public RissoleKey(PrimaryKeyAttribute keyAttribute) { Type = KeyType.PrimaryKey; }...
24.407407
59
0.631259
[ "MIT" ]
JiarongGu/RissoleDatabaseHelper
src/RissoleDatabaseHelper.Core/Models/RissoleKey.cs
661
C#
namespace TrafficManager.Manager.Impl { using ColossalFramework.Globalization; using ColossalFramework.Math; using ColossalFramework; using CSUtil.Commons; using JetBrains.Annotations; using System; using TrafficManager.API.Manager; using TrafficManager.API.Traffic.Data; using Traffi...
49.034872
206
0.500738
[ "MIT" ]
Katalyst6/TMPE
TLM/TLM/Manager/Impl/AdvancedParkingManager.cs
147,644
C#
using System.Diagnostics; namespace Cloudflare.Net.Objects { [DebuggerDisplay("{" + nameof(DebuggerDisplay) + "}")] public class CloudflareError { public int Code { get; set; } public string Message { get; set; } private string DebuggerDisplay => $"Error: {Code} | {Message}"; ...
20.375
71
0.616564
[ "Apache-2.0" ]
thoo0224/Cloudflare.Net
src/Cloudflare.Net/Objects/CloudflareError.cs
328
C#
using System; using System.Collections.Generic; using System.Linq; using HarmonyLib; using Verse; using RimWorld; using RimWorld.Planet; namespace Vehicles { public static class GizmoHelper { /// <summary> /// Trade dialog for AerialVehicle WorldObject /// </summary> /// <param name="aerialVehicle"></param>...
38.018634
257
0.73256
[ "MIT" ]
SmashPhil/Boats
Source/Vehicles/Utility/Helpers/GizmoHelper.cs
6,123
C#
/* * Copyright (c) 2020 BlackArrow * * Author: * Pablo Martinez (https://twitter.com/xassiz) * */ using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; using System.IO; using System.Diagnostics; using System.Text; using System.Col...
27.043956
133
0.598131
[ "MIT" ]
0xdf-0xdf/mssqlproxy
assembly.cs
2,461
C#
using System; using System.IO; namespace AlviSharp.Serializer.Cmd { class MainClass { public static void Main (string[] args) { //Convert to JSON string path = args [0]; var text = File.ReadAllText (path); XmlAlvisSerializer xmlAlivis = new XmlAlvisSerializer (); var alvisproject = xmlAlivis.D...
19.64
62
0.706721
[ "MIT" ]
arekbee/AlviSharp
Src/AlviSharp/Run/AlviSharp.Serializer.Cmd/Program.cs
493
C#
namespace Elf.Services.Models; public class MostRequestedLinkCount { public string FwToken { get; set; } public string Note { get; set; } public int RequestCount { get; set; } }
19.3
41
0.689119
[ "MIT" ]
EdiWang/Elf
src/Elf.Services/Models/MostRequestedLinkCount.cs
195
C#
using StoryBot.Core.Abstractions; using StoryBot.Core.Extensions; using StoryBot.Core.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using VkNet.Enums.SafetyEnums; using VkNet.Model.Keyboard; using VkNet.Model.RequestParams; namespace StoryBot.Vk.Logic { public class ...
37.678771
250
0.523241
[ "MIT" ]
AWhiteFox/StoryBot
Logic/VkMessageBuilder.cs
14,642
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
30.038462
112
0.622706
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/TypedLinkSchemaAndFacetName.cs
2,343
C#
// Copyright (c) Amer Koleci and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. namespace Vortice.DirectX.Direct2D { /// <summary> /// Describes the extend modes and the interpolation mode of an <see cref="ID2D1BitmapBrush"/>. /// </summa...
48.6
142
0.691358
[ "MIT" ]
Aminator/Vortice.Windows
src/Vortice.DirectX.Direct2D/BitmapBrushProperties1.cs
1,217
C#
//****************************************************************************************************** // VendorUserControl.cs - Gbtc // // Copyright © 2010, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See /...
42.042105
185
0.562093
[ "MIT" ]
GridProtectionAlliance/openPDC
Source/Applications/openPDCManager/WPF/UserControls/CommonControls/VendorUserControl.cs
3,997
C#
using Microsoft.EntityFrameworkCore; namespace Sales.Domain.ValueObjects { [Owned] public class Address { // Street public string Thoroughfare { get; set; } = null!; // Street number public string Premises { get; set; } = null!; // Suite pub...
23.806452
67
0.54065
[ "MIT" ]
marinasundstrom/PointOfSale
Sales/Sales/Domain/ValueObjects/Address.cs
738
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using CapaNegocio; namespace CapaPresentacion { public partial class FrmAgregarNuevaCategoria : Form...
25.125
113
0.59204
[ "MIT" ]
BryanGonzalezDeveloper/sistema-de-gestion-terminado
aplicacion-empresa/CapaPresentacion/FrmAgregarNuevaCategoria.cs
1,410
C#
//------------------------------------------------------------------------------ // <auto-generated /> // This file was automatically generated by the UpdateVendors tool. //------------------------------------------------------------------------------ #pragma warning disable CS0618, CS0649, CS1574, CS1580, CS1581, CS15...
33.946037
135
0.672529
[ "Apache-2.0" ]
DataDog/dd-trace-csharp
tracer/src/Datadog.Trace/Vendors/dnlib/DotNet/Emit/MethodBodyReaderBase.cs
20,130
C#
using System; using System.Collections.Generic; using System.Text; using Model; using DAL; namespace Bll.Impl { public class UsualScoreHistoryBll : BaseBll<UsualScoreHistory>, IUsualScoreHistoryBll { public UsualScoreHistoryBll(IUsualScoreHistoryDAL dal):base(dal) { } } }
20.666667
89
0.716129
[ "Apache-2.0" ]
lqh-xiaoemo/HaolaoshiApi
BLL/Impl/UsualScoreHistoryBll.cs
312
C#
/* MIT License Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net) All rights reserved. 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 li...
53.555556
312
0.489367
[ "MIT" ]
dodoni/dodoni.net
BasicMathLibrary/Basics/LowLevel/BLAS/BuildIn/BuildInLevel3BLAS.dsyr2k.cs
7,714
C#
using System; using System.Collections.ObjectModel; using System.Drawing.Imaging; using System.IO; using System.Threading; using Edi.Advance.BTEC.UiTests.Flows; using Edi.Advance.BTEC.UiTests.Framework; using Edi.Advance.Core.Common.Extentions; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome...
36.10687
130
0.519027
[ "BSD-3-Clause" ]
ir0n4ikoko/MyBTEC_SeleniumTests
TestBase.cs
4,732
C#
using Android.App; using Android.Content.PM; using Android.OS; using Prism; using Prism.Ioc; namespace MyCalendar.Mobile.Droid { [Activity(Label = "MyCalendar.Mobile", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Ori...
34.531915
199
0.687616
[ "MIT" ]
sunshineV9/MyCalendar
MyCalendar/MyCalendar.Mobile/MyCalendar.Mobile.Android/MainActivity.cs
1,625
C#
namespace ScriptUtils.Events { using UnityEngine; //TODO: Rename this to SetRotationFromList and add lerp functionality public class SetRotationFromEvent : MonoBehaviour { [SerializeField] private Quaternion[] m_rotations = null; public void SetRotation(int index) { tra...
31.25
73
0.672
[ "Apache-2.0" ]
Funbites-Game-Studio/com.funbites.unity-utils
Runtime/Transform/SetRotationFromEvent.cs
377
C#
 using STCM2LEditor.utils; namespace STCM2LEditor.classes.Action.Parameters { internal abstract class BaseParameter : IParameter { public virtual uint Value1 { get; set; } = 0xff000000; public virtual uint Value2 { get; set; } = 0xff000000; public virtual uint Value3 { get; set; } = 0x...
33.35
69
0.647676
[ "MIT" ]
InochiPM/STCM2LEditor
Diabolik Lovers STCM2L Editor/classes/Action/Parameters/BaseParameter.cs
669
C#
using System; using System.Linq; using RimWorld.Planet; using RimWorld.QuestGen; using UnityEngine; using Verse; namespace Cities { public class QuestNode_GetNearbyCity : QuestNode_GetNearbySettlement { public SlateRef<bool> visitable = true; public SlateRef<bool> abandoned = false; public...
34.357143
101
0.585239
[ "MIT" ]
Proxyer/rimworld-cities
Source/Quest/Interop/QuestNode_GetNearbyCity.cs
1,924
C#
using System; using System.Data; using System.Data.SqlClient; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.EntityFrameworkCore.SqlServer.Design.Internal; using Microsoft.Extensions.DependencyInjection; namespace Aranasoft.Cobweb.EntityFrameworkCore.Validation.Tests.S...
38.977273
99
0.721283
[ "BSD-3-Clause" ]
skykingjwc/cobweb
src/entityframeworkcore/test/entityframeworkcore2.validation.tests/Support/SqlServer/SqlServerLocalDbFixture.cs
1,715
C#
namespace MultichatVisual.UI.Auth { partial class Auth { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
39.35514
107
0.554025
[ "BSD-3-Clause" ]
OlehMarchenko95/ort_csharp_js
Other solutions/MultichatVisual/MultichatVisual/UI/Auth/Auth.Designer.cs
4,213
C#
#Mon Jan 31 19:49:42 CST 2022 lib/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2_1.0.60.jar=115ad4b8fca14185e85d36e73b59e227 lib/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2_1.0.60.jar=4fe9b1220343490d55e4f2c2973def12 lib/com.ibm.ws.org.apache.cxf.cxf.rt.rs.service.description.3.2_1.0.60.jar=ebe0da8df48257cc56b1...
76.25
107
0.846557
[ "EPL-1.0" ]
kathrynkodama/OpenLiberty-System-Microservice-DEBUG
target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.internal.jaxrs-2.1.cs
1,525
C#
public class GenericPoser : Poser // TypeDefIndex: 9526 { // Fields public GenericPoser.Map[] maps; // 0x50 // Methods [ContextMenu] // RVA: 0x1ABCD0 Offset: 0x1ABDD1 VA: 0x1ABCD0 // RVA: 0x2B2F690 Offset: 0x2B2F791 VA: 0x2B2F690 Slot: 7 public override void AutoMapping() { } // RVA: 0x2B2FAE0 Offset: 0x2B2FB...
28.935484
70
0.724638
[ "MIT" ]
SinsofSloth/RF5-global-metadata
RootMotion/FinalIK/GenericPoser.cs
897
C#
#region Utf8Json License https://github.com/neuecc/Utf8Json/blob/master/LICENSE // MIT License // // Copyright (c) 2017 Yoshifumi Kawai // // 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 w...
30.773764
105
0.503552
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Elasticsearch.Net/Utf8Json/JsonWriter.cs
16,187
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Runtime.Remoting.Contexts; using System.Text; using System.Windows.Forms; using OpenORPG.Database.DAL; using OpenORPG.Database.Models.Quests.Rewards; using Server.Game.D...
30.509091
89
0.675805
[ "MIT" ]
hilts-vaughan/OpenORPG
OpenORPG.Toolkit/Views/Content/QuestEditorForm.cs
1,680
C#
using System.IO; using I2.Loc; namespace SolastaScoutSentinelSubclass { internal static class Translations { internal static void Load(string fromFolder) { var languageSourceData = LocalizationManager.Sources[0]; foreach (var path in Directory.EnumerateFiles(fromFolder,...
33.265306
103
0.44908
[ "MIT" ]
DubhHerder/SolastaScoutSentinelSubclass
SolastaScoutSentinelSubclass/Translations.cs
1,630
C#
using System; using MediaManager.Media; namespace MediaManager.Library { public delegate void MetadataUpdatedEventHandler(object sender, MetadataChangedEventArgs e); public interface IMediaItem : IContentItem { /// <summary> /// Gets or sets a value indicating whether [metadata extracted]...
38.178571
168
0.597889
[ "MIT" ]
AswinPG/XamarinMediaManager
MediaManager/Library/IMediaItem.cs
7,485
C#
#if NETSTANDARD using System; using System.Collections.Generic; using System.ComponentModel; using System.Fabric; using ServiceStack.Configuration; namespace ServiceStack.Webhooks.Azure.Settings { public class FabricAppSettings : IAppSettings { private readonly FabricConfigurationSettings settings; ...
25.168539
93
0.565625
[ "Apache-2.0" ]
jezzsantos/ServiceStack.Webhooks.Azure
src/Webhooks.Azure/Settings/FabricAppSettings.cs
2,242
C#
using System; using UnityEngine; namespace UnityEditor.ShaderGraph { [Serializable] [GenerationAPI] internal struct DropdownEntry { public int id; // Used to determine what MaterialSlot an entry belongs to public string displayName; // In this case, we will handle the actual ID...
23.148148
81
0.6016
[ "MIT" ]
PULSAR2105/Boids-Bug
Library/PackageCache/com.unity.shadergraph@12.1.1/Editor/Generation/Data/DropdownEntry.cs
625
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using Azure.Core.Http.Pipeline; using System; using System.Buffers; using System.ComponentModel; using System.Diagnostics; using System.Threading.Tas...
34.448718
114
0.616673
[ "MIT" ]
maririos/azure-sdk-for-net-lab
Core/Azure.Core/Net/PipelineOptions.cs
2,689
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> //--...
40.37037
151
0.588991
[ "MIT" ]
tariqhamid/.NetScaffolder
Projects/Presentation/Forms/Properties/Settings.Designer.cs
1,092
C#
namespace ASF.UI.WbSite.Constants.ErrorController { public static class ErrorControllerAction { public const string BadRequest = "BadRequest"; public const string Forbidden = "Forbidden"; public const string InternalServerError = "InternalServerError"; public const string Method...
39.166667
72
0.706383
[ "MIT" ]
MagninM/MCGA2017
Presentation/ASF.UI.WbSite/Constants/ErrorController/ErrorControllerAction.cs
472
C#
using System; namespace Telegram.Net.Core.MTProto.Crypto { public class FactorizedPair { private readonly BigInteger p; private readonly BigInteger q; public FactorizedPair(BigInteger p, BigInteger q) { this.p = p; this.q = q; } public ...
26.201439
109
0.308622
[ "Unlicense" ]
ctphu/Telegram.Net
Telegram.Net.Core/MTProto/Crypto/Factorizator.cs
3,644
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using VisualControl.AeroBasic; namespace VisualControl.Test { public partial class form...
20.222222
63
0.635531
[ "MIT" ]
ManuelSoftwareDev/AeroVisualStyle
VisualControl.Test/formMain.cs
548
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.Composition; using System.Threading.Tasks; using Microsoft.VisualStudio.Build; namespace Microsoft.VisualStudio.ProjectSystem.C...
50.965517
161
0.658322
[ "Apache-2.0" ]
bording/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Configuration/ConfigurationProjectConfigurationDimensionProvider.cs
5,914
C#
using MediaPlayer.Server; using Microsoft.AspNetCore.Mvc; using MusicPlayer.Core; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace MusicPlayer.MediaWorker { public class MusicWorkerService : IM...
35.141667
176
0.535215
[ "Apache-2.0" ]
adesfontaines/ReactMediaPlayer
MediaPlayer.Server/MediaWorker/MusicWorkerService.cs
4,219
C#
namespace HMPPS.HealthCheck { public class HealthCheckConfig { public string MongoDbConnectionString { get; set; } public string RedisDbConnectionString { get; set; } public string IdamHealthCheckUrl { get; set; } } }
25.4
59
0.673228
[ "MIT" ]
glenjamin/hmpps-hub
src/HMPPS.Monitoring/HMPPS.HealthCheck/HealthCheckConfig.cs
254
C#
#pragma checksum "..\..\Case.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8BC856CCDA1D40D5E8BC0627F4A2E33E" //------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.42000 // // Les modifica...
38.881579
141
0.666667
[ "MIT" ]
OwenGombas/Puissance4
Puissance4/obj/Debug/Case.g.cs
2,968
C#
using Aiursoft.DocGenerator.Attributes; using Aiursoft.DocGenerator.Services; using Aiursoft.DocGenerator.Tools; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentMod...
39.262548
160
0.524929
[ "MIT" ]
AiursoftWeb/Infrastructures
src/WebExtends/DocGenerator/Middlewares/APIDocGeneratorMiddleware.cs
10,171
C#
using System; using UnityEngine; using UnityEngine.Events; using Valve.VR.InteractionSystem; namespace codepa { [RequireComponent(typeof(Interactable))] public class VRJoystick : MonoBehaviour { [Serializable] class ValueEvent : UnityEvent<Vector2> { } [SerializeField] Transform pivotPoint; [Space] [Seria...
29.246032
166
0.715332
[ "MIT" ]
UnTalPaco/simple-steam-vr-joystick
Assets/[VR Joystick]/VRJoystick.cs
3,687
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // MailMessageTest.cs - Unit Test Cases for System.Net.MailAddress.MailMessage // // Authors: // John Luke (john.luke@gmail.com) // // (C) 2005, 2006 John Luke // using System.I...
35.07931
98
0.586454
[ "MIT" ]
belav/runtime
src/libraries/System.Net.Mail/tests/Functional/MailMessageTest.cs
10,173
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using FlowDesign.Model; using FlowDesign.Model.Flow; using System.Xml.Serialization; using System.Xml; namespace FlowDesign.DataAccess.Converter { /// <summary> /// Konvertiert ...
30.428571
78
0.617958
[ "MIT" ]
FlowDesign-HS-Esslingen/FlowDesignModelingTool
Source/FlowDesign.DataAccess/Converter/XmlConverter.cs
1,707
C#
using System; namespace NScan.Lib.Union4 { public abstract class Union<T1, T2, T3, T4> { private readonly object? _value = null; protected Union(T1 o) { AssertNotNull(o!); _value = o; } protected Union(T2 o) { AssertNotNull(o!); _value = o; } protected Unio...
21
106
0.539683
[ "MIT" ]
pascalberger/nscan
src/NScan.Lib/Union4/Union.cs
1,514
C#
// ----------------------------------------------------------------- // <copyright file="ConnectedClient.cs" company="2Dudes"> // Copyright (c) | Jose L. Nunez de Caceres et al. // https://linkedin.com/in/nunezdecaceres // // All Rights Reserved. // // Licensed under the MIT License. See LICENSE in the project root fo...
35.691892
132
0.564138
[ "MIT" ]
Codinablack/fibula-server
src/Fibula.Communications/ConnectedClient.cs
6,605
C#
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class _samples_aspx_sample03 : System.Web....
30.634921
140
0.725907
[ "MIT" ]
dsalunga/mPortal
Portal/WebSystem/FCKeditor.Net_2.6.3/_samples/aspx/2.0/sample03.aspx.cs
1,930
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associadas a um assembly. [assembly: AssemblyTitle("ListarCor...
38.135135
95
0.752658
[ "MIT" ]
Brunobagesteiro/Aula70483
ListarCores/ListarCores/Properties/AssemblyInfo.cs
1,436
C#
using System; namespace EventDrivenThinking.EventInference.Schema { public static class ServiceConventions { static ServiceConventions() { GetCategoryFromNamespaceFunc = ns => { var ix = ns.LastIndexOf('.'); if (ix > 0) ...
31.628571
84
0.598916
[ "MIT" ]
eventmodeling/eventdriventhinking
EventDrivenThinking/EventInference/Schema/ServiceConventions.cs
1,109
C#
using Abp.Authorization; using iMasterEnglishNG.Authorization.Roles; using iMasterEnglishNG.Authorization.Users; namespace iMasterEnglishNG.Authorization { public class PermissionChecker : PermissionChecker<Role, User> { public PermissionChecker(UserManager userManager) : base(userManager)...
23.266667
66
0.716332
[ "MIT" ]
RenJieJiang/iMasterEnglishNG
aspnet-core/src/iMasterEnglishNG.Core/Authorization/PermissionChecker.cs
351
C#
namespace PiRhoSoft.CompositionEngine { public static class Composition { public const string DocumentationUrl = "http://localhost:3000/#/v10/manual/"; } }
20.25
79
0.753086
[ "MIT" ]
larsolm/Archives
Monster RPG Game Kit/MonsterRPGGameKit/Assets/PiRhoSoft Composition/Scripts/Engine/Composition.cs
164
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Fsmb.Apis.Ua.Clients.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; us...
30.626667
185
0.543753
[ "MIT" ]
fsmb/ua-api
samples/csharp/UaApiSample/Generated/Models/FifthPathway.cs
2,299
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("Ard...
37.675676
84
0.748207
[ "MIT" ]
AliFlux/ArduLogReader
ArduLogReader/Properties/AssemblyInfo.cs
1,397
C#
// <copyright file="DependenciesAdapter.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // 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...
47.58209
198
0.693538
[ "Apache-2.0" ]
AndyPook/opentelemetry-dotnet
src/OpenTelemetry.Adapter.Dependencies/DependenciesAdapter.cs
3,190
C#
using System.Collections.Generic; using System.Configuration; using System.Linq; namespace NConfig { /// <summary> /// ConfigurationCollection having typed indexer and enumerator. /// </summary> /// <typeparam name="T">Type of the configuration element having a key.</typeparam> public a...
33.351064
116
0.54992
[ "MIT" ]
Yegoroff/NConfig
NConfig/MergeableConfigurationCollection.cs
3,135
C#
using LBH.AdultSocialCare.Transactions.Api.V1.AppConstants.Enums; using LBH.AdultSocialCare.Transactions.Api.V1.Exceptions.CustomExceptions; using LBH.AdultSocialCare.Transactions.Api.V1.Gateways.PayRunGateways; using LBH.AdultSocialCare.Transactions.Api.V1.UseCase.PayRunUseCases.Interfaces; using Microsoft.AspNetCore....
45.265625
146
0.675181
[ "MIT" ]
LBHackney-IT/lbh-adult-social-care-transactions-api
LBH.AdultSocialCare.Transactions.Api/V1/UseCase/PayRunUseCases/Concrete/ChangePayRunStatusUseCase.cs
2,897
C#
using System.Collections.Generic; using mesoBoard.Data; namespace mesoBoard.Web.Areas.Admin.Models { public class PluginConfigsViewModel { public IEnumerable<PluginConfig> Configs { get; set; } public string[] ConfigGroups { get; set; } } }
24.545455
62
0.7
[ "BSD-3-Clause" ]
craigmoliver/mesoBoard
mesoBoard.Web/Areas/Admin/Models/Configs/PluginConfigsViewModel.cs
272
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
30.8
116
0.642857
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Mwaa/Inputs/EnvironmentLoggingConfigurationWebserverLogsArgs.cs
1,078
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
52.45082
430
0.582435
[ "MIT" ]
Agazoth/azure-powershell
src/Datadog/generated/runtime/BuildTime/MarkdownRenderer.cs
6,278
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class PersonnelSystemController : DeviceSystemBaseController { public PersonnelSystemController(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, par...
22.866667
112
0.749271
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/PersonnelSystemController.cs
329
C#
//Copyright 2017 Spin Services Limited //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 //Unless required by applicable law or agreed to in w...
34.814815
165
0.594326
[ "Apache-2.0" ]
sportingsolutions/SS.Integration.Adapter
SS.Integration.Adapter/Actors/SportProcessorRouterActor.cs
5,642
C#
/* * Developer: Ramtin Jokar [ Ramtinak@live.com ] [ My Telegram Account: https://t.me/ramtinak ] * * Github source: https://github.com/ramtinak/InstagramApiSharp * Nuget package: https://www.nuget.org/packages/InstagramApiSharp * * IRANIAN DEVELOPERS */ using System; using System.Collections.Generic; using ...
30.896552
98
0.585379
[ "MIT" ]
AMP-VTV/InstagramApiSharp
src/InstagramApiSharp/Converters/Json/InstaUserPresenceContainerDataConverter.cs
1,794
C#