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
// 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; namespace Microsoft.EntityFrameworkCore.Benchmarks.Models.AdventureWorks { public class SalesPerson...
41.846154
111
0.68076
[ "Apache-2.0" ]
0b01/efcore
benchmark/EFCore.Benchmarks/Models/AdventureWorks/SalesPerson.cs
1,632
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<...
41.509506
1,368
0.577173
[ "MIT" ]
Kusnaditjung/MimDms
src/Dms.Ambulance.V2100/Generated/COCD_TP146036UK04PatientRole.cs
10,917
C#
//----------------------------------------------------------------------------- // Filename: Program.cs // // Description: A console application to load test the WebRTC data channel // send message API. // // Author(s): // Aaron Clauson (aaron@sipsorcery.com) // // History: // 06 Aug 2020 Aaron Clauson Crea...
41.133333
148
0.548799
[ "Apache-2.0" ]
Ali-Russell/sipsorcery
examples/WebRTCScenarios/DataChannelStressTest/Program.cs
14,193
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;...
22.428571
57
0.719745
[ "MIT" ]
twinbird827/NicoV5
Mvvm/WorkSpaces/SearchMylistWindow.xaml.cs
648
C#
using System; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using STEP; namespace IFC { /// <summary> /// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcrelcontainedinspatialstructure.htm"/> /// </summary> public partial class...
36.603448
249
0.749882
[ "MIT" ]
Gytaco/IFC-gen
lang/csharp/src/IFC/IfcRelContainedInSpatialStructure.g.cs
2,123
C#
using System; using d60.Cirqus.Commands; using Exchanger.Model; namespace Exchanger.Commands { public class Pull : ExecutableCommand { readonly StoreFactory storeFactory; readonly Func<string> idFactory; public Pull(StoreFactory storeFactory, Func<string> idFactory) ...
27.703704
71
0.610963
[ "MIT" ]
asgerhallas/Exchanger
src/Exchanger/Commands/Pull.cs
750
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("ESC...
37.675676
84
0.748207
[ "MIT" ]
SirMashedPotato/ESCP-Spriggan
1.3/Source/ESCP_Spriggan/ESCP_Spriggan/Properties/AssemblyInfo.cs
1,397
C#
using RestSharp; using SACModuleBase; using SACModuleBase.Enums.Captcha; using SACModuleBase.Models; using SACModuleBase.Models.Capcha; using SteamAccCreator.Models; using System; using System.Text.RegularExpressions; namespace SteamAccCreator.Web.Captcha.Handlers { public class CaptchaSolutionsHandler : ISACHand...
38.069444
120
0.636629
[ "MIT" ]
karutaXkun/steam-account-generator
SteamAccCreator/Web/Captcha/Handlers/CaptchaSolutionsHandler.cs
2,743
C#
/*********************************************************************************************************************************** * GOD First * * Author: Dustin Ledbetter ...
51.736842
134
0.359105
[ "MIT" ]
DustinLedbetter/SFTP-Project
LogMessageToFile.cs
1,968
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoraKeysManagerFacade { using System; using System.Collections.Generic; using System.Text; public class DevAddrCacheInfo : IoTHubDeviceInfo,...
29.135135
101
0.558442
[ "MIT" ]
LauraDamianTNA/iotedge-lorawan-starterkit
LoRaEngine/LoraKeysManagerFacade/DevAddrCacheInfo.cs
1,080
C#
using System; using System.Runtime.InteropServices; namespace SimConnect { public class RecvEvent : Recv { internal RecvEvent (uint dwSize, uint dwVersion, uint dwID, uint uGroupID, uint uEventID, uint dwData) : base (dwSize, dwVersion, dwID) { GroupId = uGroupID; EventId = uEventID; Data = dwData; }...
29.333333
186
0.737374
[ "MIT" ]
bholmes/NiteWorks
FlightWork/ManagedSimConnect/RecvEvent.cs
794
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.AwsN...
24.84
81
0.60628
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/OpsWorks/Outputs/InstanceTimeBasedAutoScaling.cs
1,242
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Pacman.GraphStuff; using System.Collections.Generic; using System.IO; namespace Pacman { public class Game1 : Game { public enum GameStates { TitleScreen, M...
30.503759
134
0.566182
[ "MIT" ]
Santiago-G/Pacman
Pacman/Pacman/Game1.cs
4,059
C#
using System; using System.Collections.Generic; using Daikin.DotNetLib.MsTeams; using Daikin.DotNetLib.MsTeams.Models; using Xunit; namespace Daikin.DotNetLib.Core.Tests { public class Teams { #region Fields private readonly Config _configuration; #endregion #region Constructo...
31.114286
113
0.520661
[ "MIT" ]
daikinapplied/DotNetLib
Daikin.DotNetLib.Core.Tests/Teams.cs
2,180
C#
#region License // The MIT License (MIT) // // Copyright (c) 2016 Alberto Rodríguez Orozco & LiveCharts contributors // // 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 restric...
31.692982
101
0.58594
[ "MIT" ]
18720989200/Live-Charts
src/LiveCharts.Core/Interaction/Events/CartesianAxisSeparatorArgs.cs
3,616
C#
using Dibware.Template.Core.Domain.Contracts.Services; using Dibware.Template.Presentation.Web.Controllers.Base; using Dibware.Template.Presentation.Web.Helpers; using Dibware.Template.Presentation.Web.Models.Home; using Dibware.Template.Presentation.Web.Resources; using Ninject; using System; using System.Web....
29.958333
87
0.541261
[ "MIT" ]
dibley1973/Dibware.Template.Presentation.Web
Dibware.Template.Presentation.Web/Controllers/HomeController.cs
4,316
C#
using System.ComponentModel.DataAnnotations; namespace AbpDemoTwo.Users.Dto { public class ChangeUserLanguageDto { [Required] public string LanguageName { get; set; } } }
19.9
48
0.688442
[ "MIT" ]
YandongZhao/AbpDemoTwo
aspnet-core/src/AbpDemoTwo.Application/Users/Dto/ChangeUserLanguageDto.cs
199
C#
using System; using System.Collections.Generic; using Glass.Mapper.Sc.Fields; namespace Glass.Mapper.Sc.Upgrade.Tests.Configuration.Fluent { public class BasicTemplate { #region SitecoreId public virtual Guid Id { get; set; } #endregion #region Fields #region Simple ...
26.705882
69
0.610447
[ "Apache-2.0" ]
smithc/Glass.Mapper
Tests/Unit Tests/Glass.Mapper.Sc.Upgrade.Tests/Configuration/Fluent/BasicTemplate.cs
3,180
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu] public class InventoryRS : RuntimeSet<Item> { public GameEvent OnInventoryUpdate; public override bool Add (Item t) { if (Items.Count < 8) { base.Add (t); OnInventoryUpdate.Raise (); return true; } else {...
15
43
0.670833
[ "Apache-2.0" ]
fezproof/polynova
Assets/UI/Inventory/InventoryRS.cs
482
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.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; u...
39.746193
208
0.576905
[ "MIT" ]
AzureMentor/runtime
src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs
46,980
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.ComponentModel.Composition; using System.Diagnostics; using System.Globalization; using Sys...
44.180285
227
0.547368
[ "Apache-2.0" ]
Zastai/NuGet.Client
src/NuGet.Clients/NuGet.SolutionRestoreManager/SolutionRestoreJob.cs
34,063
C#
using System; public class DisplayItemData { public int index; public int key; public long value; public bool isEnd; }
9.769231
28
0.732283
[ "MIT" ]
corefan/tianqi_src
src/DisplayItemData.cs
127
C#
using Content.Client.Chat; using Content.Client.Interfaces; using Content.Client.UserInterface.Stylesheets; using Content.Client.Utility; using Robust.Client.Graphics.Drawing; using Robust.Client.Interfaces.ResourceManagement; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.S...
38.48954
115
0.380585
[ "MIT" ]
ComicIronic/space-station-14
Content.Client/UserInterface/LobbyGui.cs
9,199
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("NP...
37.486486
84
0.743331
[ "MIT" ]
omershelef/NPython
NPython/Properties/AssemblyInfo.cs
1,390
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> //------------------------------------------...
33.788625
824
0.727431
[ "MIT" ]
zijianhuang/openapi-directory
APIs/amazonaws.com/inspector/csharp/DemoAuto.cs
163,372
C#
#nullable enable using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text.Json; using System.Text.Json.Serialization; using Azure.DigitalTwins.Core; using Telstra.Twins.Attributes; using Telstra.Twins.Core; using Telstra.Twins.Models; using Telstra.Twins.Services; using Xun...
32.793478
83
0.613855
[ "Apache-2.0" ]
sgryphon/DigitalTwins-CodeFirst-dotnet
Tests/Telstra.Twins.Test/SerializationTests.cs
3,019
C#
using System; using System.Linq; using System.Linq.Expressions; using DevExpress.Xpo; using Fasterflect; namespace Xpand.Extensions.XAF.Xpo.SessionExtensions { public static partial class SessionExtensions { public static T EnsureObject<T>(this Session session, Expression<Func<T, bool>> criteriaExpression...
33.56
107
0.622169
[ "Apache-2.0" ]
eXpandFramework/Packages
src/Extensions/Xpand.Extensions.XAF.Xpo/SessionExtensions/EnsureObject.cs
841
C#
using Lucene.Net.Support; using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; namespace Lucene.Net.Facet.Taxonomy { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work ...
36.295652
238
0.540249
[ "Apache-2.0" ]
b9chris/lucenenet
src/Lucene.Net.Facet/Taxonomy/FacetLabel.cs
8,350
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
42.888889
174
0.6151
[ "MIT" ]
team-unhinged/Speq
Speq/Properties/Resources.Designer.cs
2,704
C#
/* Myrtille: A native HTML4/5 Remote Desktop Protocol client. Copyright(c) 2014-2021 Cedric Coste 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...
30.413043
119
0.63045
[ "Apache-2.0" ]
Servitus-Nederland/myrtille
Myrtille.Web/handlers/AudioSocketHandler.ashx.cs
1,401
C#
using UnityEngine; #if BIBCAM_HAS_UNITY_VIDEO using UnityEngine.Video; #endif namespace Bibcam.Decoder { sealed class BibcamVideoFeeder : MonoBehaviour { #if BIBCAM_HAS_UNITY_VIDEO #region Scene object reference [SerializeField] BibcamMetadataDecoder _decoder = null; [SerializeField] BibcamTextureDemuxe...
20.854839
75
0.62645
[ "Unlicense" ]
keijiro/Bibcam
Packages/jp.keijiro.bibcam/Decoder/Scripts/BibcamVideoFeeder.cs
1,293
C#
using System; namespace com.opentrigger.distributord { public static class ConfigExtensions { public static Uri BuildButtonUri(this ButtonConfiguration buttonConfig) => buttonConfig.BuildUri(buttonConfig.ButtonPath); public static Uri BuildLedUri(this ButtonConfiguration buttonConfig) => butto...
38.588235
130
0.708841
[ "MIT" ]
acolono/opentrigger-distributor
com.opentrigger.distributor/lib/ConfigExtensions.cs
658
C#
using System; using System.Collections.Generic; using System.Text; namespace TeacherControl.Core.DTOs { public class QuestionnaireResultDTO { public string Title { get; set; } public double QuestionnairePoints { get; set; } public double UserPoints { get; set; } public bool IsP...
23.2
55
0.663793
[ "MIT" ]
em-torres/teacher-control
TeacherControl/TeacherControl.Core/DTOs/QuestionnaireDTOs/QuestionnaireResultDTO.cs
350
C#
using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace VinesMod.Items.Tools { public class FossilYellowHamaxe : ModItem { public override void SetStaticDefaults() { DisplayName.SetDefault("FossilYellow Hamaxe"); } public override void SetDefaults() { it...
23.290909
119
0.68306
[ "CC0-1.0" ]
vinesmsuic/Vines-Terraria-Mod
Items/Tools/FossilYellowHamaxe.cs
1,281
C#
using System; using System.Windows.Forms; namespace KaupischITC.Shared { /// <summary> /// Eine Textbox, die schnelle Eingaben berücksichtigt und das TextChanged-Ereignis erst auslöst, wenn nach der letzten Eingabe eine bestimmte Zeit verstrichen ist /// </summary> public class DelayTextBox : TextBox { ...
26.558824
182
0.668328
[ "MIT" ]
Kaupisch-IT/KaupischIT.Shared
KaupischITC.Shared/Controls/DelayTextBox.cs
1,816
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
29.265625
96
0.630005
[ "Apache-2.0" ]
NMFCode/SynchronizationsBenchmark
Metamodels/eMoflonTGGRuntime/ITGGRuleMorphism.cs
1,875
C#
namespace Miracle.Common.Infrastructure { /// <summary> /// 服务提供者访问器接口 /// </summary> public interface IServiceProviderAccessor { IServiceProvider ServiceProvider { get; } } }
20.8
49
0.639423
[ "MIT" ]
GardeningX/Miracle.Common
Miracle.Common/Infrastructure/IServiceProviderAccessor.cs
230
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CacheTower.Providers.Redis; using CacheTower.Tests.Utils; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using StackExchange.Redis; namespace CacheTower.Tests.Providers.Redis { [T...
26.253731
112
0.762365
[ "MIT" ]
TurnerSoftware/CacheTower
tests/CacheTower.Tests/Providers/Redis/RedisCacheLayerTests.cs
1,761
C#
using System; namespace NLog.Loki; internal static class UnixDateTimeConverter { private static readonly DateTime UnixEpoch = new(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public static long ToUnixTimeNs(DateTime dateTime) => (dateTime.ToUniversalTime() - UnixEpoch).Ticks * 100; }
29
111
0.748276
[ "BSD-3-Clause" ]
corentinaltepe/nlog.loki
src/NLog.Loki/UnixDateTimeConverter.cs
290
C#
namespace java.nio.charset { [global::MonoJavaBridge.JavaClass()] public partial class UnsupportedCharsetException : java.lang.IllegalArgumentException { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; protected UnsupportedCharsetException(global::MonoJavaBridge.JNIEnv @__env) : base(@__e...
51.236842
286
0.789933
[ "MIT" ]
JeroMiya/androidmono
MonoJavaBridge/android/generated/java/nio/charset/UnsupportedCharsetException.cs
1,947
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace I...
37.440476
177
0.570429
[ "MIT", "BSD-3-Clause" ]
netcharm/PhotoTools_AutoMaskFace
Addins/01_Apps/InternalApp/Properties/Resources.Designer.cs
3,539
C#
using AutoMapper; using MediatR; using Ordering.Application.Contracts.Persistence; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Ordering.Application.Features.Orders.Queries.GetOrdersList { public class GetOrdersListQueryHandler : IRequestHandler<G...
35.6
107
0.731273
[ "MIT" ]
ChiragPanchal1991/AspnetMicroservices
src/Services/Ordering/Ordering.Application/Features/Orders/Queries/GetOrdersList/GetOrdersListQueryHandler.cs
1,070
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: AssemblyTi...
39.27027
85
0.728837
[ "MIT" ]
simon-biber/mvcauthorization
Source/MvcAuthorization/MvcAuthorization.Tests/Properties/AssemblyInfo.cs
1,456
C#
using Microsoft.Rest; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Bot.Connector { public static class ErrorHandling { public static async Task HandleErrorAsync(this HttpOperationRespon...
38.297297
147
0.493766
[ "MIT" ]
BhagiSivaganesh/ChatBots
CSharp/Library/Microsoft.Bot.Connector/ErrorHandling.cs
4,253
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 Gov.Jag.PillPressRegistry.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usi...
44.564103
501
0.608746
[ "Apache-2.0" ]
WadeBarnes/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/IComplaints.cs
6,952
C#
namespace MVCProject.View.Inserir { partial class frmAddLivro { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
40.668182
107
0.544987
[ "MIT" ]
AndersonAluiz12/GitC
05-08-19_09-08-19/MVCProject/MVCProject/View/Inserir/frmAddLivro.Designer.cs
8,951
C#
// Copyright (C) 2020 Road to Agility // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published by the Free Software Foundation; either // version 2 of the License, or (at your option) any later version. // // This library...
32.061224
101
0.666454
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
roadtoagility/dflow
samples/DFlow.Samples.Persistence.EntityFramework/ReadModel/ActivityProjection.cs
1,571
C#
using System; using System.Threading.Tasks; using System.Windows.Forms; namespace SplashBot.Services { public enum UnsplashChannelType { Collection, Search, Random } public class UnsplashChannel { public string Name { get; set; } public UnsplashChannelType Type { get; set;...
28.767857
96
0.556176
[ "MIT" ]
RSchwoerer/SplashBot
source/Services/UnsplashService.cs
1,613
C#
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; [CreateAssetMenu(fileName = "ItemData", menuName = "Data/Item Data", order = 1)] public class ItemData : ScriptableObject { public string itemName = ""; public string description = ""; public Sprite sprite = ...
25.230769
80
0.731707
[ "MIT" ]
hsandt/LD44
Assets/Game/Scripts/Item/ItemData.cs
330
C#
#region Copyright (c) all rights reserved. // <copyright file="AssemblyInfoVersion.cs"> // THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. // </co...
46
107
0.78125
[ "MIT" ]
jsnape/ditto
shared/AssemblyInfoVersion.cs
736
C#
using System; using System.Collections.Generic; using System.Text; using MediatR; namespace SFA.DAS.Campaign.Application.Queries.Articles { public class GetArticleByHubAndSlugQuery : IRequest<GetArticleByHubAndSlugQueryResult> { public string Hub { get; set; } public string Slug { get; set; } ...
23.428571
90
0.72561
[ "MIT" ]
SkillsFundingAgency/das-apim-endpoints
src/SFA.DAS.Campaign/Application/Queries/Articles/GetArticleByHubAndSlugQuery.cs
330
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("pr...
37.594595
84
0.744069
[ "Apache-2.0" ]
jasarsoft/ipcs-primjeri
ipcs_40/primjer05/Properties/AssemblyInfo.cs
1,394
C#
namespace MNote.Services.Mapping { using AutoMapper; public interface IHaveCustomMappings { void CreateMappings(IProfileExpression configuration); } }
17.7
62
0.717514
[ "MIT" ]
todorovmartin/MNote
Services/MNote.Services.Mapping/IHaveCustomMappings.cs
179
C#
// Created by Ron 'Maxwolf' McDowell (ron.mcdowell@gmail.com) // Timestamp 01/03/2016@1:50 AM using WolfCurses.Window; using WolfCurses.Window.Form; namespace OregonTrailDotNet.Window.GameOver { /// <summary> /// Fired when the simulation has determined the player has died. It specifically only attaches...
46.616667
135
0.642832
[ "MIT" ]
Auropath/OregonTrail
src/Window/GameOver/GameFail.cs
2,799
C#
// ----------------------------------------------------------------------- // <copyright file="LeadSourceViewModel.cs" company="Nodine Legal, LLC"> // Licensed to Nodine Legal, LLC under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information //...
47.2625
111
0.483999
[ "Apache-2.0" ]
ozguryilmaz07/HUKUKOFIS
ViewModels/Leads/LeadSourceViewModel.cs
7,564
C#
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp using System; using Twilio; using Twilio.Rest.Api.V2010.Account; class Example { static void Main(string[] args) { // Find your Account Sid and Auth Token at twilio.com/console const string accountSid = "ACXXXXXXXXXXXXX...
29.75
82
0.644258
[ "MIT" ]
Abubakar672/api-snippets
rest/call/list-get-example-3/list-get-example-3.5.x.cs
714
C#
using ChameleonForms.Component; using ChameleonForms.Component.Config; using ChameleonForms.Enums; using ChameleonForms.FieldGenerators; using ChameleonForms.FieldGenerators.Handlers; using ChameleonForms.Templates.TwitterBootstrap3; using NSubstitute; using NUnit.Framework; namespace ChameleonForms.Tests.Te...
45.073171
304
0.675144
[ "MIT" ]
jason-roberts/ChameleonForms
ChameleonForms.Tests/Templates/TwitterBootstrap3/PrepareFieldConfigurationTests.cs
5,546
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to SystemCallProcessingPolicyProfileCollaborateProfileGetRequest22V2. ...
36.968661
137
0.646
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemCallProcessingPolicyProfileCollaborateProfileGetResponse22V2.cs
25,952
C#
using System; using shpero.Rvr.Protocol; namespace shpero.Rvr.Commands.SystemInfoDevice { [Command(CommandId, DeviceId)] public class GetFirmwareVersion : Command { public const byte CommandId = 0x00; public const DeviceIdentifier DeviceId = DeviceIdentifier.SystemInfo; public by...
27.71875
77
0.607666
[ "MIT" ]
paulmey/sphero-sdk-net
src/shpero.Rvr/Commands/SystemInfoDevice/GetFirmwareVersion.cs
889
C#
using AppBlocks.Models; using System; using System.Data; using System.IO; using System.Text.Json; namespace AppBlocks.DataReaders { public class FileDataReader : IDataReader { protected StreamReader Stream { get; set; } protected object[] Values; protected bool Eof { get; set; } ...
26.232493
104
0.464816
[ "MIT" ]
AppBlocksNET/AppBlocks.DataReaders.FileDataReader
src/AppBlocks.DataReaders.FileDataReader/AppBlocks.DataReaders.FileDataReader/FileDataReader.cs
9,367
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EFC4RESTAPI.Repositories; using EFC4RESTAPI.Services; using EFC4RESTAPI.Settings; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microso...
35.253521
125
0.648022
[ "Apache-2.0" ]
smmhlbf/EFC4RESTAPI
Startup.cs
2,503
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace System { public static class PrimitiveExtensions { /// <summary> /// Returns true when all <see cref="options"/> are eqal to <see cref="reference"/> /// </summa...
31.672727
91
0.551091
[ "MIT" ]
J-kit/UtiLib
UtiLib/Extensions/PrimitiveExtensions.cs
1,744
C#
using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Localization; using Microsoft.Extensions.FileProviders; using OrchardCore.Deployme...
37.873563
123
0.653414
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore.Modules/OrchardCore.Deployment.Remote/Controllers/ImportRemoteInstanceController.cs
3,295
C#
using System; using Microsoft.Extensions.Logging; using LogLevel = Microsoft.Extensions.Logging.LogLevel; namespace Lucca.Logs.Netcore.Tests { public static class LogPlayerExtension { public static void Log<T>(this ILogPlayer<T> player, LogLevel logLevel, int eventId, Exception exception, string message) where...
27.868421
123
0.714825
[ "MIT" ]
LuccaSA/Lucca.Logs
Lucca.Logs.Netcore3.Tests/LogPlayerExtension.cs
1,061
C#
using Common.Dto; using Common.Tools; using Data.Services; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using ToastNotifications; using ToastNotifications.Lifetime; using ToastNotifications.Messages; using ToastNotifications.Position; using System.Collections.Gene...
30.641026
137
0.587238
[ "MIT" ]
FriedrichWilhelmNietzsche/LucaHome-WPFApplication
LucaHome/Pages/MenuUpdatePage.xaml.cs
4,782
C#
using System.ComponentModel.DataAnnotations; namespace OAuthApp.ApiModels.AppUsersController { public class MobileSignUpRequest { public long AppID { get; set; } [Required] public string Platform { get; set; } [Required] public string Phone { get; set; } [Req...
20.25
47
0.59465
[ "Apache-2.0" ]
seven1986/IdentityServer4.MicroService
ApiModels/AppUsersController/MobileSignUpRequest.cs
488
C#
using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; namespace Octokit { /// <summary> /// Used to create a new tag /// </summary> /// <remarks> /// Note that creating a tag object does not create the reference that makes a tag in Git. If you w...
31.101449
148
0.5452
[ "MIT" ]
ROBISKMAGICIAN/Desainer.net
Octokit/Models/Request/NewTag.cs
2,150
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 Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Logging; namespace Microsoft....
34.297872
145
0.653226
[ "Apache-2.0" ]
06b/AspNetCore
src/Middleware/Session/src/DistributedSessionStore.cs
1,612
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 k8s.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// PersistentVolume (...
45.58871
281
0.620555
[ "Apache-2.0" ]
AshenW0lf/csharp
src/KubernetesClient/generated/Models/V1PersistentVolume.cs
5,653
C#
//// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) //// Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus //// Forum & Issues: https://github.com/zzz...
46.583333
193
0.645796
[ "MIT" ]
Ahmed-Abdelhameed/EntityFramework-Plus
src/test/Z.Test.EntityFramework.Plus.EF6/QueryDbSetFilter/DbSet_Filter/WithLazyLoading/ManyFilter_Disabled.cs
2,239
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; namespace SampleEntityFrameworkProvider { /// <summary> /// This enum describes the current server version /// </summary> internal enum StoreVersion { ...
33.289157
138
0.579443
[ "Apache-2.0" ]
mrward/entityframework-sharpdevelop
samples/Provider/SampleEntityFrameworkProvider/StoreVersion.cs
2,765
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ValidationResultTest.cs" company="Catel development team"> // Copyright (c) 2011 - 2012 Catel development team. All rights reserved. // </copyright> // -------------------------...
43.290043
177
0.6202
[ "MIT" ]
14632791/Catel
src/Catel.Tests/Data/ValidationResultFacts.cs
10,002
C#
#if UNITY_EDITOR using System; using UnityEngine; using UnityEditor; using System.Collections.Generic; namespace FastPlay.Editor { public class AutoTypeInstance : ScriptableObject { private bool is_playing; private string current_text; private int chars_per_second; private float time_elapsed; private f...
21.037037
104
0.652289
[ "MIT" ]
BrunoS3D/FastPlay
Assets/FastPlay/FP-Editor/AutoTypeInstance.cs
2,272
C#
using Macropse.Domain.External; using Macropse.Domain.Logic.Interfaces; using Macropse.Domain.Logic.Output; using Macropse.Infrastructure.Module.Driver; using Macropse.Infrastructure.Module.Message.Args; using Macropse.Infrastructure.Module.Message.ScriptBase; using System.Collections.Generic; using System.Xml.Linq; ...
43.645161
161
0.636364
[ "MIT" ]
sh1ngekyo/macropse
Macropse.Domain/Logic/Parser/ScriptRootBuilder.cs
2,708
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NJection.LambdaConverter.Tests { /// <summary> /// Summary description for ListAccessExpression /// </summary> [TestClass] public class ListAccessExpression : BaseTest { ...
30.323529
101
0.557226
[ "MIT" ]
sagifogel/NJection.LambdaConverter
NJection.LambdaConverter.Tests/Tests/ListExpressions/ListAccessExpression.cs
2,064
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace EFCore.SQL.Migrations { public partial class AddColuinBoil : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "PurchaseDetailsId", ...
27.347826
71
0.600954
[ "Apache-2.0" ]
infologs/DTSolutions
src/BuildingBlocks/EFCore.Support/EFCore.SQL/Migrations/20211113131431_AddColuinBoil.cs
631
C#
using STU.Common.Result; using STU.Shared.Model; using STU.Shared.Repository; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace STU.Shared.Services { public class LocationService : BaseService<Location>, ILocationService { pub...
29.136364
136
0.720749
[ "Apache-2.0" ]
jaseaman/thinkchangecrew
STU.Shared/Services/LocationService.cs
643
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.NetPeer.ServerCommand { public interface IServerCommand { byte[] Serialize(); void Execute(); } }
17.4
38
0.701149
[ "MIT" ]
JacksonDorsett/Podium
New Unity Project/Assets/NetPeer/ServerCommand/IServerCommand.cs
263
C#
//---------------------------------------------------------------- // <copyright company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //---------------------------------------------------------------- namespace System.Activities.Presentation.View { int...
29.428571
67
0.478155
[ "Apache-2.0" ]
Distrotech/mono
external/referencesource/System.Activities.Presentation/System.Activities.Presentation/System/Activities/Presentation/View/IVersionEditor.cs
414
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TradingClient.Common; using TradingClient.Data.Contracts; using TradingClient.ViewModelInterfaces; namespace TradingClient.ViewModels { public abstract class TradeItem : Observable, ITradeItem...
25.737705
96
0.627389
[ "MPL-2.0" ]
NominalNimbus/ClientNimbus
UserInterface/TradingClient.ViewModels/Trading/TradeItem.cs
1,572
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20180401 { using Microsoft.Azure.PowerShell.Cmdlets.Databricks.Runtime.PowerShell; /// <summary>Custom Parameters used for Cluster Creation.</summary> [System.ComponentModel.TypeConverter(typeof(WorkspaceCustomParametersTypeConverter))]...
181.299465
581
0.81975
[ "MIT" ]
3quanfeng/azure-powershell
src/Databricks/generated/api/Models/Api20180401/WorkspaceCustomParameters.PowerShell.cs
33,717
C#
using System; using System.Collections; using System.Diagnostics; using System.IO; using System.Reflection; using System.Text; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.IO; namespace Org.BouncyCastle.Bcpg { /** * Basic output stream. */ public class ArmoredOutputStream ...
29.382586
108
0.389188
[ "MIT" ]
SchmooseSA/Schmoose-BouncyCastle
Crypto/bcpg/ArmoredOutputStream.cs
11,136
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Cdn.Models { public partial class ContinentsResponse { in...
40.684211
130
0.572229
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ContinentsResponse.Serialization.cs
2,319
C#
using System; namespace UnrealEngine { /// <summary>Struct allowing control over "walkable" normals, by allowing a restriction or relaxation of what steepness is normally walkable.</summary> public partial struct FWalkableSlopeOverride { /// <summary> /// Behavior of this surface (whether we affect the walkable ...
33.571429
152
0.744681
[ "MIT" ]
xiongfang/UnrealCS
Script/UnrealEngine/GeneratedScriptFile/FWalkableSlopeOverride.cs
705
C#
using System; using System.Collections.Generic; using System.Linq; using Grasshopper.Kernel; using Grasshopper.Kernel.Types; using Grasshopper.Kernel.Parameters; using Rhino.Geometry; using Parametric_FEM_Toolbox.UIWidgets; using Parametric_FEM_Toolbox.HelperLibraries; using Parametric_FEM_Toolbox.RFEM; using Parame...
56.968317
192
0.612673
[ "Apache-2.0" ]
diego-apellaniz/Parametric-FEM-Toolbox
Parametric_FEM_Toolbox/Parametric_FEM_Toolbox/Deprecated/Component_GetData_GUI_OBSOLETE_6.cs
28,771
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("JoinRpg.CommonUI.Models")] [assembly: Ass...
38.333333
84
0.742754
[ "MIT" ]
FulcrumVlsM/joinrpg-net
JoinRpg.CommonUI.Models/Properties/AssemblyInfo.cs
1,383
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace CustomLoginPage { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
26.090909
70
0.709059
[ "Apache-2.0" ]
AkhilNaidu09/IdentityServer3.Samples
source/CustomLoginPage/CustomLoginPage/Global.asax.cs
576
C#
using ContactList.Models; using System; using System.Threading.Tasks; using System.Web.Mvc; namespace ContactList.Controllers { public class HomeController : Controller { // GET: Home public async Task<ActionResult> Index() { var mgr = new ContactManager(); var ...
26.53913
69
0.465924
[ "Unlicense" ]
geoffsnowman/DocumentDBSampleCode
ContactList/Controllers/HomeController.cs
3,054
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace SimpleSoft.Database { /// <summary> /// Represents the read bulk operation by a collection of /// external unique identifiers /// </su...
33.844828
131
0.648497
[ "MIT" ]
simplesoft-pt/Database
src/SimpleSoft.Database.EFCore/EFCoreReadByExternalIdRange.cs
1,965
C#
using System; namespace Microshoppy.Catalog { public class CatalogProduct { public Guid ProductId { get; set; } public string Name { get; set; } public string Description { get; set; } } }
16.583333
41
0.698492
[ "MIT" ]
micro-shoppy/catalog
Microshoppy.Catalog/Microshoppy.Catalog/src/CatalogProduct.cs
199
C#
namespace codingfreaks.AspNetIdentity.Logic.Core.Repositories { using System; using System.Diagnostics; using System.Linq; using Data.Core; /// <summary> /// Abstract base class for all repositories. /// </summary> public abstract class BaseRespository : IDisposable { #reg...
24.775
122
0.551463
[ "MIT" ]
Farshadhn/blogsamples
AspNetIdentity/Logic/Logic.Core/Repositories/BaseRepository.cs
1,984
C#
namespace PlanetWars.Contracts.ManagementContracts { public class ApiGameResults { public ApiGameResults(ApiGameStats gameStats, string? fatalException, string[]? internalLog) { GameStats = gameStats; FatalException = fatalException; InternalLog = internalLog...
30
100
0.63125
[ "MIT" ]
icfpcontest2020/galaxy
src/PlanetWars.Contracts/ManagementContracts/ApiGameResults.cs
482
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System; using System.Collections; using System.Collections.Generic; [AddComponentMenu("UI/UI ListGrid")] public class UI_ListGrid : MonoBehaviour { public enum DIR { UP_RIGHT, UP_LEFT, DOWN_RIGHT, DOWN_LEFT, LEFT_UP, LEFT_DOW...
16.76699
99
0.631731
[ "MIT" ]
luzexi/kdm-client
u3d/Assets/scripts/ui/core/Component/UI_ListGrid.cs
1,727
C#
using LNLOrder.Write.Application.Infrastructure; using System; using System.Collections.Generic; using System.Text; namespace LNLOrder.Write.Application.Customers { public class RegisterCustomerCommand : ICommand { public string Name { get; set; } public string Adress { get; set; } pub...
23.866667
51
0.701117
[ "MIT" ]
huseyinulas/CQRS-Demo
OrderProject.Application/Customers/RegisterCustomerCommand.cs
360
C#
// // Copyright (c) Stanislav Grigoriev. All rights reserved. // grigorievstas9@gmail.com // https://github.com/StanislavGrigoriev/EasyCNTK // // Copyright (c) Microsoft. All rights reserved. // // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // using CNTK; n...
27.227273
105
0.709516
[ "MIT" ]
StanislavGrigoriev/EasyCNTK
Source/EasyCNTK/LossFunctions/SquaredError.cs
601
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...
35.639706
117
0.5915
[ "Apache-2.0" ]
AdvaithD/Lean
Common/Algorithm/Framework/Alphas/InsightScore.cs
4,849
C#
namespace ModernTlSharp.TLSharp.Tl.TL { public abstract class TLAbsFoundGif : TLObject { } }
15
50
0.695238
[ "MIT" ]
immmdreza/ModernTLSharp
ModernTlSharp/TLSharp.Tl/TL/TLAbsFoundGif.cs
105
C#
using System; using System.IO; using System.Security.Cryptography; namespace Rebus.Encryption { /// <summary> /// Helps with encrypting/decripting byte arrays, using the <see cref="RijndaelManaged"/> algorithm /// </summary> class RijndaelEncryptor : IEncryptor { readonly byte[] _key; ...
35.021978
219
0.588641
[ "MIT" ]
microting/Rebus
Rebus/Encryption/RijndaelEncryptor.cs
3,189
C#
using Abp.AutoMapper; using Abp.Modules; using Abp.Reflection.Extensions; using Group12.SE347.L11_HelloWork.Application.Services.SearchJobs.Dto; using SE347.L11_HelloWork.Entities; using System.Linq; namespace Group12.SE347.L11_HelloWork.Application { public class Group12ApplicationModule : AbpModule { ...
30.766667
153
0.666306
[ "MIT" ]
NgocSon288/HelloWork
aspnet-core/src/group12/Group12.SE347.L11_HelloWork.Application/Group12ApplicationModule.cs
925
C#
namespace ParteSISOL.Models.Servicios { public class RepositorioDenominaciones { } }
14
42
0.714286
[ "MIT" ]
pSharpX/ParteSISOL
ParteSISOL/Servicios/RepositorioDenominaciones.cs
100
C#