content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
namespace Microsoft.Maui.Controls { public partial class DatePicker { public static IPropertyMapper<IDatePicker, DatePickerHandler> ControlsDatePickerMapper = new PropertyMapper<DatePicker, DatePickerHandler>(DatePickerHandler.Mapper) { #if IOS [PlatformConfiguration.iOSSpecific.DatePicker.UpdateModeProperty....
30.722222
166
0.801085
[ "MIT" ]
10088/maui
src/Controls/src/Core/HandlerImpl/DatePicker/DatePicker.cs
555
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...
26.465116
81
0.623023
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/MachineLearningServices/Outputs/ACIServiceResponseResponseEncryptionProperties.cs
1,138
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Travel.Application.Common.Interfaces; using Travel.Domain.Settings; using Travel.Shared.Files; using Travel.Shared.Services; namespace Travel.Shared { public static class DependencyInjection { public static IServic...
32.363636
117
0.785112
[ "MIT" ]
PacktPublishing/ASP.NET-Core-5-and-Vue.js-3
Chapter07/Travel/src/infrastructure/Travel.Shared/DependencyInjection.cs
714
C#
using Abp.Configuration.Startup; using Abp.Localization.Dictionaries; using Abp.Localization.Dictionaries.Xml; using Abp.Reflection.Extensions; namespace ToDoList.Localization { public static class ToDoListLocalizationConfigurer { public static void Configure(ILocalizationConfiguration localizationCon...
33.391304
92
0.661458
[ "MIT" ]
yixuanloh/ToDoList
src/ToDoList.Core/Localization/ToDoListLocalizationConfigurer.cs
770
C#
using System.ComponentModel.DataAnnotations.Schema; using api.Context; using api.Models; namespace api.Dtos { public class SurfDto { public Guid Id { get; set; } public string Name { get; set; } = string.Empty!; public Guid ProjectId { get; set; } public SurfCostProfileDto? Cost...
27.473684
85
0.658046
[ "MIT" ]
DanielBohme/dcd
backend/api/Dtos/SurfDto.cs
1,044
C#
namespace EnvironmentAssessment.Common.VimApi { public class InaccessibleFTMetadataDatastore : InaccessibleDatastore { public new InaccessibleFTMetadataDatastore_LinkedView LinkedView { get { return (InaccessibleFTMetadataDatastore_LinkedView)this._linkedView; } } } }
20.785714
72
0.797251
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/I/InaccessibleFTMetadataDatastore.cs
291
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
38.25
83
0.716153
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/EyeAndVisionServiceProviderHIPAA.cs
1,071
C#
using System; using System.Collections.Generic; using System.Linq; using MediaKit.Core.Extensions; using Xamarin.Forms; namespace MediaKit.Core { /// <summary> /// Base object to manipulate animation sequences, group them and schedule their running for specific target. /// The main purpose of usin...
36.453608
131
0.552885
[ "MIT" ]
vasylmosiiuk/XForms.MediaKit
MediaKit/MediaKit.Core/Storyboard.cs
3,538
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CineTeatro.Common.Entities { public class ButacaSector : ICloneable { public int ButacaSectorId { get; set; } public Butaca Butaca { get; set; } pub...
23.826087
48
0.594891
[ "CC0-1.0" ]
cbaldini/cinema-theatre-ef
CineTeatro.Common/Entities/ButacaSector.cs
550
C#
using System; using tdsm.api; using tdsm.core.Messages.Out; using Terraria; namespace tdsm.core.Messages.In { public class ItemOwnerInfoMessage : SlotMessageHandler { public override Packet GetPacket() { return Packet.ITEM_OWNER_INFO; } public override void Process...
26.674419
88
0.483871
[ "MIT" ]
DeathCradle/Terraria-s-Dedicated-Server-Mod
Core/Messages/In/22_ItemOwnerInfoMessage.cs
1,149
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...
31.614035
88
0.642619
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/OperationsManagement/Outputs/ManagementConfigurationPropertiesResponse.cs
1,802
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // 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 us...
45.56
124
0.731051
[ "MIT" ]
164306530/ILSpy
ICSharpCode.Decompiler/Semantics/InvocationResolveResult.cs
3,419
C#
// Copyright 2018 Google Inc. 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 // // Unless required by applic...
38.173469
91
0.624432
[ "Apache-2.0" ]
GoogleCloudPlatform/google-cloud-visualstudio
GoogleCloudExtension/GoogleCloudExtensionUnitTests/Projects/DotNet4/CsprojProjectTests.cs
3,743
C#
using System; using System.Collections.Generic; namespace FootballApp.API.Dtos { public class UserToReturnDto { public int Id { get; set; } public string Username { get; set; } public string Firstname { get; set; } public string Lastname { get; set; } public string Email...
36.357143
75
0.620825
[ "MIT" ]
milosnikic/FootballApp
FootballApp.API/Dtos/UserToReturnDto.cs
1,018
C#
using QuestHelper.Server.Models; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using System.IdentityModel.Tokens.Jwt; using Microsoft.AspNetCore.Http; namespace QuestHelper.Server.Managers { /// <...
28.617021
92
0.5829
[ "Apache-2.0" ]
gromozeka07b9/Gosh
QuestHelper/QuestHelper.Server/Managers/IdentityManager.cs
1,359
C#
using Android.App; using Android.Content.PM; using Android.OS; using Android.Runtime; namespace DemoAndroidXCrash.Droid { [Activity(Label = "DemoAndroidXCrash", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] ...
42.310345
192
0.713936
[ "MIT" ]
moljac/Samples.AndroidX
samples/issues/0064/4275736/DemoAndroidXCrash/fix-1/DemoAndroidXCrash/DemoAndroidXCrash.Android/MainActivity.cs
1,229
C#
namespace DN.WebApi.Shared.DTOs.Notifications; public class JobNotification : INotificationMessage { public string MessageType { get; set; } = typeof(JobNotification).Name; public string Message { get; set; } public string JobId { get; set; } public decimal Progress { get; set; } }
33.333333
75
0.716667
[ "MIT" ]
egbakou/dotnet-webapi-boilerplate
src/Shared/Shared.DTOs/Notifications/JobNotification.cs
302
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.660944
111
0.573768
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/ReservedDBInstancesOffering.cs
7,144
C#
namespace ClassLib037 { public class Class024 { public static string Property => "ClassLib037"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib037/Class024.cs
120
C#
using System; using System.Collections.Generic; using System.Text; using Bond; using Bond.Expressions; namespace BondExpressionsInterceptor { using System; using System.Globalization; using System.Linq.Expressions; using System.Reflection; using Bond.Internal.Reflection; internal static class...
40.233333
143
0.520851
[ "MIT" ]
mjsabby/BondExpressionsInterceptor
SerializerGeneratorFactory.cs
3,623
C#
/** * Copyright 2017-2021 Plexus Interop Deutsche Bank AG * SPDX-License-Identifier: Apache-2.0 * * 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/...
36.142857
114
0.582574
[ "Apache-2.0" ]
deutschebank/plexus-interop
desktop/src/Plexus.Interop.Transport.Transmission.WebSockets.Client/Internal/WebSocketClientTransmissionConnection.cs
5,819
C#
using System.Collections.Generic; using Nop.Web.Framework.Models; namespace Nop.Web.Areas.Admin.Models.Catalog { /// <summary> /// Represents an associated product model to add to the product /// </summary> public partial class AddAssociatedProductModel : BaseNopModel { #region Ctor ...
22.444444
68
0.623762
[ "MIT" ]
ASP-WAF/FireWall
Samples/NopeCommerce/Presentation/Nop.Web/Areas/Admin/Models/Catalog/AddAssociatedProductModel.cs
608
C#
using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; using Moq; using Xunit; using Vim.Extensions; using Vim.UnitTest.Mock; namespace Vim.UnitTest { public abstract class TextChangeTest { public sealed class InsertTextTest : TextChangeTest { ///...
38.95
100
0.454942
[ "Apache-2.0" ]
Kazark/VsVim
Test/VimCoreTest/TextChangeTest.cs
7,792
C#
using Rhino.Geometry; using DB = Autodesk.Revit.DB; namespace RhinoInside.Revit.Convert.Geometry { /// <summary> /// Converts <see cref="SubD"/> to be transfered to a <see cref="DB.Solid"/>. /// </summary> static class SubDEncoder { #region Encode internal static Brep ToRawBrep(/*const*/ SubD subD, d...
24
79
0.658333
[ "MIT" ]
IMVVVVVIP/rhino.inside-revit
src/RhinoInside.Revit/Convert/Geometry/SubDEncoder.cs
480
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("03...
38.72973
84
0.747383
[ "MIT" ]
origami99/SoftUni
02. ProgFund/Exercises/05. Methods. Debugging - Lab/03. Printing Triangle/Properties/AssemblyInfo.cs
1,436
C#
namespace BooksRaffle.Models { public partial class Tag { public bool Equals(Tag other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Id == other.Id && string.Equals((string) Name, (string) other.Name)...
29.035714
87
0.519065
[ "MIT" ]
deccer/BooksRaffle
BooksRaffle/Models/Tag.partial.cs
815
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...
28.730769
88
0.68407
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/Container/Inputs/ClusterNodePoolUpgradeSettingsGetArgs.cs
747
C#
using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using System; using System.ComponentModel.Design; using Task = System.Threading.Tasks.Task; namespace VsixToolWindowAsyncPackageExample { internal sealed class VsixToolWindowCommand { public const int CommandId = 0x0100; ...
45.694915
181
0.652819
[ "Apache-2.0" ]
GregTrevellick/HelloWorldVsixToolWindowAsyncPackageExample
VsixToolWindowAsyncPackageExample/VsixToolWindowCommand.cs
2,698
C#
using System.IO; namespace Perry.Commands.Options { class PerryOptions { public PerryOptions(bool interactive, string logPath, bool includeException, bool includeVariable, string instrumentationKey) { Interactive = interactive; LogPath = string.IsNullOrWhiteSpace(logPat...
34.695652
133
0.649123
[ "Apache-2.0" ]
ronnykarlsson/perry
Perry/Commands/Options/PerryOptions.cs
800
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace UniversalQueryFrameWork { /// <summary> /// App.xaml 的交互逻辑 /// </summary> public partial class App : Application { } }...
17.833333
42
0.707165
[ "Apache-2.0" ]
xiaokaizh/UniversalQueryFrameWork
App.xaml.cs
333
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Text; using Microsoft.IdentityModel.Tokens; using WopiHost.Abstractions; namespace WopiHost.FileSystemProvider { /// <inheritdoc/> public class WopiSecurityHandl...
34.212389
218
0.56984
[ "BSD-3-Clause" ]
Nokecy/WopiHost
WopiHost.FileSystemProvider/WopiSecurityHandler.cs
3,868
C#
namespace ClearHl7.Codes.V281 { /// <summary> /// HL7 Version 2 Table 0181 - MFN Record-Level Error Return. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0181</remarks> public enum CodeMfnRecordLevelErrorReturn { /// <summary> /// S - Successful posting of the record d...
30.894737
78
0.599659
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V281/CodeMfnRecordLevelErrorReturn.cs
589
C#
/* * Payment Gateway API Specification. * * The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. * * The version of the OpenAPI document:...
41.533113
283
0.576497
[ "MIT" ]
mrtristan/DotNet
src/Org.OpenAPITools/Model/Secure3D21AuthenticationResultAllOf.cs
12,543
C#
using System; using Xunit; namespace HanumanInstitute.FFmpeg.UnitTests { public static class AssertExtensions { /// <summary> /// Evaluates whether or not the substring is contained within specified value, depending on whether contains is true (Contains) or false (DoesNotContain). /// ...
38.37037
163
0.639961
[ "BSD-2-Clause" ]
mysteryx93/EmergenceGuardian.Encoder
FFmpeg.UnitTest/AssertExtensions.cs
1,038
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cabinet.Web.Files { public enum FileTypeCategory { Unknown = 0, Document = 1, Image = 2, Audio = 3, Video = 4, Archive = 5, Html = 6, ...
17.95
34
0.56546
[ "MIT" ]
johncmckim/cabinet
src/Cabinet.Web/Files/FileTypeCategory.cs
361
C#
using System; namespace Azure.Durable.Functions.Managers { public static class KineticEnergyManager { /// This is a completely made up (and incorrect) calculation for the kinetic energy of a /// spherical object. Only used to demo Durable Functions in the context of Near Earth Objects. ...
38.75
103
0.61106
[ "MIT" ]
igordemjanov/azure-durable-functions
Azure.Durable.Functions/Managers/KineticEnergyManager.cs
1,087
C#
using UnityEngine; namespace Puzzle.Room { public class WallNode : MonoBehaviour, IWallNode { public GameObject GameObject => gameObject; [SerializeField, HideInInspector] private bool _top = true; [SerializeField, HideInInspector] private bool _bottom = true; [SerializeField, HideInInspector] private bool...
28.588235
108
0.68107
[ "Apache-2.0" ]
BrentFarris/ForgeAlloy
ForgeAlloyUnity/Assets/Examples/ComplexSample/src/Room/WallNode.cs
2,432
C#
using AH.NWMS.DAL; using AH.NWMS.MODEL; using AH.PRMS.MODEL; using AH.DRUGS.MODEL; using System; using System.Collections.Generic; using System.Linq; using System.Text; using AH.OPD.MODEL; namespace AH.NWMS.BLL { public class IPDPrescriptionBLL { /* public IPDDoctor GetDoctorsDetails(string DocID) ...
29.910448
87
0.672156
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.NWMS/BLL/IPDPrescriptionBLL.cs
2,006
C#
using UnityEngine.UI; using UnityEngine; public class SetText : MonoBehaviour { public Text Version; void Start() { Version.text = LoadJson.Version.ToString(); } }
13.714286
51
0.651042
[ "MIT" ]
SolomonRosemite/Unity-FutureCube
FutureCube/Assets/Scripts/SetText.cs
194
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ProjectManager : MonoBehaviour { //All projects that will be managed public List<Project> projects; //The levels that each project has public List<int> levels; //The amount of time that each proje...
29.69863
95
0.505996
[ "MIT" ]
EternityDoom/gameoff2020
Unity Project/Assets/SCRIPT/ProjectManager.cs
4,338
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("Fr...
37.864865
84
0.745896
[ "MIT" ]
PetarTilevRusev/Arrays-Homework
FrequentNumber/Properties/AssemblyInfo.cs
1,404
C#
// Copyright (c) Microsoft Corporation. All Rights Reserved. // Licensed under the MIT License. using Android.OS; using Microsoft.Datasync.Client.Utils; using System; using System.Diagnostics.CodeAnalysis; namespace Microsoft.Datasync.Client.Platforms { /// <summary> /// Android-specific implementation of th...
33.489796
129
0.618525
[ "MIT" ]
Azure/azure-mobile-apps
sdk/dotnet/src/Microsoft.Datasync.Client/Platforms/android/PlatformInformation.cs
1,643
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Threading.Tasks; using MySql.Data.MySqlClient; using System.Data.SQLite; namespace test_query { class Program { //using mysql //static void Main(string[] args) //{ ...
43.783582
132
0.343958
[ "MIT" ]
ChupUchup/Backup-Me
random/test_query/Program.cs
5,869
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("_4...
37.972973
84
0.745196
[ "MIT" ]
todorm85/TelerikAcademy
Courses/Programming/C# Part 2/07. Exception Handling/4. Download file/Properties/AssemblyInfo.cs
1,408
C#
using System; using System.Collections.Generic; using System.Linq; namespace DevilDaggersCore.Game { public static class GameInfo { #region V1 public static readonly Dagger V1Default = new(GameVersion.V1, "Default", "444444", null); public static readonly Dagger V1Bronze = new(GameVersion.V1, "Bronze", "CD7F3...
92.432432
429
0.721408
[ "Unlicense" ]
NoahStolk/DevilDaggersCore
DevilDaggersCore/Game/GameInfo.cs
47,880
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Globalization; using Xenko.Core.Assets.Editor.ViewModel; using Xenko.Core...
43.217391
129
0.685614
[ "MIT" ]
Aminator/xenko
sources/editor/Xenko.Assets.Presentation/ValueConverters/TimeToFrames.cs
1,988
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SetManaValue : MonoBehaviour { public GameObject whiskas; public GameObject maxWhiskas; private Image[] whiskas_array; private Image[] disactiveWhiskas_array; private Slider manaSlide...
27.542373
86
0.621538
[ "MIT" ]
MarcM-collab/Project2_Fix
Assets/Scripts/UI/SetManaValue.cs
1,625
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.069767
85
0.651199
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DigitalTwins/V20201201/Outputs/ConnectionPropertiesResponsePrivateLinkServiceConnectionState.cs
1,293
C#
using System; using System.Collections.Generic; using System.Linq; using PasPasPas.Globals; using PasPasPas.Globals.Runtime; using PasPasPas.Globals.Types; namespace PasPasPas.Typings.Structured { /// <summary> /// callable routine /// </summary> public class RoutineGroup : IRoutineGroup, IEquata...
30.391304
124
0.558655
[ "Apache-2.0" ]
prjm/paspaspas
PasPasPas.Typings/src/Structured/RoutineGroup.cs
2,798
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace DotMatrixClock.Droid { [Activity(Label = "DotMatrixClock", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = Conf...
27.68
191
0.697977
[ "Apache-2.0" ]
1ostrich/xamarin-forms-samples
BoxView/DotMatrixClock/DotMatrixClock/DotMatrixClock.Android/MainActivity.cs
694
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.Collections.Generic; using System.IO; using System.Threading.Tasks; using TemplateValida...
34.741935
147
0.603064
[ "MIT" ]
hihain/WindowsTemplateStudio
code/test/Templates.Test/TemplateJsonValidationTests.cs
2,156
C#
using Tralus.Framework.Migration; namespace Mahan.Stations.Migration.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; public sealed class Configuration : TralusDbMigrationConfiguration<Data.StationsDbContext> { public Configur...
33
121
0.599845
[ "Apache-2.0" ]
mehrandvd/Tralus
Samples/Stations/Source/Mahan.Tralus.Stations.Migration/Migrations/Configuration.cs
1,287
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
40.696429
96
0.755156
[ "MIT" ]
idiotandrobot/thispc
source/This PC/Properties/AssemblyInfo.cs
2,282
C#
using Basket.API.Entities; using Microsoft.Extensions.Caching.Distributed; using Newtonsoft.Json; using System; using System.Threading.Tasks; namespace Basket.API.Repositories { public class BasketRepository : IBasketRepository { private readonly IDistributedCache _redisCache; public BasketRe...
28.292683
98
0.668966
[ "MIT" ]
MuriloSGomes/MicroServiceTreino
src/Services/Basket/Basket.API/Repositories/BasketRepository.cs
1,162
C#
using Windows.UI.Xaml.Controls; // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 namespace SimpleViewer.Universal.Views { public sealed partial class ShellView : UserControl { public ShellView() { InitializeComponent(); } ...
21.6
96
0.66358
[ "BSD-3-Clause" ]
007souvikdas/fo-dicom-samples
Universal/SimpleViewer.Universal/Views/ShellView.xaml.cs
326
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Pchp.Core.Reflection; using Pchp.Core.Resources; namespace Pchp.Core { [DebuggerNonUserCode, Debug...
34.526863
234
0.515009
[ "Apache-2.0" ]
Mattlk13/peachpie
src/Peachpie.Runtime/Operators.cs
79,690
C#
using System; using System.Drawing; using DotNetCommons.WinForms.Graphics; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DotNetCommons.WinForms.Test.Graphics { [TestClass] public class ImageProcessorTest { [TestMethod] public void TestScaleMax() { var si...
26.09375
75
0.607186
[ "MIT" ]
mgefvert/DotNetCommons
test/DotNetCommons.WinForms.Test/Graphics/ImageProcessorTest.cs
837
C#
namespace EventTraceKit.VsExtension.Resources.Styles { using System.Windows; using System.Windows.Media; using Microsoft.VisualStudio; using Microsoft.VisualStudio.PlatformUI; using Microsoft.VisualStudio.Shell.Interop; public class FontAndColorsResourceDictionary : ResourceDictionary { ...
35.263158
95
0.557143
[ "MIT" ]
gix/event-trace-kit
src/EventTraceKit.VsExtension/Resources/Styles/FontAndColorsResourceDictionary.cs
4,690
C#
using System; using UnityEngine; using SwrveUnity.Helpers; namespace SwrveUnity.Messaging { /// <summary> /// Used internally to render in-app message personalized text using Unity IMGUI. /// </summary> public class SwrveTextWidgetView : SwrveWidgetView, ISwrveButtonView { protected readonl...
37.846473
189
0.548624
[ "Apache-2.0" ]
Swrve/swrve-unity-sdk
unity3d/Assets/Swrve/SwrveSDK/Messaging/Views/SwrveTextWidgetView.cs
9,121
C#
using HADotNet.Core; using HADotNet.Core.Clients; using NUnit.Framework; using System; using System.Threading.Tasks; namespace HADotNet.Core.Tests { public class ErrorLogTests { private Uri Instance { get; set; } private string ApiKey { get; set; } [SetUp] public ...
29.189189
95
0.599074
[ "Apache-2.0" ]
Devqon/HADotNet
HADotNet.Core.Tests/ErrorLogTests.cs
1,080
C#
using System.Collections.Generic; using System.Linq; using AonWeb.FluentHttp.Settings; namespace AonWeb.FluentHttp.Client { public class HttpClientBuilderFactory : IHttpClientBuilderFactory { public HttpClientBuilderFactory() :this(null) { } protected HttpClientBuilderFactory(IEnu...
31.538462
148
0.663415
[ "MIT" ]
andrewescutia/fluent-http
AonWeb.FluentHttp/Client/HttpClientBuilderFactory.cs
1,232
C#
using System; using System.Windows.Forms; namespace GemsLogger.Writers { /// <summary> /// Logs the output to a ListBox control. /// </summary> public class ListBoxWriter : ILogWriter { /// <summary> /// The list box control. /// </summary> private readonly ListBox ...
23.075949
77
0.456391
[ "MIT" ]
thinkingmedia/gems-logger
GemsLogger/Writers/ListBoxWriter.cs
1,825
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....
27.681818
85
0.45977
[ "MIT" ]
NakamaNetwork/nakama.legacy
Source/TreasureGuide.Entities/CacheItemType.cs
609
C#
using LD44.Collections.Pool; using UnityEngine; namespace LD44.Effects { public class DestructablePiggyManager : MonoBehaviour { public GameObject DestructablePiggyPrefab; public int Capacity = 32; private GameObjectPool<DestructablePiggy> _pool; void Start() { ...
26.204545
93
0.516045
[ "MIT" ]
eriksk/LD44
Assets/_Project/Scripts/Effects/DestructablePiggyManager.cs
1,153
C#
using System; namespace Machine.Specifications.Runner.ReSharper.Tasks { [Serializable] public class MspecBehaviorSpecificationRemoteTask : MspecRemoteTask { public MspecBehaviorSpecificationRemoteTask(string testId, string? ignoreReason, bool runAllChildren, bool runExplicitly) : base(...
40.052632
170
0.714849
[ "MIT" ]
machine/machine.specifications.runner.resharper
src/Machine.Specifications.Runner.ReSharper.Tasks/MspecBehaviorSpecificationRemoteTask.cs
1,524
C#
using System; using System.Data.SqlClient; public partial class DeleteRoute : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string sessionID = Request.QueryString["sessionID"]; string phoneNumber = Request.QueryString["phoneNumber"]; // our he...
31.708333
111
0.654402
[ "MIT" ]
Xcoderoid/GpsTracker
servers/dotNet/DeleteRoute.aspx.cs
761
C#
// // ResolveStep.cs // // Author: // Jb Evain (jbevain@gmail.com) // // (C) 2006 Jb Evain // // 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 l...
28.827586
73
0.730263
[ "MIT" ]
GrabYourPitchforks/linker
src/linker/Linker.Steps/ResolveStep.cs
1,674
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("Ru...
44.95122
412
0.768313
[ "Apache-2.0" ]
ddessy/PlayerCentricRuleBasedAdaptation
PlayerCentricRuleBasedAdaptationSource/RuleBasedAdaptation/Properties/AssemblyInfo.cs
1,846
C#
using Microsoft.EntityFrameworkCore; using GradeBook.Models; namespace GradeBook.DAL { public class GradebookContext : DbContext { public GradebookContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) ...
39.773006
84
0.509641
[ "MIT" ]
DenHaydash/gradebook-svc
GradeBook.DAL/GradebookContext.cs
6,485
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using RazorEngine.Configuration; using RazorEngine.Templating; using RazorEngine.Text; namespace Grammophone.TemplateRendering.RazorEngine { /// <summary> /// Implements the <see cref...
30.278481
129
0.703317
[ "MIT" ]
grammophone/Grammophone.TemplateRendering.RazorEngine
RazorEngineRenderProvider.cs
7,178
C#
// ============================================================================================================== // Microsoft patterns & practices // CQRS Journey project // ============================================================================================================== // ©2012 Microsoft. All rights re...
39.365854
185
0.481908
[ "Apache-2.0" ]
wayne-o/delete-me
source/Infrastructure/Sql/Infrastructure.Sql/Messaging/Implementation/MessageReceiver.cs
8,073
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("Un...
37.594595
84
0.744069
[ "MIT" ]
stallboy/ReView
UnitTests/Properties/AssemblyInfo.cs
1,394
C#
/* http://www.cgsoso.com/forum-211-1.html CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源! CGSOSO 主打游戏开发,影视设计等CG资源素材。 插件如若商用,请务必官网购买! daily assets update for try. U should buy the asset from home store if u use it in your project! */ #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using...
24.843537
102
0.670044
[ "MIT" ]
zhoumingliang/test-git-subtree
Assets/RotateMe/Scripts/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/macs/ISO9797Alg3Mac.cs
7,398
C#
using System.Threading; namespace GitHub.Unity { class GitBranchDeleteTask : ProcessTask<string> { private readonly string arguments; public GitBranchDeleteTask(string branch, bool deleteUnmerged, CancellationToken token, IOutputProcessor<string> processor = null) : bas...
35.909091
88
0.655696
[ "MIT" ]
CapnRat/github-for-unity
src/GitHub.Api/Git/Tasks/GitBranchDeleteTask.cs
790
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace wolftrack.Models { public class Pack { public int PackId { get; set; } public string Name{ get; set; } public List<Wolf> Wolves { get; set; } public Pack() { ...
19.578947
46
0.577957
[ "MIT" ]
MrSpyretos/Wolftrack
wolftrack/wolftrack/Models/Pack.cs
374
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace FMODUnity { [CustomEditor(typeof(StudioParameterTrigger))] public class StudioParameterTriggerEditor : Editor { StudioEventEmitter targetEmitter; ...
43.826923
168
0.488372
[ "MIT" ]
Canvastudio/Prometheus
Code/Prometheus/Assets/Plugins/Editor/FMOD/StudioParameterTriggerEditor.cs
6,839
C#
namespace midorg { public class Address { public string Street { get; set; } public string Building { get; set; } public string Floor { get; set; } public int FloorNumber { get; set; } public GpsLocation GpsLocation { get; set; } public string City { get; se...
20.347826
52
0.564103
[ "Apache-2.0" ]
dynamicdeploy/mid
mid/midorg/Address.cs
470
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ace.Application { public interface IAceSessionAppService { IAceSession AceSession { get; set; } } }
18.642857
45
0.693487
[ "Apache-2.0" ]
a574676848/Ace
src/DotNetCore/Ace/Application/IAceSessionAppService.cs
263
C#
using System; namespace SFA.DAS.VacancyServices.Wage { public struct NationalMinimumWageRates { internal NationalMinimumWageRates(DateTime validFrom, DateTime validTo, decimal apprenticeMinimumWage, decimal under18NationalMinimumWage, decimal between18AndUnder21NationalMinimumWage, decimal between21An...
48.384615
277
0.742448
[ "MIT" ]
SkillsFundingAgency/das-shared-packages
VacancyServices.Wage/SFA.DAS.VacancyServices.Wage/NationalMinimumWageRates.cs
1,260
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Payment.Paymentsdk.Apms.Model { // Metadata.xml XPath class reference: path="/api/package[@name='com.payment.paymentsdk.apms.model']/class[@name='ApmsBodyBuilder']" [global::Android.Runtime.Register ("com/paymen...
62.114286
298
0.775836
[ "MIT" ]
amr-Magdy-PT/xamarin-paytabs-binding
android/PaymentSDK.Binding/obj/Debug/generated/src/Com.Payment.Paymentsdk.Apms.Model.ApmsBodyBuilder.cs
6,522
C#
using System; namespace Editor_Mono.Cecil { public enum AssemblyHashAlgorithm : uint { None, Reserved = 32771u, SHA1 } }
12.727273
42
0.664286
[ "MIT" ]
2823896/cshotfix
CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil/AssemblyHashAlgorithm.cs
140
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
37.285714
93
0.745849
[ "MIT" ]
galich/SharpDevelop
src/AddIns/BackendBindings/Python/PyWalker/Program.cs
1,568
C#
using Nefarius.ViGEm.Client.Targets; using Nefarius.ViGEm.Client.Targets.Xbox360; using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Task...
41.342529
166
0.513123
[ "MIT" ]
johannesugb/BetterJoy
BetterJoyForCemu/MainForm.cs
17,986
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SuperSimpleBlobStore.DataAccess.Model { public class BlobContents { public int Id { get; set; } public byte[] Content { get; set; } } }
19.466667
47
0.691781
[ "MIT" ]
richardprice/SuperSimpleBlobStore
SuperSimpleBlobStore.DataAccess/Model/BlobContents.cs
294
C#
using System; namespace aXon.Models.Base { public abstract class BaseModel { public Guid Id { get; set; } } }
14.555556
36
0.610687
[ "BSD-3-Clause" ]
tmassey/mtos
aXon.Models/Base/BaseModel.cs
133
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using ThScoreFileConverter; using ThScoreFileConverter.Models.Th12; using ThScoreFileConverterTests.Models.Th10.Stubs; using IClearData = ThScoreFileConverter.Models.Th10.IClearData< ThScoreFileCo...
34.445205
102
0.631139
[ "BSD-2-Clause" ]
fossabot/ThScoreFileConverter
ThScoreFileConverterTests/Models/Th12/CareerReplacerTests.cs
5,031
C#
namespace WinSysInfo.PEView.Model { /// <summary> /// The following values are defined for base type, although Microsoft /// tools generally do not use this field and set the LSB to 0. Instead, /// Visual C++ debug information is used to indicate types. However, the /// possible COFF values are li...
52.586207
81
0.647213
[ "MIT" ]
subha007/SimpleSystemInfo
WinSysInfo.PEView/Model/Enum/EnumSymbolBaseType.cs
1,527
C#
using HBK.Storage.Dashboard.DataSource; using Microsoft.AspNetCore.Components; using MudBlazor; namespace HBK.Storage.Dashboard.Pages.FileEntities { public partial class PublishAccessTokenDialog { /// <summary> /// 取得或設定 Dialog 中使用的字定義屬性(解決 Dialog 無法反白選取的問題) /// <seealso cref="https://...
39.352941
173
0.606502
[ "MIT" ]
nightsoul357/HBK-Storage
HBK.Storage.Dashboard/Pages/FileEntities/PublishAccessTokenDialog.razor.cs
2,742
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.Metadata.Profiles.Exif; using Xunit; namespace SixLabors.ImageSharp.Tests.Metadata.Profiles.Exif.Values { public class ExifValuesTests { public static TheoryData<ExifTag> ByteTag...
35.125899
92
0.554378
[ "Apache-2.0" ]
asmodat/ImageSharp
tests/ImageSharp.Tests/Metadata/Profiles/Exif/Values/ExifValuesTests.cs
19,530
C#
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using AutoMapper; using Moq; using tcs_service.Services; using tcs_service.Services.Interfaces; using Xunit; using WireMock.Server; using WireMock.RequestBuilders; using WireMock.ResponseBuilders; using WireMock...
35.745098
147
0.578168
[ "MIT" ]
a2937/wvup-tcs
backend/tcs-service-test/Services/LiveBannerService.test.cs
7,292
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...
25.5375
101
0.578561
[ "Apache-2.0" ]
mikemissakian/aws-sdk-net
sdk/src/Services/EBS/Generated/AmazonEBSConfig.cs
2,043
C#
using Raider.Collections; using Raider.Infrastructure; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Raider.Data { public class BatchWriter<T> : IBatchWriter<T>, IDisposable { /// <summary> /// Constant used to indicate ...
26.810277
116
0.691729
[ "Apache-2.0" ]
raider-net/Raider
src/Raider.Core/Data/BatchWriter.cs
6,785
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Channels; using System.Threading.Tasks; using Bizanc.io.Matching.Core.Domain; using Bizanc.io.Matching.Core.Repository; using Raven.Client.Documents; namespace Bizanc.io.Matching.Infra.Repository { public class TradeRepositor...
34.744186
145
0.585676
[ "MIT" ]
Menniti/Bizanc.io.Core
Bizanc.io.Matching.Infra/Repository/TradeRepository.cs
1,494
C#
using System; using System.Drawing; namespace Moway.Project.GraphicProject.Actions.Free { public class FreeTool : Tool { public FreeTool(string key) { this.index = Convert.ToInt32(Free.Index); this.key = key; this.text = Free.ToolText; this.type ...
25.863636
53
0.551845
[ "MIT" ]
Bizintek/mOway_SW_mOwayWorld
mOway_SW_mOwayWorld/MowayProject/GraphicProject/Actions/Free/FreeTool.cs
571
C#
public class StatModifier { public readonly float Value; public readonly StatModType Type; public readonly int Order; public readonly object Source; // Added this variable // "Main" constructor. Requires all variables. public StatModifier(float value, StatModType type, int order, obj...
40.096774
146
0.672566
[ "MIT" ]
Vumsy101/CharacterStatsPrototype
Assets/Scripts/Loot&StatsScripts/StatModifier.cs
1,245
C#
namespace Our.Umbraco.PersonalisationGroups.Providers.GeoLocation { public enum CountryCodeProvider { MaxMindDatabase, CdnHeader } }
18
66
0.697531
[ "MIT" ]
AndyButland/UmbracoPersonalisationGroupsCore
PersonalisationGroups/Providers/GeoLocation/CountryCodeProvider.cs
164
C#
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; namespace BasicServerHTTPlistener { internal class Program { private static void Main(string[] args) { if (!HttpListener.IsSupported) { Co...
36.838983
114
0.494594
[ "MIT" ]
NicaiseAlex/eiin839
TD1/HttpListener/BasicServerHttpListener/Program.cs
4,349
C#
using JetBrains.Annotations; namespace PowerAssert.Infrastructure.Nodes { class ConstantNode : Node { [NotNull] public string Text { get; set; } [CanBeNull] public string Value { get; set; } internal override void Walk(NodeWalker walker, int depth, bool wrap) ...
21.055556
76
0.585752
[ "MIT" ]
PowerAssert/PowerAssert.Net
PowerAssert/Infrastructure/Nodes/ConstantNode.cs
381
C#
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace JasonSoft.Reflection { public static class ReflectionExtension { private const BindingFlags BINDING_FLAGS = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public; private static ...
36.642857
181
0.578622
[ "Apache-2.0" ]
JasonSoft/JasonSoft
JasonSoft.Core/Reflection/ReflectionExtension.cs
6,158
C#
/// <copyright file="GeometryGraph.cs" company="Eötvös Loránd University (ELTE)"> /// Copyright (c) 2011-2019 Roberto Giachetta. Licensed under the /// Educational Community License, Version 2.0 (the "License"); you may /// not use this file except in compliance with the License. You may /// obtain a c...
41.09824
239
0.569071
[ "ECL-2.0" ]
AegisSpatial/aegis-origin
AEGIS.Core.Graphs/Geometry/GeometryGraph.cs
56,063
C#