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.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Json; using System.Text; using System.Threading.Tasks; using AutoMapper; using GeneralStockMarket.Bll.Interfaces; using GeneralStockMarket.DTO.ProductItem; using GeneralStockMarket.DTO.Request; using Gener...
49.467742
164
0.67835
[ "MIT" ]
SenRecep/GeneralStockMarketSystem
API/WEBAPI/Layers/GeneralStockMarket.Bll/Managers/RequestManager.cs
6,136
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windo...
31.589041
280
0.651778
[ "MIT" ]
nordleif/PanelDesigner
PanelDesigner/ToolboxControl.xaml.cs
2,308
C#
namespace Dissonance.Audio.Capture { public enum AecSuppressionLevels { // Implementation note - these specific values are important - the WebRtcPreprocessor uses these exact same // int values. Don't change them without also changing them there and recompiling on all platforms! Disabl...
26.266667
115
0.647208
[ "MIT" ]
edowney29/Cops-and-Robert
Assets/Plugins/Dissonance/Core/Audio/Capture/AecSuppressionLevels.cs
396
C#
namespace Bible2PPT.Bibles { class Bible : BibleBase { public string OnlineId { get; set; } public string Name { get; set; } //public List<Book> Books => Source.GetBooks(this); public override string ToString() => Name ?? base.ToString(); } }
23.230769
70
0.569536
[ "MIT" ]
sunghwan2789/Bible2PPT
Bible2PPT/Bibles/Bible.cs
292
C#
using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime.French { public class FrenchSetParserConfiguration : BaseOptionsConfiguration, ISetParserConfiguration { public IDateTimeExtractor DurationExtractor { get; } public IDateTim...
34
110
0.586331
[ "MIT" ]
Irrelevances/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchSetParserConfiguration.cs
4,728
C#
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using telledge.Models; //プロジェクトのテスト対象 namespace UnitTest.Teachers { [TestClass] public class TeacherGetRooms { [TestMethod] public void Tes...
22.645161
52
0.609687
[ "MIT" ]
18jn02-8/telledge
UnitTest/Teacher/GetRooms.cs
726
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/mfapi.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.Versioning; na...
35.4
145
0.714689
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/mfapi/MF_FLOAT2.cs
710
C#
using System; using System.IO; ////using GM.LoadDatabase; using GM.Utilities; namespace GM.Utilities.DevelopLoadDatabase { class Program { static void Main(string[] args) { ////LoadDatabase loadDatabase = new LoadDatabase(); string projectFolder = GMFileAccess.FindParen...
26.95
98
0.667904
[ "MIT" ]
govmeeting/govmeeting
Utilities/DevelopLoadDatabase/Program.cs
541
C#
// // ClientTargetTest.cs // - unit tests for System.Web.Configuration.ClientTarget // // Author: // Chris Toshok <toshok@ximian.com> // // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docum...
29.118421
73
0.729779
[ "Apache-2.0" ]
AvolitesMarkDaniel/mono
mcs/class/System.Web/Test/System.Web.Configuration/ClientTargetTest.cs
2,213
C#
 using System.Collections.Generic; using IdentityServer4.Models; namespace IdentityServer { public class Config { private const string ClientUsername = "MicroserviceClient"; private const string ClientPassword = "p@ssw0rd"; private const string ClientResource1 = "Microservice1"; ...
29.12766
72
0.547845
[ "Apache-2.0" ]
vicentegnz/MicroservicesArchitecture
IdentityServer/Config.cs
1,371
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace MicroRabbit { public ...
25.309524
116
0.742239
[ "MIT" ]
bunda3d/MicroRabbit
MicroRabbit/MicroRabbit/Startup.cs
1,063
C#
using System; using System.Data; using System.Data.Common; using System.Data.SqlClient; using Projac.Sql; namespace Projac.SqlClient { /// <summary> /// Represents the T-SQL NVARCHAR NULL parameter value. /// </summary> public class TSqlNVarCharNullValue : IDbParameterValue { private re...
33.142857
125
0.517529
[ "BSD-3-Clause" ]
BitTacklr/Projac
src/Projac.SqlClient/TSqlNVarCharNullValue.cs
3,480
C#
using System; using System.Threading.Tasks; namespace DigitalArchitecture.Services { public abstract class Cache: ICache { public abstract void Add(object objectToCache, string key); public abstract void Add<T>(object objectToCache, string key); public abstract void Add<T>(object object...
32.758065
135
0.557361
[ "MIT" ]
QuinntyneBrown/digital-architecture
DigitalArchitecture/Services/Cache.cs
2,031
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Xml; using System.Xml.Linq; namespace Aoite.Reflection.Probing { /// <summary> /// Helper class for converting values between various types. /// </summary> public static class TypeConverter ...
37.60223
129
0.516658
[ "Apache-2.0" ]
jeenlee/Aoite
src/core/Aoite/Aoite/Reflection/Extensions/Services/Probing/TypeConverter.cs
10,117
C#
using MailKit; using MailKit.Net.Imap; using MailKit.Search; using MailKit.Security; using MimeKit; using System.Collections.Generic; namespace Mail2BigQuery { internal class ImapReceiver { internal ImapReceiver(string host, int port, string userName, string password) { _host = hos...
28.714286
86
0.591211
[ "MIT" ]
monmaru/Mail2BigQuery
Source/Mail2BigQuery/ImapReceiver.cs
1,208
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IMessageInfo.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project r...
36.619048
120
0.475943
[ "MIT" ]
kephas-software/kephas
src/Kephas.Messaging/Reflection/IMessageInfo.cs
771
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.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
26.588235
74
0.673673
[ "MIT" ]
216Giorgiy/azure-sdk-for-net
src/SDKs/Logic/Management.Logic/Generated/Models/KeyType.cs
904
C#
/* * Copyright (c) Citrix Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright * notice,...
40.155172
71
0.665092
[ "BSD-2-Clause" ]
CitrixChris/xenadmin
XenModel/XenAPI-Extensions/pvs_proxy_status.cs
2,329
C#
using Abp.Application.Services.Dto; using Abp.Events.Bus.Entities; using System; using System.Collections.Generic; using System.Text; namespace TigerAdmin.Auditing.Dto { public class EntityChangeListDto:EntityDto<long> { public long? UserId { get; set; } public string UserName { get; set; } ...
23.384615
62
0.677632
[ "Apache-2.0" ]
AllenHongjun/ddu
TigerAdminZero/5.8.1/aspnet-core/src/TigerAdmin.Application/Auditing/Dto/EntityChangeListDto.cs
610
C#
using System; using System.ComponentModel; using System.Threading.Tasks; using Wikiled.Mvvm.Core; namespace Wikiled.Mvvm.Async { /// <summary> /// Watches a task and raises property-changed notifications when the task completes. /// </summary> public sealed class NotifyTask : INotifyPropertyChanged ...
46.575251
241
0.616616
[ "MIT" ]
AndMu/Mvvm.Async
src/Wikiled.Mvvm.Async/NotifyTask.cs
13,928
C#
using System; namespace Dalion.HttpMessageSigning.Verification { /// <inheritdoc /> public class HeaderMissingSignatureVerificationFailure : SignatureVerificationFailure { /// <inheritdoc /> public HeaderMissingSignatureVerificationFailure(string message, Exception ex) : base( "HEA...
31.75
94
0.666667
[ "MIT" ]
DavidLievrouw/HttpMessageSigning
src/HttpMessageSigning.Verification/HeaderMissingSignatureVerificationFailure.cs
383
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using FluentValidation; using FluentValidation.Results; using SimpleInjector; namespace CoreSharp.Validation.Internal { internal class Validato...
33.890323
145
0.591852
[ "MIT" ]
maca88/CoreSharp
CoreSharp.Validation/Internal/ValidatorDecorator.cs
5,253
C#
/* The MIT License (MIT) Copyright 2021 Adam Reilly, Call to Action Software LLC 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 limitation the rights to use...
33.842105
460
0.631026
[ "MIT" ]
areilly711/CtaApi
Unity/CtaApi/Packages/com.calltoaction.ctaapi/CtaApi/Runtime/Scripts/Core/SystemID.cs
2,572
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Cryptography; us...
41.409836
146
0.69517
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/Windows/DecryptorPalWindows.Decode.cs
2,526
C#
using System; using System.Collections.Generic; using System.Linq; using LibHac.Fs; namespace LibHac.FsSystem { public class Aes128CtrExStorage : Aes128CtrStorage { private List<AesSubsectionEntry> SubsectionEntries { get; } private List<long> SubsectionOffsets { get; } priv...
34.139785
143
0.56378
[ "BSD-3-Clause" ]
CaitSith2/libhac
src/LibHac/FsSystem/Aes128CtrExStorage.cs
3,085
C#
using System; using System.Collections.Generic; using System.Text; namespace DIaLOGIKa.b2xtranslator.OfficeDrawing.Shapetypes { [OfficeShapeTypeAttribute(115)] public class FlowChartMultidocumentType : ShapeType { public FlowChartMultidocumentType() { this.ShapeConcen...
42.76
514
0.712816
[ "BSD-3-Clause" ]
datadiode/B2XTranslator
src/Common/OfficeDrawing/Shapetypes/FlowChartMultidocumentType.cs
1,069
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Polymorphism.AbstractTypes; namespace Polymorphism.Operations { public class AddOperation : OperationNode { public override double Evaluate() { return LeftNode....
20.722222
62
0.69437
[ "Unlicense" ]
yigityuksel/Fundamentals
Polymorphism/Operations/AddOperation.cs
375
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Buffers; using BenchmarkDotNet.Attributes; using MicroBenchmarks; namespace System.Text.Json.Tests { ...
27.526316
150
0.576163
[ "MIT" ]
333fred/performance
src/benchmarks/micro/libraries/System.Text.Json/Utf8JsonWriter/Perf.Guids.cs
1,571
C#
using System; using System.Linq; using Microsoft.Extensions.DependencyInjection; using Xels.Bitcoin.Base; using Xels.Bitcoin.Builder; using Xels.Bitcoin.Builder.Feature; namespace Xels.Bitcoin.IntegrationTests.Common { public static class OverrideServiceFeatureExtension { /// <summary> /// Add...
44.353448
142
0.571429
[ "MIT" ]
xels-io/SideChain-SmartContract
src/Xels.Bitcoin.IntegrationTests.Common/Extensions/OverrideServiceFeatureExtension.cs
5,147
C#
// ----------------------------------------------------------------------- // <copyright file="ItemsPanelTemplate.cs" company="Steven Kirk"> // Copyright 2013 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Perspex....
27.434783
75
0.486529
[ "MIT" ]
GeorgeHahn/Perspex
Perspex.Controls/ItemsPanelTemplate.cs
633
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Text; using Azure.Messaging.EventHubs; using Azure.Messaging.EventHubs.Consumer; using Azure.Messaging.Eve...
48.504202
203
0.643624
[ "MIT" ]
ChenglongLiu/azure-sdk-for-net
sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/tests/EventHubTests.cs
11,546
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
34.883721
100
0.532
[ "MIT" ]
Adoxio/xRM-Portals-Community-Edition
Samples/MasterPortal/Areas/Blogs/Pages/Blogs.aspx.designer.cs
1,502
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HingePush : MonoBehaviour { public Rigidbody2D rb2d; public float leftPushRange; public float rightPushRange; public float velocityThreshold; // Start is called before the first frame update void Sta...
24.045455
56
0.621928
[ "MIT" ]
Pzq-jw/CBX_RL
Assets/GamePlay/Scripts/Utilities/NoUse/HingePush.cs
1,060
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.PerformanceManagement { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerSt...
21.319149
136
0.727545
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.PerformanceManagement/Get_Competencies_ResponseType.cs
3,006
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Threading.Tasks; using WasmClientEFCore.Db; namespace WasmClientEFCore.Server.Controllers { [ApiController] [Route("[controller]")] public class OrderController : ControllerBase { ...
24.107143
84
0.645926
[ "MIT" ]
aherrick/WasmClientEFCore
WasmClientEFCore.Server/Controllers/OrderController.cs
677
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace FScruiser.XF.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class SettingsView : ContentPage { public SettingsVie...
18.2
50
0.769231
[ "CC0-1.0" ]
FMSC-Measurements/NatCruise
src/FScruiser.Xamarin/Views/SettingsView.xaml.cs
366
C#
using System; namespace SharpPdb.Windows.SymbolRecords { /// <summary> /// Corresponds to the CV_PUBSYMFLAGS bitfield. /// </summary> [Flags] public enum PublicSymbolFlags : uint { /// <summary> /// No flags. /// </summary> None = 0, /// <summary> ...
21.459459
60
0.496222
[ "MIT" ]
codehz/SharpPdb
Source/Windows/SymbolRecords/PublicSymbolFlags.cs
796
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; using Dolittle.Runtime.Events.Processing.EventHandlers; using Dolittle.Runtime.Events.Store.Streams; using Integrati...
44.27027
195
0.790598
[ "MIT" ]
dolittle-runtime/Runtime
Integration/Tests/Events.Processing/EventHandlers/with_a_single/scoped/not_partitioned/event_handler/with_implicit_filter/processing_all_event_types/and_failing/after_2_events.cs
1,638
C#
using System; using System.IO; using System.Linq; using Microsoft.WindowsAPICodePack.Shell; using Microsoft.WindowsAPICodePack.Shell.PropertySystem; namespace GoPRO_MP4_Renamer { class Program { static void Main(string[] args) { if (args.Length != 1) { C...
39.84375
163
0.527582
[ "Unlicense" ]
rdyhalt/GoPRO-MP4-Renamer
GoPRO-MP4-Renamer/Program.cs
3,827
C#
using CHModel; using System.Collections.Generic; using System.Threading.Tasks; using System.Data; using Microsoft.Data.SqlClient; using System; namespace CHDL { //sql repo is to connect to the database and coordinate data/tables to maniuplate and update the data connected to the //user input through the meth...
34.597561
140
0.529315
[ "MIT" ]
220328-uta-sh-net-ext/EdithKennedyTynes
Project_0/ChopHouseDraft/CHDL/SqlRepository.cs
8,513
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; namespace WebAddressbookTests { public class NavigationHelper : HelperBase { private string baseUR...
24.27451
91
0.531502
[ "Apache-2.0" ]
anastasiyaburaya/charp_training
addressbook-web-tests/addressbook-web-tests/appmanager/NavigationHelper.cs
1,240
C#
// // The MIT License (MIT) // // 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 limitation // the rights to use, copy, modify, merge, publish, dist...
32.992647
95
0.63918
[ "MIT" ]
alexis-/Orc.Metadata.Model
src/Orc.Metadata.Model/Orc.Metadata.Model.Shared/Models/Model/ModelObjectWithMetadata.cs
4,489
C#
namespace CalculatorApp.Constants { public static class HomeControllerConstants { public const string ResultString = "{0} {1} {2} = {3:f2}"; public const string ResultOneNumberString = "{0} {1} = {2:f2}"; public const string InvalidOperationMessage = "Invalid operation!"; pub...
28.45
75
0.671353
[ "MIT" ]
MJordanov81/SimpleCalculator
CalculatorApp/Constants/HomeControllerConstants.cs
571
C#
using Sys.Workflow.Cloud.Services.Api.Events; using Sys.Workflow.Cloud.Services.Events.Configurations; using Sys.Workflow.Engine.Delegate.Events; namespace Sys.Workflow.Cloud.Services.Events.Converters { /// <summary> /// /// </summary> public abstract class AbstractEventConverter : IEventConverter ...
22.566038
86
0.573579
[ "Apache-2.0" ]
18502079446/cusss
NActiviti/Sys.Bpm.Rest.API/events/converter/AbstractEventConverter.cs
1,198
C#
using BoSSS.Foundation.Grid; using BoSSS.Foundation.XDG; using BoSSS.Foundation.XDG.OperatorFactory; using BoSSS.Solution.XNSECommon; using ilPSP; using System; using System.Collections; using System.Collections.Generic; namespace BoSSS.Application.XNSEC { /// <summary> /// Reynolds number fo...
29.771429
149
0.642035
[ "Apache-2.0" ]
FDYdarmstadt/BoSSS
src/L4-application/XNSEC2/Coefficients.cs
1,010
C#
using System.Runtime.CompilerServices; using Xamarin.Forms; [assembly: InternalsVisibleTo ("Xamarin.Forms.ControlGallery.Android")] [assembly: XmlnsDefinition("http://xamarin.com/schemas/2014/forms/customurl1", "Xamarin.Forms.Controls.CustomNamespace1")] [assembly: XmlnsDefinition("http://xamarin.com/schemas/2014/for...
55.888889
122
0.809145
[ "MIT" ]
Arobono/Xamarin.Forms
Xamarin.Forms.Controls/Properties/AssemblyInfo.cs
503
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("G6IdlToCpp")] [assembly: AssemblyDescript...
36.181818
84
0.737856
[ "MIT" ]
kpengk/Mercury
VsPlugin/G6IdlToCpp/Properties/AssemblyInfo.cs
1,196
C#
using System.Globalization; using System.Linq; using FirebirdSql.EntityFrameworkCore.Firebird.Extensions; using Microsoft.EntityFrameworkCore; using SuperPowerEditor.Base.DataAccess.Entities; namespace SuperPowerEditor.Base.DataAccess { public class SuperPowerEditorDbContext : DbContext { private read...
46.734513
85
0.63132
[ "MIT" ]
Blind-Striker/super-power-2-editor
src/Base/DataAccess/SuperPowerEditorDbContext.cs
5,283
C#
using System; using CoreGraphics; using Foundation; using UIKit; using Xamarin.Forms.Internals; namespace Xamarin.Forms.Platform.iOS { public abstract class TemplatedCell : ItemsViewCell { public event EventHandler<EventArgs> ContentSizeChanged; protected CGSize ConstrainedSize; protected nfloat Constrained...
27.935484
112
0.737298
[ "MIT" ]
Ezeji/Xamarin.Forms
Xamarin.Forms.Platform.iOS/CollectionView/TemplatedCell.cs
5,198
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AppWPF.Model { public class OnlineCourse { public int CourseID { get; set; } public string URL { get; set; } public virtual Course Course { get; set; }//Relació...
21.25
70
0.670588
[ "MIT" ]
johnsvill/app-wpf
Model/OnlineCourse.cs
343
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.418848
192
0.576764
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DataShare/GetShareSubscription.cs
5,810
C#
// Copyright (c) Pomelo Foundation. All rights reserved. // Licensed under the MIT. See LICENSE in the project root for license information. using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Pomelo.EntityFrameworkCore.MySql.Storage.Internal { /// <...
42.188406
105
0.611474
[ "MIT" ]
DeeJayTC/Pomelo.EntityFrameworkCore.MySql
src/EFCore.MySql/Storage/Internal/MySqlBoolTypeMapping.cs
2,911
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; using Microsoft.VisualStudio.Commanding; using Microsoft.VisualStudio.Text.Editor.Commanding.Commands; using VSCommanding = Microsoft.VisualStu...
36.9
161
0.718157
[ "Apache-2.0" ]
AdamSpeight2008/roslyn-1
src/VisualStudio/CSharp/Impl/EventHookup/EventHookupCommandHandler_ShadowedCommands.cs
1,109
C#
namespace Loon.Core.Input { using Loon.Utils.Collection; using Microsoft.Xna.Framework.Input; public class LKey { internal int type; internal int keyCode; internal char keyChar; internal double timer; public LKey(byte[] o) { In(o); ...
19.58
79
0.430541
[ "Apache-2.0" ]
TheMadTitanSkid/LGame
C#/WindowsPhone/LGame-XNA-lib/Loon.Core.Input/LKey.cs
1,958
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WeatherBot.Services.Wit { public class WitIntent { public decimal confidence { get; set; } public string value { get; set; } } }
19.461538
47
0.675889
[ "MIT" ]
wojciech-stelmaszewski/chatbots_sandbox
WeatherBot/Services/Wit/WitIntent.cs
255
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 ...
46.634146
189
0.810146
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-domain/Domain/Transform/V20180129/SaveSingleTaskForQueryingTransferAuthorizationCodeResponseUnmarshaller.cs
1,912
C#
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Nest; using Tests.Framework.Integration; using Tests.Framework.MockData; using static Nest.Infer; namespace Tests.Aggregations.Bucket.Range { public class RangeAggregationUsageTests : AggregationUsageTestBase { public...
26.797297
97
0.631871
[ "Apache-2.0" ]
RossLieberman/NEST
src/Tests/Aggregations/Bucket/Range/RangeAggregationUsageTests.cs
1,985
C#
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // 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 wi...
30.761905
120
0.70345
[ "MIT" ]
isse-augsburg/ssharp
SafetySharpTests/Analysis/Dcca/exception.cs
4,524
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using Core; using Domain; using Service; namespace WebUI.Areas.Admin.Models.NormTypeVM { public class NormTypeForEditViewModel { #region Properties /// <summary> ...
25.6
97
0.520089
[ "Apache-2.0" ]
yiyungent/TES
src/WebUI/Areas/Admin/Models/NormTypeVM/NormTypeForEditViewModel.cs
2,822
C#
/* MIT License Copyright (c) 2016 JetBrains http://www.jetbrains.com 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 limitation the rights to use, copy, mo...
39.179343
120
0.708096
[ "MIT" ]
mashbrno/EasyLocalization
EasyLocalization.Demo/Properties/Annotations.cs
41,728
C#
using System; using System.Collections.Generic; using System.Linq; using BNA.Common; using BNA.Exceptions; namespace BNA.Compile { /// <summary> /// A collection of tokens that make up a whole valid statement or instruction. /// Each statement maps to a "line of code". /// </summary> public struct Statement { ...
26.512
100
0.666566
[ "MIT" ]
jfmekker/bna-language
BNA/Compile/Statement.cs
3,316
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...
40.666667
198
0.628046
[ "Apache-2.0" ]
Algoman2010/Lean
Brokerages/Oanda/OandaBrokerageFactory.cs
4,516
C#
// Copyright (c) 2012-2020 VLINGO LABS. All rights reserved. // // This Source Code Form is subject to the terms of the // Mozilla Public License, v. 2.0. If a copy of the MPL // was not distributed with this file, You can obtain // one at https://mozilla.org/MPL/2.0/. using System; using System.Collections.Generic; ...
39.662921
173
0.574788
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Luteceo/vlingo-all
vlingo-net-http/src/Vlingo.Http/Resource/RequestHandler4.cs
7,062
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; namespace EC { public class Persistent : MonoBehaviour { static private Persistent _instance; private readonly Dictionary<Type, Component> ComponentDictionary = new Dictionary<Type, Component>(); private void Awake(...
21.297872
103
0.702298
[ "MIT" ]
rygo6/HoldBlack-Unity
Assets/HoldBlack/Scripts/Component/Persistent.cs
1,003
C#
using System.Collections.Generic; using UnityEditor; using UnityEngine; [CustomEditor(typeof(SoundLibrary))] public class SoundLibraryInspector : Editor { string textSearch; HashSet<string> soundEntryNames = new HashSet<string>(); public override void OnInspectorGUI() { serializedObject.Updat...
35.240602
131
0.576488
[ "MIT" ]
alexjhetherington/FootnoteUtilities
FootnoteUtilities/Sound Manager/Editor/SoundLibraryInspector.cs
4,689
C#
using System; using System.Diagnostics; using System.IO.Ports; using System.Text; using static MeadowCLI.DeviceManagement.MeadowFileManager; using MeadowCLI.DeviceManagement; namespace MeadowCLI.Hcom { public class SendTargetData { const int HCOM_PROTOCOL_COMMAND_REQUIRED_HEADER_LENGTH = 12...
46.027304
148
0.536037
[ "Apache-2.0" ]
patridge/Meadow.CLI
Meadow.CLI.Core/Internals/MeadowComms/SendTargetData.cs
13,488
C#
namespace MicroLite.Tests.Collections { using MicroLite.Collections; using Xunit; public class StackCollectionTests { public class WhenAddingItems { private readonly StackCollection<string> collection = new StackCollection<string>(); [Fact] ...
30.135135
97
0.533632
[ "Apache-2.0" ]
orangesocks/MicroLite
MicroLite.Tests/Collections/StackCollectionTests.cs
1,081
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; #pragma warning disable 1591 namespace OpenCvSharp { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] internal unsafe struct WCvConDensation { public int MP; public int DP...
24.37037
65
0.662614
[ "BSD-3-Clause" ]
0sv/opencvsharp
src/OpenCvSharp/Src/PInvoke/Struct/Etc/WCvConDensation.cs
660
C#
using Mzg.Core.Data; using System; namespace Mzg.Data.Abstractions { /// <summary> /// 事务工作单元 /// </summary> public class UnitOfWork : IDisposable { private readonly IDbContext _dbContext; //禁止用注入的方式实例化 private UnitOfWork(IDbContext dbContext) { _dbCont...
21.333333
60
0.548295
[ "MIT" ]
lygwys/dlvm_lygwys
Libraries/DataCore/Mzg.Data.Abstractions/UnitOfWork.cs
740
C#
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: developers@squareup.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.Regular...
31.024194
109
0.565636
[ "Apache-2.0" ]
square/connect-csharp-sdk
src/Square.Connect/Model/V1ListCategoriesResponse.cs
3,847
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 Y...
38.637838
144
0.570649
[ "Apache-2.0" ]
68681395/npoi
testcases/ooxml/POIFS/Crypt/TestSecureTempZip.cs
7,148
C#
using System.Collections.Generic; using System.IO; namespace CarrierPidgeon.InterfaceLoad { public class FileSystem : IFileSystem { public IEnumerable<string> GetDllFiles() { var path = Path.Combine(Directory.GetCurrentDirectory(), "interfaces"); if(!Directory.Exists(p...
22.714286
83
0.584906
[ "MIT" ]
DillonAd/CarrierPidgeon
CarrierPidgeon/InterfaceLoad/FileSystem.cs
479
C#
using System; using SLua; using System.Collections.Generic; [UnityEngine.Scripting.Preserve] public class Lua_UnityEngine_AnimationEvent : LuaObject { [SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] [UnityEngine.Scripting.Preserve] static public int constructor(IntPtr l) { try { UnityEngine.Animatio...
28.561873
105
0.74274
[ "MIT" ]
MonkeyKingMKY/luaide-lite
test/slua/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_AnimationEvent.cs
8,542
C#
using AutoMapper; using Domain.AppTrainer; namespace Application.AppTrainer.Lores.Others { public class MappingProfile : Profile { public MappingProfile() { CreateMap<Tome, TomeLoresDto>(); } } }
23.2
47
0.663793
[ "MIT" ]
rafaelmmedeiros/Timetoplayone
Application/AppTrainer/Lores/Others/MappingProfile.cs
232
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; namespace RaycastVision { class Player { public static Vector2 Position = new Vector2(50, 50); public static float Rotation = 0;...
36.359281
132
0.459816
[ "MIT" ]
MrBrenan/RaycastVision
RaycastVision/Player.cs
6,074
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V28.Segment; using NHapi.Model.V28.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V28.Group { ///<summary> ///Represents the ORG_O20_RESPONSE Group. A Group is an ordered collect...
28.421053
154
0.685979
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V28/Group/ORG_O20_RESPONSE.cs
3,780
C#
using System; using System.Globalization; using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; using iTextSharp.text.pdf.draw; using OptigemLdapSync.Models; using static iTextSharp.text.Utilities; namespace OptigemLdapSync { internal class NewUserReport { private const float BaseFontSize...
42.674419
426
0.628883
[ "MIT" ]
feg-giessen/OptigemLdapSync
OptigemLdapSync/NewUserReport.cs
7,358
C#
using System; using System.Collections.Generic; using System.Net.Http.Headers; using KeyPayV2.Nz.Models.Common; using KeyPayV2.Nz.Enums; namespace KeyPayV2.Nz.Models.Common { public class AttachmentModel { public int? Id { get; set; } public string FriendlyName { get; set; } ...
27.105263
51
0.631068
[ "MIT" ]
KeyPay/keypay-dotnet-v2
src/keypay-dotnet/Nz/Models/Common/AttachmentModel.cs
515
C#
using System; using MongoDB.Bson.Serialization.Attributes; namespace ETModel { // 登录日志 public class Log_Login : EntityDB { public long Uid { set; get; } public string ip { set; get; } public string clientVersion { set; get; } } }
20.615385
49
0.626866
[ "MIT" ]
zhangfengqwer/NjmjNew
Server/Model/Njmj/Entity/Db/Log_Login.cs
278
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.125
249
0.652826
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20200501/GetFirewallPolicyRuleCollectionGroup.cs
3,468
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
42.670103
173
0.691568
[ "ECL-2.0", "Apache-2.0" ]
bubdm/TypePipe
Core.UnitTests/MutableReflection/Implementation/MemberFactory/MethodFactoryTest.cs
20,695
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SceneNormalControl : BaseSceneControl { private int houseCount; private int monsterCount; public override void onAwake() { base.onAwake(); MessageCenter.Instance.addListener(MsgCm...
31.480769
147
0.644166
[ "Apache-2.0" ]
Tritend/ZombieWar
Assets/Scripts/Scene/SceneControl/Scenes/SceneNormalControl.cs
3,478
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.584906
153
0.625476
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IGroupRejectedSendersCollectionRequest.cs
4,726
C#
using System; using System.Windows.Media; namespace Smellyriver.TankInspector.Pro.Modularity.Input { public abstract class CommandBase<TCommand, TArgument> where TCommand : ICommand { private static readonly Func<TArgument, bool> s_alwaysExecutable = o => true; private readonly Guid ...
27.938144
85
0.496679
[ "MIT" ]
smellyriver/tank-inspector-pro
src/Smellyriver.TankInspector.Pro/Modularity/Input/CommandBase.cs
2,712
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis; namespace Roslynator { internal static class EnumValueComparer { ...
26.724907
160
0.439282
[ "Apache-2.0" ]
JosefPihrt/Roslynator
src/Core/EnumValueComparer.cs
7,191
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.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore.TestModels.InheritanceRelationshipsModel; using M...
44.457143
125
0.451117
[ "Apache-2.0" ]
0b01/efcore
test/EFCore.Specification.Tests/Query/InheritanceRelationshipsQueryFixtureBase.cs
24,896
C#
using System; using System.Diagnostics.CodeAnalysis; namespace Spv.Generator { internal class DeterministicStringKey : IEquatable<DeterministicStringKey> { private string _value; public DeterministicStringKey(string value) { _value = value; } public overri...
23.548387
88
0.619178
[ "MIT" ]
Cellinnek/Ryujinx
Spv.Generator/DeterministicStringKey.cs
732
C#
using System; namespace Rollvolet.CRM.APIContracts.DTO.PlanningEvents { public class PlanningEventAttributesDto { public DateTime? Date { get; set; } public string MsObjectId { get; set; } public string Subject { get; set; } public string Period { get; set; } public stri...
30.533333
58
0.637555
[ "MIT" ]
rollvolet/crm-ap
src/Rollvolet.CRM.APIContracts/DTO/PlanningEvents/PlanningEventAttributesDto.cs
458
C#
using System.Collections.Generic; using System.Security.Claims; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Pims.Dal.Entities; using Pims.Dal.Entities.Models; using Pims.Dal.Helpers.Extensions; using Pims.Dal.Repositories; using Pims.Dal.Security; namespace Pims.Dal.Services { pu...
40.966102
181
0.650186
[ "Apache-2.0" ]
FuriousLlama/PSP
backend/dal/Services/ResearchFileService.cs
4,834
C#
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:CommonApi.Menu.cs 文件功能描述:自定义菜单API 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 修改标识:Senparc - 20150313 修改描述:开放代理请求超时时间 修改标识:Senparc - 20160720 修改描述:增加其...
41.300216
423
0.421452
[ "Apache-2.0" ]
007008aabb/WeiXinMPSDK
src/Senparc.Weixin.QY/Senparc.Weixin.QY/CommonAPIs/CommonApi.Menu.cs
20,310
C#
using DragonSpark.Model.Selection.Alterations; using LinqKit; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Linq.Expressions; namespace DragonSpark.Application.Entities.Queries.Compiled; sealed class ExpectedType<TIn, TOut> : IAlteration<Expression<Func<DbContext, TIn, IQueryable...
33.684211
102
0.765625
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Application/Entities/Queries/Compiled/ExpectedType.cs
642
C#
namespace Chapter02.Examples.SOLID.BreakingLID { public class Reader { public virtual string Read(string filePath) { // implementation how to read file contents // complex logic return ""; } } }
20.615385
55
0.55597
[ "MIT" ]
PacktWorkshops/The-C-Sharp-Workshop
Chapter02/Examples/SOLID/BreakingLID/Reader.cs
270
C#
namespace Service.ViewModels.Project { public class ProjectAssigneesViewModel { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } } }
26.5
45
0.611321
[ "MIT" ]
yrshaikh/Issue-Tracker
Src/Service/ViewModels/Project/ProjectAssigneesViewModel.cs
267
C#
// Copyright 2018 Andreas Müller // This file is a part of Amusoft and is licensed under Apache 2.0 // See https://github.com/taori/Amusoft.EventManagement/blob/master/LICENSE.MD for details using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Amusoft.EventManagement.C...
24.829268
97
0.752947
[ "Apache-2.0" ]
taori/Amusoft.EventManagement
src/Amusoft.EventManagement/Compatibility/ReflectionExtensions.cs
2,039
C#
using System; namespace Cosmos.Logging.Extensions.Exceptions.Core.Internals { internal static class TypeExtensions { #if NETSTANDARD1_3 public static TypeCode GetTypeCode(this Type type) { if (type is null) { return TypeCode.Empty; } ...
26.785714
85
0.415111
[ "Apache-2.0" ]
alexinea/Cosmos.Logging
src/Cosmos.Logging.Extensions.Exceptions/Cosmos/Logging/Extensions/Exceptions/Core/Internals/Extensions.Type.cs
2,250
C#
using ETModel; using System; using UnityEngine; namespace ET { [ActorMessageHandler] public class G2M_CreateUnitHandler : AMActorRpcHandler<Scene, G2M_CreateUnit, M2G_CreateUnit> { protected override async ETTask Run(Scene scene, G2M_CreateUnit request, M2G_CreateUnit response, Action reply) { Unit unit = E...
31.883721
113
0.743982
[ "MIT" ]
dayfox5317/et_ilruntime
Server/Hotfix/Demo/G2M_CreateUnitHandler.cs
1,423
C#
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using Abp.Runtime.Security; namespace TestApp.Web.Host....
41.037975
148
0.582048
[ "MIT" ]
hasan-ak1996/boilerplate
aspnet-core/src/TestApp.Web.Host/Startup/AuthConfigurer.cs
3,244
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; namespace DataStorage.Mappers { public class MessageDTOMapper : IMapper<MessageDTO> { public MessageDTO ReadItem(SqlDataReader rd) { ...
23.307692
55
0.546205
[ "MIT" ]
egdegd/Event-Bus
src/DAL/DataStorage/Mappers/MessageDTOMapper.cs
608
C#
using System; using Autodesk.Revit.DB; namespace SpatialElementGeometryCalculator { class SpatialBoundaryCache { public string roomName; public ElementId idElement; public ElementId idMaterial; public double dblNetArea; public double dblOpeningArea; public string AreaReport ...
20.384615
45
0.609434
[ "MIT" ]
jeremytammik/SpatialElementGeometryCalculator
SpatialElementGeometryCalculator/SpatialDataCache.cs
532
C#
using System.Collections.Generic; using System.Xml.Serialization; namespace DotNetForce.Common.Models.Xml { [XmlRoot(ElementName = "results", Namespace = "http://www.force.com/2009/06/asyncapi/dataload")] public class BatchResultList { [XmlElement("result")] public IList<BatchResult> Items...
23.833333
70
0.641026
[ "MIT" ]
ste80/DotNetForce
DotNetForce/Common/Models/Xml/BatchResultList.cs
431
C#