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 UnityEngine.Purchasing.Extension; namespace UnityEngine.Purchasing { interface IGooglePlayStoreExtensionsInternal { void SetStoreCallback(IStoreCallback storeCallback); } }
19.454545
60
0.775701
[ "Apache-2.0" ]
ASlugin/Homework-2sem
SCP-087/Library/PackageCache/com.unity.purchasing@4.1.4/Runtime/Stores/Android/GooglePlay/Interfaces/IGooglePlayStoreExtensionsInternal.cs
214
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CurrentPlayerResult.cs" company="SyndicatedLife"> // Copyright(c) 2018 Ryan Wilson &amp;lt;syndicated.life@gmail.com&amp;gt; (http://syndicated.life/) // Licensed under the MI...
46.941176
120
0.506266
[ "MIT" ]
MusicalMiqo/sharlayan
Sharlayan/Models/ReadResults/CurrentPlayerResult.cs
800
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace KubernetesService.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using ...
40.177966
241
0.605147
[ "MIT" ]
tonnyeremin/kubernetes_gen
KubernetesService/Source/CSharp_Kubernetes/Models/Iok8sapicorev1SecretList.cs
4,741
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request the user's Call Center Monitoring settings. /// The response is eithe...
29.813953
129
0.640406
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/UserCallCenterMonitoringGetRequest23.cs
1,282
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...
45.372781
182
0.589724
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/RestoreDBClusterToPointInTimeRequestMarshaller.cs
7,668
C#
namespace Projekat { partial class StudentForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
52.313343
170
0.576018
[ "MIT" ]
while1618/College
C#/Projekat/Projekat/admin/StudentForm.designer.cs
34,895
C#
using System; using Prism.Mvvm; using Xamarin.Forms; using System.ComponentModel; using System.Threading.Tasks; namespace MVVMEasy.Pages { public class LoginPageViewModel_FodyPropertyChanged : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public LoginPageV...
28.372549
86
0.542502
[ "MIT" ]
pshomov/mvvmeasy
Pages/LoginPageViewModel_FodyPropertyChanged.cs
1,449
C#
using TypeCast.Attributes; using TypeCast.ContentTypes; using TypeCast.DataTypes.BuiltIn; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TypeCast.TestTarget.TypeSet1 { [DocumentType(allowAtRoot: true)] public class Master : DocumentTypeBase { [Conten...
27.047619
80
0.66338
[ "MIT" ]
eviathan/TypeCast
TypeCast.Tests/TypeSet1/DocTypes.cs
2,842
C#
using System; using AssetReference.Runtime.References; using UnityEngine; namespace AssetReference.Runtime.References { [Serializable] public class AssetReferenceRuntimeAnimatorController : AssetReference<RuntimeAnimatorController> { } }
21.916667
100
0.775665
[ "MIT" ]
JingFengJi/AssetReferenceSelectEditor
AssetReferenceSelectEditor/Assets/AssetReference/Runtime/References/AssetReferenceRuntimeAnimatorController.cs
263
C#
using DotnetGraph.Model.Properties; using System.Collections.Generic; using System.Diagnostics; namespace DotnetGraph.Model.Implementations.Graph.DirectedGraph { [DebuggerDisplay("Node {Id}")] public class DirectedGraphNode : IHasOutgoingArcs<DirectedGraphArc>, IHasId { private r...
31.259259
127
0.668246
[ "Apache-2.0" ]
jasdefer/DotnetGraph
DotnetGraph/Source/DotnetGraph/Model/Implementations/Graph/DirectedGraph/DirectedGraphNode.cs
846
C#
using System; using System.Collections.Generic; using System.Linq; namespace IdeagenCalculator { public class RecursionCalculator : Calculator { public override double Calculate(string expression) { if (!IsExpressionValid(expression)) { throw new Invalid...
39.640719
132
0.529305
[ "MIT" ]
hylimR/calculator
RecursionCalculator.cs
6,622
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SEDC.NotesApp.Repositories { public interface IRepository<T> { List<T> GetAll(); T GetById(int id); void Add(T entity); void Remove(int id); void Update(T entity);...
19.352941
36
0.638298
[ "MIT" ]
sedc-codecademy/skwd9-09-aspnetwebapi
G3/Class_04/SEDC.NotesApp/SEDC.NotesApp/Repositories/IRepository.cs
331
C#
namespace UnityStandardAssets.CinematicEffects { using UnityEngine; using UnityEditor; using UnityEditorInternal; using System.Reflection; using System.Collections.Generic; using System.Linq; [CanEditMultipleObjects, CustomEditor(typeof(TonemappingColorGrading))] public class Tonemappin...
42.483039
253
0.530469
[ "MIT" ]
DanielOaks/PoniGame
PonyGame/Assets/Standard Assets/Effects/TonemappingColorGrading/Editor/TonemappingColorGradingEditor.cs
31,310
C#
namespace PhotoShare.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Validation; public class User { public User() { this.FriendsAdded = new HashSet<Friendship>(); this.AddedAsFriendBy = new Has...
27.365079
108
0.588747
[ "MIT" ]
ewgeni-dinew/04.Databases_Advanced-Entity_Framework
10.Best Practices and Arhitecture/PhotoShare/PhotoShare.Models/User.cs
1,726
C#
using System.Collections.Generic; using System.Threading.Tasks; using Bakana.Core.Entities; using Bakana.Core.Repositories; using Bakana.ServiceModels.Steps; using ServiceStack; namespace Bakana.ServiceInterface.Steps { public class StepArtifactService : Service { private readonly IBatchRepository batc...
42.696203
142
0.66133
[ "MIT" ]
BacanCI/Bacan
src/Bakana.ServiceInterface/Steps/StepArtifactService.cs
10,119
C#
namespace Medikit.Api.Patient.Application { public static class Constants { public static class QueueNames { public const string Patient = "patient"; } } }
18.636364
52
0.590244
[ "Apache-2.0" ]
ddonabedian/medikit
src/Medikit/Medikit.Api.Patient.Application/Constants.cs
207
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("Ars...
38.081081
84
0.747339
[ "MIT" ]
algernon-A/Arson
Properties/AssemblyInfo.cs
1,412
C#
using UnityEngine.SceneManagement; using UnityEngine; public class Editor_SceneChange : MonoBehaviour { public GameObject MenuUI; private bool Check; void Start() { MenuUI.SetActive(false); Check = false; } public void Menu() { MenuUI.SetActive(!Check); Che...
16.7
47
0.590818
[ "BSD-3-Clause" ]
Eskeptor/Unity
ShootingGame2D/Assets/Script/GameEditor/Editor_SceneChange.cs
503
C#
using Microsoft.AspNetCore.Mvc.Rendering; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Konveyor.Core.ViewModels { public class EmployeeEditViewModel : EmployeeBaseViewModel { [Display(Name = "Gender")] public List<SelectListItem> GenderOptions { get;...
30.347826
100
0.686246
[ "MIT" ]
Philipeano/Konveyor
Konveyor.Core/ViewModels/EmployeeEditViewModel.cs
700
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace IdentityUtils.Commons { public class RestResult { public RestResult() { } public IEnumerable<string> ErrorMessages { get; set; } = Enumerable.Empty<string>(); public in...
23.702703
92
0.574686
[ "MIT" ]
intellegens-hr/utils-identity
dotnetcore/IdentityUtils.Commons/RestResult.cs
879
C#
namespace Oasis.EntityFramework.Mapper.InternalLogic; using Oasis.EntityFramework.Mapper.Exceptions; internal sealed class ScalarTypeConverter : IScalarTypeConverter { private readonly IReadOnlyDictionary<Type, IReadOnlyDictionary<Type, Delegate>> _scalarConverterDictionary; public ScalarTypeConverter(Dicti...
33.576923
160
0.655785
[ "MIT" ]
keeper013/Oasis
EntityFramework/Oasis.EntityFramework.Mapper/InternalLogic/ScalarTypeConverter.cs
1,748
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.CompilerServices; static class ModConst { // I4 [MethodImpl(MethodImplOptions.NoInlining)] public static int I4_Mod_0(int i4) { ...
19.886574
74
0.499942
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/CodeGenBringUpTests/ModConst.cs
8,591
C#
using Ardalis.ListStartupServices; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Ident...
36.887324
143
0.590683
[ "MIT" ]
minhdo501/eShopWeb
src/Web/Startup.cs
7,859
C#
using DevPodcasts.DataLayer.Models; using DevPodcasts.ViewModels.Podcast; using System.Collections.Generic; using System.Linq; using DevPodcasts.ViewModels.Tags; namespace DevPodcasts.ServiceLayer.Tag { public class TagService { private readonly ApplicationDbContext _context; public TagServic...
28.625
89
0.481805
[ "MIT" ]
NRKirby/DevPodcasts
src/DevPodcasts.ServiceLayer/Tag/TagService.cs
2,063
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using VisualStudioDiscordRPC.Shared.Localization; using VisualStudioDiscordRPC.Shared.Localization.Models; using VisualStudioDiscordRPC.Shared.Services.Interfaces; using VisualStudioDiscordRPC.Shared.Services.Models; namespace Visua...
35.292308
112
0.631648
[ "MIT" ]
Ryavell/VisualStudioDiscordRPC
VisualStudioDiscordRPC.Shared/ViewModels/SettingsViewModel.cs
4,590
C#
namespace ClassLib026 { public class Class097 { public static string Property => "ClassLib026"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib026/Class097.cs
120
C#
using System; using Xamarin.Forms; namespace PlatformSpecifics { public partial class WindowsNavigationPage : NavigationPage { public WindowsNavigationPage() { InitializeComponent(); PushAsync(new ContentPageOneInNavigationPage()); } async void OnToolba...
27.1
152
0.691882
[ "Apache-2.0" ]
JhonP54/xamarin-forms-samples
UserInterface/PlatformSpecifics/PlatformSpecifics/UWP/XAML/NavigationPage/WindowsNavigationPage.xaml.cs
544
C#
using IdentityServer4; using IdentityServer4.Models; using IdentityServer4.Test; using System; using System.Collections.Generic; using System.Security.Claims; namespace IdentityServer.AuthServer { /// <summary> /// Identity server ayarları /// </summary> public static class Config { /// <s...
46.547826
161
0.486954
[ "MIT" ]
cihatsolak/netcore-identityserver4
NetCoreIdentityServer/IdentityServer.AuthServer/Config.cs
16,266
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Database_Layer.Exceptions { public class SQLInjectionException : Exception { public SQLInjectionException(string ex) : base(ex) {} } }
20.214286
61
0.742049
[ "MIT" ]
chaoskie/Ict4Participation
Ict4Participation/Database_Layer/Exceptions/SQLInjectionException.cs
285
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace SageFrame.Scheduler { [DataContract] [Serializable] public class ScheduleHistory :Schedule { [DataMember(Name = "_RowTotal", Order = 1)] private System.Nulla...
37.472973
75
0.635413
[ "MIT" ]
SageFrame/SageFrame
SageFrame.Scheduler/ScheduleHistory.cs
2,775
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 "li...
29.556522
102
0.56752
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/InstanceAssociation.cs
3,399
C#
// 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 writing, software distributed under the ...
45.964852
166
0.574723
[ "Apache-2.0" ]
Ramkarthik/google-api-dotnet-client
Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs
107,236
C#
using System; using System.Threading.Tasks; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { /// <summary> /// Returns all user contacts /// </summary> public class GetContacts : Fu...
25.365854
74
0.502885
[ "MIT" ]
0x25CBFC4F/tdsharp
TDLib.Api/Functions/GetContacts.cs
1,040
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...
27.517241
101
0.639098
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/SecurityProfileTarget.cs
1,596
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WACines.Infraestructura; namespace WACines.Controller { public interface ISalaController { public Task<ActionResult<Sala>> FindById(int id); public Task<IEnumerabl...
27
59
0.738272
[ "Apache-2.0" ]
Weenhallo/ejercicio015
WACines/Controller/ISalaController.cs
407
C#
using System.Threading; using System.Threading.Tasks; using API.Client; using DLCS.HydraModel; using Hydra.Collections; using MediatR; namespace Portal.Features.Users.Requests { /// <summary> /// Get all PortalUsers for current customer /// </summary> public class GetPortalUsers : IRequest...
28.5625
118
0.655361
[ "MIT" ]
dlcs/protagonist
Portal/Features/Users/Requests/GetPortalUsers.cs
916
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210 { using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="ResumeJobParams" /> /// </summary> public partial c...
51.239437
245
0.580951
[ "MIT" ]
AverageDesigner/azure-powershell
src/Migrate/generated/api/Models/Api20210210/ResumeJobParams.TypeConverter.cs
7,135
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.As.V1.Model { /// <summary> /// 伸缩策略 /// </summary> public class Scali...
38.561514
298
0.538531
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/As/V1/Model/ScalingV1PolicyDetail.cs
13,034
C#
using Mahjong.Properties; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Mahjong { public partial class MainForm : AForm { #region Members private MainFormModel _mod...
32.097561
128
0.542215
[ "Unlicense" ]
blueneosky/Bag
Mahjong/Mahjong/MainForm.cs
11,846
C#
namespace BE_CustomerStore.Data { public class MemoryStore<T> : IStore<T> where T : class, IEntity { private readonly Dictionary<Guid, T> _data; public MemoryStore() { _data = new Dictionary<Guid, T>(); } public Task<Guid> Add(T newItem) { ...
24.83871
93
0.546753
[ "Apache-2.0" ]
GuitaristJake3/SupermarketE2E
BE-CustomerStore/Data/MemoryStore.cs
772
C#
using NSuperTest; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using FluentAssertions; using Moq; using Newtonsoft.Json; using NSuperTest.Tests.Models; using Xunit; using NSuperTest.Assertions; ...
32.220736
119
0.520241
[ "MIT" ]
pshort/nsupertest
NSuperTest.Tests/Assertions/AssertionTests.cs
9,636
C#
#region Apache License // // 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 // (...
36.16567
174
0.62536
[ "Apache-2.0" ]
BipulRaman/logging-log4net
src/log4net/Layout/PatternLayout.cs
42,350
C#
namespace Love { public enum MouseButton: int { /// <summary> /// The mouse left button /// </summary> LeftButton = 0, /// <summary> /// The mouse right button /// </summary> RightButton, /// <summary> /// The mouse middle button...
23.536089
369
0.516067
[ "MIT" ]
Ruin0x11/Love2dCS
csharp_src/Love2dEnum.cs
38,216
C#
namespace Files { /// <summary> /// Represents an element which is associated with an arbitrary file system. /// See remarks for details. /// </summary> /// <remarks> /// The <see cref="IFileSystemElement"/> interface is implemented by every member /// which can be created b...
37.333333
99
0.589286
[ "MIT" ]
manuelroemer/Files
src/Files/IFileSystemElement.cs
1,122
C#
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using ISAAR.MSolve.LinearAlgebra.Commons; using ISAAR.MSolve.LinearAlgebra.Exceptions; using ISAAR.MSolve.LinearAlgebra.Output.Formatting; using ISAAR.MSolve.LinearAlgebra.Vectors; //TODO: Ad...
50.711514
143
0.561658
[ "Apache-2.0" ]
TheoChristo/Parallel_Tumor_Modelling
Parallel_Tumor_ModellingConsoleApp/Parallel_Tumor_ModellingConsoleApp/MSolveLib/ISAAR.MSolve.LinearAlgebra/Matrices/Builders/DokSymmetric.cs
39,202
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.WordApi { /// <summary> /// DispatchInterface Frame /// SupportByVersion Word, 9,10,11,12,14,15,16 /// </summary> /// <remarks> Docs: <see href="https://docs.microsoft.com/en-us/office/vba...
30.165591
161
0.66593
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Word/DispatchInterfaces/Frame.cs
14,029
C#
namespace CloselinkAPI.Client { /// <summary> /// <see cref="GlobalConfiguration"/> provides a compile-time extension point for globally configuring /// API Clients. /// </summary> /// <remarks> /// A customized implementation via partial class may reside in another file and may /// be exclu...
32
106
0.679167
[ "MIT" ]
closelink/closelink-api-net
CloselinkAPI/Client/GlobalConfiguration.cs
480
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace System.Resources.Extensions { p...
37.784483
145
0.481748
[ "MIT" ]
333fred/runtime
src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/DeserializingResourceReader.cs
8,766
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http.Headers; using System.Web.Http.Description; using ASPNETIdentityChavesInt.Areas.HelpPage.ModelDescriptions; namespace ASPNETIdentityChavesInt.Areas.HelpPage.Models { /// <summary> /// The model that represents an API ...
36.814815
123
0.617203
[ "MIT" ]
DesignLiquido/CodingCraftVideos
ASPNETIdentityChavesInt/ASPNETIdentityChavesInt/Areas/HelpPage/Models/HelpPageApiModel.cs
3,976
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; #if __ANDROID__ using Xamarin.Forms.Platform.Android; #elif TIZEN4_0 using Xamarin.Forms.Platform.Tizen; #elif __IOS__ using Xamarin.Forms.Platform.iOS; #endif namespace Xamarin.Forms.Platform { internal stati...
25.454545
97
0.77458
[ "MIT" ]
Mikilll94/Xamarin.Forms
Stubs/Xamarin.Forms.Platform.cs
4,760
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...
31.688
106
0.543802
[ "MIT" ]
SkyGrass/hippos_api_vm
Ams.Utils/Document/Excel/NPOI/HSSF/Record/Chart/ChartFRTInfoRecord.cs
3,961
C#
using System.Collections.Generic; using System.Management; namespace WindowsMonitor.Hardware.OnBoard { /// <summary> /// </summary> public sealed class SystemInformation { public bool Active { get; private set; } public string BaseBoardManufacturer { get; private set; } public string BaseBoardPro...
53.512821
117
0.699569
[ "MIT" ]
Biztactix/WindowsMonitor
WindowsMonitor.Standard/Hardware/OnBoard/SystemInformation.cs
4,174
C#
using System.IO; using Microsoft.AspNetCore.Hosting; using Serilog; namespace DDDSouthWest.Website { public class Program { public static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .Enrich.FromLogContext() .MinimumLevel.Debug()...
28.586207
101
0.518697
[ "MIT" ]
JoeStead/dddsouthwest-web
src/DDDSouthWest.Website/Program.cs
831
C#
using System; using SWSniff.SoulWorker.Packets; namespace SWSniff.SoulWorker { public class SnifferEventArgs : EventArgs { public int SocketId { get; } public SWPacket Packet { get; } public bool Outgoing { get; } public SnifferEventArgs(SWPacket packet, bool outgoing, int soc...
22.5
77
0.597778
[ "MIT" ]
HoLLy-HaCKeR/SWSniff
SWSniff.SoulWorker/SnifferEventArgs.cs
452
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Nexmo.Api.Test.Integration { [TestClass] public class SmsTest { [TestMethod] public void should_send_sms() { var results = SMS.Send(new SMS.SMSRequest { from = Configuration.Instan...
31.142857
100
0.587156
[ "MIT" ]
AnnaDodson/nexmo-dotnet
Nexmo.Api.Test.Integration/SmsTest.cs
656
C#
// Copyright (c) Duende Software. All rights reserved. // See LICENSE in the project root for license information. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace IdentityServer.API.UI { public class SecurityHeadersAttribute : ActionFilterAttribute { public override ...
46.894737
161
0.594837
[ "MIT" ]
BuiTanLan/trouble-training
Src/IdentityServer/API/Controlers/SecurityHeadersAttribute.cs
2,673
C#
using Il2CppSystem.Collections.Generic; using DataHelper; namespace GunfireLib.Data { public static class RelicBoxGoodsData { public static Dictionary<int, boxgoodsdataclass> goodsList; public static System.Collections.Generic.Dictionary<int, Classes.BoxGoodsDataClass> parsedGoodsList = ...
33
109
0.672176
[ "MIT" ]
ardittristan/GunfireMod
GunfireLib/Data/RelicBoxGoodsData.cs
728
C#
namespace CardGameBundle { class Card { // I guess I know why these are here private string face; private string suit; // Constructor public Card(string cardFace, string cardSuit) { face = cardFace; suit = cardSuit; }...
32.277778
103
0.579174
[ "MIT" ]
Kirbachu88/Card-Game-Bundle
CardGameBundle/Card.cs
1,164
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Api20200802 { using Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="UpdateResource" /> /// </summary> ...
51.535211
263
0.583356
[ "MIT" ]
3quanfeng/azure-powershell
src/ConnectedMachine/generated/api/Models/Api20200802/UpdateResource.TypeConverter.cs
7,177
C#
using Npgsql; using System; using System.Collections.Generic; using System.Data; using Framework.WebAPI.Interfaces; using static Framework.WebAPI.DB.DatabaseFactory; namespace Framework.WebAPI.DB { /// <summary> /// PostgreSQLラッパークラス /// </summary> public class PostgreSQLDB : IDatabase { /// <summary> ...
19.926045
82
0.528804
[ "MIT" ]
kazenetu/TinyServerClientFramework
Source/WebAPI/DB/PostgeSQLDB.cs
6,831
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("AWSSDK.LakeFormation")] [assembly: Assembl...
55.40625
493
0.763677
[ "Apache-2.0" ]
Melvinerall/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/LakeFormation/Properties/AssemblyInfo.cs
1,773
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos { using System; using Microsoft.Azure.Documents; using Newtonsoft.Json; /// <s...
43.491329
178
0.640617
[ "MIT" ]
Camios/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Resource/Settings/ThroughputProperties.cs
7,526
C#
// <copyright file="IHardwareUserFactorProfile.Generated.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> // This file was automatically generated. Do...
31.181818
112
0.746356
[ "Apache-2.0" ]
Christian-Oleson/okta-sdk-dotnet
src/Okta.Sdk/Generated/IHardwareUserFactorProfile.Generated.cs
686
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using HardwareKeyboard.Models; namespace HardwareKeyboard.Services { public class MockDataStore : IDataStore<Item> { private List<Item> _items; public MockDataStore() { _items = new List<Item>();...
23.617647
85
0.590286
[ "MIT" ]
Wasp3r/xamarin-samples
samples/hardware-keyboard/HardwareKeyboard/HardwareKeyboard/Services/MockDataStore.cs
805
C#
// Window responsible with simulating MST algorithms using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; namespace Soft_educational_APM { public partial class FormAlgo : Form { public FormAlgo() { InitializeComponent...
37.453089
210
0.47443
[ "MIT" ]
rares-foica/mst-educational-software
Soft_educational_APM/FormAlgo.cs
16,382
C#
using System.Collections.Generic; using Microsoft.AspNet.Identity; namespace RedisCacheExample.ViewModels.Manage { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set; } public string PhoneNumber { get; set; } pub...
21.789474
56
0.661836
[ "MIT" ]
marrrcin/aspnet-core-redis-html-cache
src/RedisCacheExample/ViewModels/Manage/IndexViewModel.cs
416
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
23.172414
54
0.72619
[ "MIT" ]
GenericCodes/WPFCRUDControl
Northwind.Demo/Views/Suppliers/SuppliersSearch.xaml.cs
674
C#
// This file is automatically generated - DO NOT EDIT MANUALLY! using System.Collections.Generic; using Unity.MARS.Query; namespace Unity.MARS.Data { public partial class MARSDatabase { bool FindRelationTraits(Relations relations, RelationTraitCache cache) { if (relations.GetTypeCou...
43.529915
123
0.568035
[ "Apache-2.0" ]
bsides44/MARSGeofencing
MARS geofencing/Assets/MARS/Generated/MARSDatabase.Relations.Generated.cs
5,093
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.Linq; using System.Reflection; using Microsoft.ML.Runti...
42.450893
173
0.541452
[ "MIT" ]
antarikshnarain/machinelearning
src/Microsoft.ML.Transforms/UngroupTransform.cs
28,527
C#
namespace sample.microservice.state.reservation; public class ReservationState { public Guid OrderId { get; set; } public List<ItemReservation>? ReservedItems { get; set; } }
20.555556
61
0.740541
[ "MIT" ]
PacktPublishing/Practical-Microservices-with-Dapr-and-.NET-Second-Edition
chapter07/sample.microservice.reservation/State/ReservationState.cs
185
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
34.096774
96
0.578619
[ "MIT" ]
0xced/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/ReadingAndWritingJsonTests.cs
5,287
C#
using System; using System.Collections.Generic; namespace leetcodesln { public class FindAllDuplicatesInAnArray { public IList<int> FindDuplicates(int[] nums) { var ans = new List<int>(); for (int i = 0; i < nums.Length; ++i) { int index = M...
22.909091
56
0.484127
[ "MIT" ]
matwming/TrialOfTheGrasses
CSharp/leetcodesln/FindAllDuplicatesInAnArray.cs
506
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Compiler.Framework.Transform.Auto.StrengthReduction { /// <summary> /// Compare64x64RemUnsigned /// </summary> public sealed class Compare64x64RemU...
24.669725
84
0.735589
[ "BSD-3-Clause" ]
AnErrupTion/MOSA-Project
Source/Mosa.Compiler.Framework/Transform/Auto/StrengthReduction/Compare64x64RemUnsigned.cs
2,689
C#
using System.Runtime.InteropServices; namespace Lunar.Native.Structures { [StructLayout(LayoutKind.Sequential)] internal readonly struct ListEntry32 { internal readonly int Flink; internal readonly int Blink; } [StructLayout(LayoutKind.Sequential)] internal readonly struct Lis...
20.95
41
0.694511
[ "MIT" ]
igromanru/Lunar
Lunar/Native/Structures/ListEntry.cs
419
C#
using System.Threading.Tasks; using FluentScheduler; using Plutus.Core.Enums; using Plutus.Core.Interfaces; namespace Plutus.Core.Jobs { public class BuyJob : IJob { private readonly IPlutusService _plutusService; private readonly bool _test; public BuyJob(IPlutusService plutusService...
32.482143
114
0.492029
[ "MIT" ]
umutseven92/Plutus
Plutus.Core/Jobs/BuyJob.cs
1,821
C#
using System; namespace g { class Program { static void Main(string[] args) { Console.WriteLine("Q#53 (g)"); int n; float n = 3.8 ; n = x; Console.WriteLine(n); } } }
16.529412
43
0.384342
[ "Apache-2.0" ]
AbdulMueed209/Assingnment-4
Q#53 g.cs
283
C#
using System; [Serializable] public class ChunkDefinition { public string Asset = "..."; public float Width = 0f; }
15.625
32
0.672
[ "MIT" ]
Master-Maniac/Endless-Runner-Entitas-ECS
Assets/Sources/Data/ChunkDefinition.cs
127
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 07.05.2021. using System; using System.Diagnostics; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOle...
31.708333
110
0.564389
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Root/Query/Local/Expressions/Op2/Code/Equal/Int16/Op2_Code__Equal___Int16__NullableInt32.cs
1,524
C#
namespace XXX.Plugin.FreeSql { /// <summary> /// 实体之间隐射配置 /// 数据库实体与AO业务实体互相映射 /// </summary> public class UserMapper : Profile, IOrderedMapperProfile { /// <summary> /// /// </summary> public UserMapper() { //数据库实体映射AO业务实体,ReverseMap可实现双向映射 ...
24
64
0.522436
[ "MIT" ]
KamenRiderKuuga/NetPro
src/sample/XXX.Plugin.FreeSql/Mapper/XXXMapper.cs
734
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> //------------------------------------------...
29.814815
80
0.585093
[ "Unlicense" ]
DEFRA/license-and-permitting-dynamics
Crm/LicensingandPermitting/Defra.Lp/Model.Lp/EarlyBound/OptionSets/SystemForm_FormPresentation.cs
805
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace meshDatabase.Database { public class Record { public Record(DBC dbc) { Source = dbc; } public DBC Source { get; private set; } ...
29.54717
75
0.416986
[ "Unlicense" ]
Bia10/meshReader
meshDatabase/Database/DBC.cs
3,134
C#
namespace Altsoft.PDFO { using Altsoft.Common; using System; public class AnnotationText : AnnotationMarkup { // Methods public AnnotationText(PDFDict dict) : base(dict) { } public static AnnotationText Create(Rect rect) { PDFDict dict1 = Lib...
28.971774
100
0.346138
[ "MIT" ]
silvath/siscobras
mdlPDF/Xml2PDF/Source/Altsoft/PDFO/AnnotationText.cs
7,185
C#
using SystemDot.Messaging.Simple; using Machine.Specifications; namespace SystemDot.Specifications.messenger { [Subject(SpecificationGroup.Description)] public class when_sending_a_message_to_a_registered_handler_that_replies_and_the_reply_is_handled_in_the_call { static TestReply handledReply; ...
33.041667
113
0.686003
[ "Apache-2.0" ]
SystemDot/SystemDotCore
Projects/SystemDot.Specifications/messenger/when_sending_a_message_to_a_registered_handler_that_replies_and_the_reply_is_handled_in_the_call.cs
793
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.42
88
0.608153
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/Diagflow/Inputs/FulfillmentGenericWebServiceArgs.cs
1,521
C#
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Shapes; /// <summary> /// A canvas that can visualise a 2d array of rectangles. /// </summary> public class RectangleCanvas : Canvas { /// <summary> /// This variable specifies the width of the canvas and therefore the amount of...
22.47541
168
0.648189
[ "MIT" ]
GreekDictionary/Sigma
Sigma.Core.Monitors.WPF/View/CustomControls/Panels/Control/RectangleCanvas.cs
4,115
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Comp...
47.438356
238
0.757147
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation.cs
3,463
C#
//--------------------------------------------------------------------------------------------------- // <auto-generated> // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit // </auto-gen...
31.746347
111
0.689705
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/msdyn_projectapproval.generated.cs
30,415
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 // associada a um assembly. [assembly: AssemblyTitle("ProjetoMod...
38.756757
95
0.75523
[ "MIT" ]
murilohpucci/BookStoreDDD
ProjetoModeloDDD.Domain/Properties/AssemblyInfo.cs
1,459
C#
using JetBrains.Annotations; using JsonApiDotNetCore.Queries; namespace JsonApiDotNetCore.QueryStrings { /// <summary> /// Reads the 'filter' query string parameter and produces a set of query constraints from it. /// </summary> [PublicAPI] public interface IFilterQueryStringParameterReader : IQuer...
27.357143
110
0.749347
[ "MIT" ]
3volutionsAG/JsonApiDotNetCore
src/JsonApiDotNetCore/QueryStrings/IFilterQueryStringParameterReader.cs
383
C#
using Common; using System.Windows; namespace IoTEdgeInstaller { public partial class MainWindow : Window { private PageFlow _pageFlow; public MainWindow() { // Uncomment to test localization // System.Threading.Thread.CurrentThread.CurrentUICulture...
25.25
119
0.615512
[ "MIT" ]
Azure/Industrial-IoT-Edge-Installer
IoTEdgeInstallerApp/MainPage.xaml.cs
608
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/WbemCli.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServic...
35.066667
145
0.764259
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/WbemCli/WbemContext.cs
528
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
44.93617
228
0.678662
[ "MIT" ]
JansonC/knight
knight-client/Assets/Game/Script/Generate/ILRuntime/UnityEngine_UI_DataBindingProperty_Binding.cs
6,336
C#
namespace CloudPhoto.Web { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; public static class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(s...
26.142857
70
0.559199
[ "MIT" ]
chemiliq-git/CloudPhoto
src/Web/CloudPhoto.Web/Program.cs
551
C#
using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure.Storage.Queues; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace FarmerConnect.Azure.Messaging.St...
47.037736
189
0.55716
[ "Apache-2.0" ]
farmerconnect/farmerconnect-azure
src/FarmerConnect.Azure.Messaging/StorageQueue/StorageQueueConsumer.cs
4,988
C#
// ----------------------------------------------------------------------------------------- // <copyright file="TestHelper.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance ...
37.535484
210
0.552252
[ "Apache-2.0" ]
am11/azure-storage-net
Test/WindowsRuntime/TestHelper.cs
5,820
C#
using System; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using VRage.Plugins; using VRage.Scripting; namespace TelnetPlugin { public class TelnetPlugin : IPlugin { public void Dispose() { ...
29.888889
96
0.580669
[ "MIT" ]
jarno-r/SETelnet
TelnetPlugin/TelnetPlugin.cs
2,692
C#
using System; using System.Security.Cryptography; using System.Collections.Generic; using System.Linq; using RSAExtensions; namespace DwFramework.Core.Encrypt { public static class RSA { /// <summary> /// 填充位数 /// </summary> private static readonly Dictionary<RSAEncryptionPaddin...
38.297872
156
0.537593
[ "MIT" ]
DwGoingJiang/DwFramework
src/DwFramework.Core/Plugins/Encrypt/RSA.cs
5,470
C#
using UnityEngine; namespace Expanse.Motion { /// <summary> /// Motion that moves an AudioSource volume value towards a target volume. /// </summary> public class AudioSourceVolumeMotion : FloatMotion { public AudioSource AudioSource { get; private set; } public AudioSourceVolumeM...
37.410256
159
0.656614
[ "MIT" ]
AikenParker/Expanse
Motion/ComponentMotion/AudioSourceVolumeMotion.cs
1,461
C#
// <copyright file="IAuthenticationResultExpandables.cs" company="Stormpath, Inc."> // Copyright (c) 2016 Stormpath, 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:...
34.818182
99
0.694517
[ "Apache-2.0" ]
stormpath/stormpath-sdk-csharp
src/Stormpath.SDK.Abstractions/Linq/Expandables/IAuthenticationResultExpandables.cs
1,151
C#
using Moq; using NUnit.Framework; using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Text; using TacitusLogger.Builders; using TacitusLogger.Destinations.RabbitMq; using TacitusLogger.Serializers; namespace TacitusLogger.Destinations.RabbitMq.IntegrationTests { [TestFixture] p...
60.035176
145
0.506738
[ "Apache-2.0" ]
khanlarmammadov/TacitusLogger.Destinations.RabbitMq
src/TacitusLogger.Destinations.RabbitMq.IntegrationTests/BuilderTests.cs
11,949
C#