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.Reflection; using Autofac; using Autofac.Core; using Autofac.Core.Registration; using Nameless.DependencyInjection.Autofac; namespace Nameless.Localization.Json.Autofac.Extra { public sealed class LocalizationModule : ModuleBase { #region Protected Override Methods /// <inheritdoc/> protected o...
33.27907
177
0.803634
[ "MIT" ]
marcoaoteixeira/Nameless
src/Nameless.Localization.Json.Autofac.Extra/LocalizationModule.cs
1,433
C#
// <auto-generated /> // Built from: hl7.fhir.r5.core version: 4.6.0 // Option: "NAMESPACE" = "fhirCsR5" using fhirCsR5.Models; namespace fhirCsR5.ValueSets { /// <summary> /// Kind of precondition for the condition. /// </summary> public static class ConditionPreconditionTypeCodes { /// <summary> ...
27.970588
100
0.647739
[ "MIT" ]
FirelyTeam/fhir-codegen
src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/ConditionPreconditionType.cs
951
C#
using System; using System.IO; namespace HddTree { internal class FileNode : IThresholdItem { public string Name { get; private set; } public DateTime LastModified { get; private set; } public long Value { get; private set; } public FileNode(string filePath) { ...
22.217391
58
0.587084
[ "Apache-2.0" ]
Sebastian-Gruchacz/Train.NetCore
src/HddTree/FileNode.cs
513
C#
namespace Dev.DevKit.Shared.Entities { public partial class msdyn_analysiscomponent { #region --- PROPERTIES --- //public DateTime? DateTime { get { return GetAliasedValue<DateTime?>("c.birthdate"); } } #endregion #region --- STATIC METHODS --- #endregion } }
18.705882
97
0.597484
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/msdyn_analysiscomponent.cs
320
C#
using System.Threading.Tasks; using Shouldly; using Volo.Abp.Identity; using Xunit; namespace BookStore.Samples { /* This is just an example test class. * Normally, you don't test code of the modules you are using * (like IdentityUserManager here). * Only test your own domain services. */ ...
33.956522
97
0.652369
[ "MIT" ]
271943794/abp-samples
BlazorPageUniTest/test/BookStore.Domain.Tests/Samples/SampleDomainTests.cs
1,564
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...
47.932127
130
0.645993
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-r02_05_00/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_05_00/Pharmacy/Porx_mt060020ca/Dispense.cs
10,593
C#
using System; class OptimizedUnion { private int[] root; private int[] rank; // O(n) public OptimizedUnion(int vertices){ root = new int[vertices]; rank = new int[verties]; for(int i = 0; i < vertices; i++){ root[i] = i; rank[i] = 1; } } // O(h) public int Find(int x){ w...
18.545455
43
0.512255
[ "MIT" ]
ej-sanmartin/ComputerScienceReference
graphTheory/optimizedUnionFind/main.cs
816
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System; using System.Data.Entity; using Microsoft.Extensio...
41.718182
123
0.677054
[ "Apache-2.0" ]
Bartmax/openiddict-core
test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkScopeStoreResolverTests.cs
4,591
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/MSAAText.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtim...
48.300971
218
0.679196
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/MSAAText/ITextStoreSinkAnchorEx.cs
4,977
C#
using System; using System.CodeDom; using System.CodeDom.Compiler; using System.Collections; using System.Xml.Schema; using System.Xml.Serialization; using Thinktecture.Tools.Web.Services.Wscf.Environment; using GenerationOptions = System.Xml.Serialization.CodeGenerationOptions; namespace Thinktecture.To...
30.48503
124
0.678649
[ "BSD-3-Clause" ]
gimmemoore/wscf.green
Branches/V1/Thinktecture.Tools.Web.Services.CodeGeneration/DataContractGenerator.cs
5,093
C#
using System.Collections.Generic; using esharp.solidity.compiler.Syntax; namespace esharp.solidity.compiler { internal sealed class Lexer { private readonly string _text; private int _position; // private DiagnosticBag _diagnostics = new DiagnosticBag(); public Lexer(string tex...
34.459259
110
0.454428
[ "CC0-1.0" ]
esharpio/esharp.solidity.compiler
src/esharp.solidity.compiler/Lexer.cs
4,652
C#
using UnityEngine; public class FrostArmorEffect : DurationEffect { private const int resistanceIncrease = 30; public FrostArmorEffect() { name = "Frost Armor"; } protected override void onActivate() { owner.attrChange.physicalDefense += effectValue; owner.attrChange.iceResistance += resistanceInc...
27.666667
57
0.748996
[ "MIT" ]
Fellowship-of-the-Bus/Draconia-Unity
Assets/Script/Effects/IceWizard/FrostArmorEffect.cs
498
C#
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using MonoTouch.Foundation; using System.CodeDom.Compiler; namespace Sunny.iOS.View...
24.25
84
0.614138
[ "MIT" ]
rootdevelop/Sunny
App/Sunny.iOS/Views/NewsOverviewView.designer.cs
679
C#
using System; using System.IO; namespace YAF.Lucene.Net.Analysis { /* * 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...
48.619835
180
0.626891
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/Lucene.Net/Lucene.Net/Analysis/AnalyzerWrapper.cs
5,763
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; namespace System.Text.Json.Serialization.Converters { ...
36.172131
149
0.557897
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/IDictionaryConverter.cs
4,415
C#
using UnityEngine; using UnityEngine.UI; using Mods; using SquadBuilderNS; using Editions; public partial class MainMenu : MonoBehaviour { public GameObject RosterBuilderPrefab; public GameObject UpgradeLinePrefab; public GameObject CurrentPanel; public string PreviousPanelName; private void Se...
33.823789
198
0.589476
[ "MIT" ]
sampson-matt/FlyCasual
Assets/Scripts/MainMenu/View/MainMenu.cs
7,680
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 ILCompiler.DependencyAnalysis.ReadyToRun; using Internal.JitInterface; using Internal.TypeSyst...
42.254032
191
0.615739
[ "MIT" ]
AndyAyersMS/coreclr
src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRunSymbolNodeFactory.cs
31,439
C#
using CinemaRolfoBot.Utils; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CinemaRolfoBot.Model.DB { public class Showing { [Key] [Required] public string Id { get; set; } [Required] public DateTime DateAndTim...
25.259259
64
0.550587
[ "MIT" ]
r0lf0/NET-cinema-bologna-bot
CinemaRolfoBot/CinemaRolfoBot/Model/DB/Showing.cs
1,366
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Json; using System.Text; using System.Text.Json; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace CiscoEndpointCertificateDeployer { public class TcDeployer: Bas...
48.103093
188
0.62066
[ "Apache-2.0" ]
Aldaviva/CiscoEndpointCertificateDeployer
CiscoEndpointCertificateDeployer/TcDeployer.cs
4,668
C#
using System; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Effects; namespace MaterialDesignThemes.Wpf { public enum ShadowDepth { Depth0, Depth1, Depth2, Depth3, Depth4, Depth5 } [Fla...
37.394161
212
0.670896
[ "MIT" ]
15217711253/MaterialDesignInXamlToolkit
MaterialDesignThemes.Wpf/ShadowAssist.cs
5,123
C#
namespace Shared.Models.Helpers { public class UserResourcePair { public User User { get; set; } public Resource Resource { get; set; } } }
18.777778
46
0.609467
[ "MIT" ]
RogerBestMsft/CoraBot
Shared/Models/Helpers/UserResourcePair.cs
171
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IResultsOutput.cs" company="www.jameswiseman.com"> // This license governs use of the accompanying software. If you use the software, you // accept this license. If you do not acc...
70.648148
408
0.693578
[ "MIT" ]
jameswiseman76/JsGoogleCompile
JsGoogleCompile/IResultsOutput.cs
3,817
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sums_Of_Subsets { class Program { static void Main(string[] args) { Sums first = new Sums(new List<int> { 3, 10, 5, 17, 8, 7, 4, 4 }, 21); List<...
33.641791
160
0.476486
[ "MIT" ]
sps-lco-2020-21/subset-sum-LimESPS
Sums Of Subsets/Sums Of Subsets/Program.cs
2,256
C#
namespace SharpLearning.Optimization.ParameterSamplers { /// <summary> /// Defines the interface for a parameter samplers. /// </summary> public interface IParameterSampler { /// <summary> /// Returns a sample within in the specified min/max boundaries. /// </summa...
39.333333
156
0.627119
[ "Apache-2.0" ]
AwesomeTrading/LeanParameterOptimization
SharpLearning.Optimization/ParameterSamplers/IParameterSampler.cs
710
C#
using System; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Crypto.Utilities; namespace Org.BouncyCastle.Crypto.Engines { /** * an implementation of the AES (Rijndael)), from FIPS-197. * <p> * For further details see: <a href="http://csrc.nist.gov/encryption/aes/">http://csrc.nist.g...
50.890625
153
0.665194
[ "MIT" ]
SchmooseSA/Schmoose-BouncyCastle
Crypto/crypto/engines/AesFastEngine.cs
42,341
C#
using System; using Microsoft.EntityFrameworkCore; namespace RecursosCompartilhados.Dados.Contexto { public abstract class BaseContexto : DbContext { public override int SaveChanges() { foreach (var entry in ChangeTracker.Entries()) { if (entry.Entity.Get...
32.8
96
0.564024
[ "MIT" ]
lennonalvesdias/BigBang
RecursosCompartilhados/4 - Infra/RecursosCompartilhados.Dados/Contexto/BaseContexto.cs
984
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Razor.TagHelpers; namespace GovUk.Frontend.AspNetCore.TagHelpers { [HtmlTargetElement("govuk-character-count")] [RestrictChildren("govuk-character-count-label", "govuk-character-count-hint", "govuk...
39.965116
160
0.687227
[ "MIT" ]
gunndabad/govuk-frontend-aspnetcore
src/GovUk.Frontend.AspNetCore/TagHelpers/CharacterCountTagHelper.cs
3,439
C#
using System; using System.Globalization; using System.IO; using stdlibXtf.Common; namespace stdlibXtf.Packets { /// <summary> /// Define an annotation data packet. /// </summary> public class Notes : IPacket { #region IPacket implementation private Byte _HeaderType; priva...
36.689024
150
0.520691
[ "MIT" ]
jaksg82/stdlibXtf
Packets/Notes.cs
6,019
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using UnityEngine.Rendering; using UnityEngine.SceneManagement; namespace UnityEngine { public sealed class Resources { internal static T[]...
26.825581
84
0.61075
[ "MIT" ]
Divers102/XUnity.AutoTranslator
src/UnityEngine/Resources.cs
2,309
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class AISubActionSetEquipWeaponsUtils : IScriptable { public AISubActionSetEquipWeaponsUtils(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent...
22.666667
118
0.747059
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/AISubActionSetEquipWeaponsUtils.cs
326
C#
//------------------------------------------------------------------------------ // <copyright file="SqlConnectionString.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> // <owner current="true" primary="fal...
54.282424
163
0.613067
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/data/System/Data/SqlClient/SqlConnectionString.cs
44,783
C#
using System; using System.Collections.Generic; using System.Linq; using Gablarski.Audio; namespace Gablarski.Tests.Mocks.Audio { public class MockAudioCaptureProvider : IAudioCaptureProvider { private int frameSize = 256; public int FrameSize { get { return this.frameSize; } set { this....
20.357143
111
0.662155
[ "BSD-3-Clause" ]
ermau/Gablarski
src/Gablarski.Tests/Mocks/Audio/MockAudioCaptureProvider.cs
1,997
C#
using DBFileReaderLib.Attributes; namespace SpellWork.DBC.Structures { public sealed class SkillLineAbilityEntry { public long RaceMask; [Index(false)] public uint ID; public short SkillLine; public int Spell; public short MinSkillLineRank; public int Cl...
27.2
46
0.666176
[ "MIT" ]
DerEnderman/SpellWork
SpellWork/DBC/Structures/SkillLineAbilityEntry.cs
682
C#
using System.Collections.Generic; using dnlib.DotNet; using dnlib.DotNet.MD; namespace ConfuserExTools.ConstantKiller { internal static class ModuleDefExtensions { public static IEnumerable<MethodDef> EnumerateMethods(this ModuleDef module) { if (module is ModuleDefMD moduleDefMD) { uint methodTableLength = ...
29.043478
84
0.711078
[ "MIT" ]
levisre/ConfuserExTools
ConstantKiller/ModuleDefExtensions.cs
668
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http...
44.108033
216
0.637505
[ "Apache-2.0" ]
06b/AspNetCore
src/Identity/test/Identity.Test/IdentityBuilderTest.cs
15,923
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
46.213582
321
0.565663
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/postgresql/Microsoft.Azure.Management.PostgreSQL/src/postgresql/Generated/ServerSecurityAlertPoliciesOperations.cs
42,193
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Bing.Samples.Api.Models { public class ReqInfo { public string Ip { get; set; } public string Url { get; set; } public string Host { get; set; } public string Browser { get...
18.666667
43
0.607143
[ "MIT" ]
jianxuanbing/Bing
sample/Bing.Samples.Api/Models/ReqInfo.cs
338
C#
// <auto-generated> using KyGunCo.Counterpoint.Sdk.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace KyGunCo.Counterpoint.Sdk.Configuration { // SY_MAIL public class SyMailConfiguration : IEntityTypeConfiguration<SyMail> { public void C...
66.487179
175
0.704975
[ "MIT" ]
kygunco/KyGunCo.Counterpoint
Source/KyGunCo.Counterpoint.Sdk/Configuration/SyMailConfiguration.cs
2,593
C#
using System; namespace Snake { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); char[,] matrix = new char[n, n]; int snakeRow = -1; int snakeCol = -1; int firsBurrowRow = -1; int ...
28.624113
86
0.3278
[ "MIT" ]
IvanBerov/C-Advanced
ExamPreparation/Advanced Exam - 28 June 2020/Snake/Program.cs
4,038
C#
using Microsoft.AspNetCore.Authorization; namespace FilmesAPI.Authorization { public class IdadeMinimaRequirement : IAuthorizationRequirement { public IdadeMinimaRequirement(int idadeMinima) { IdadeMinima = idadeMinima; } public int IdadeMinima { get; set; } } ...
21.466667
67
0.670807
[ "MIT" ]
flaviomegrecarvalho42/7_net5_e_identity_autenticando_e_autorizando_usuarios
FilmesAPI/Authorization/IdadeMinimaRequirement.cs
324
C#
namespace ishtar; using vein.reflection; using vein.runtime; public static class KnowTypes { public static QualityTypeName TypeInfoTypeName = new QualityTypeName("std", nameof(Type), "global::vein/lang"); public static QualityTypeName FieldInfoTypeName = new QualityTypeName("std", nameof(Field...
40.892857
106
0.723726
[ "MIT" ]
0xF6/mana_lang
runtime/ishtar.vm/runtime/KnowTypes.cs
3,435
C#
using System; using System.Collections.Generic; using System.Text; namespace GestionPedidosService.Domain.Models { public class PagedList<T> { public ICollection<T> Items { get; set; } public int Total{ get; set; } public int MaxPage { get; set; } public int PageNumber { get; s...
23.75
49
0.634211
[ "MIT" ]
Patronaje-A-Medida/GestionPedidosService
GestionPedidosService.Domain/Models/PagedList.cs
382
C#
using UnityEditor; using BehaviorDesigner.Runtime; namespace BehaviorDesigner.Editor { [CustomEditor(typeof(BehaviorTree))] public class BehaviorTreeInspector : BehaviorInspector { // intentionally left blank } }
22.454545
59
0.712551
[ "MIT" ]
654306663/UnityExtensions
Tools/Behavior Designer/Editor/BehaviorTreeInspector.cs
247
C#
using gView.Framework.UI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace gView.Win.DataSources.GeoJson.UI.ExplorerObjects { class GeoJsonServiceConnectionsIcon : IExplorerIcon { #region IExplorerIcon Members public...
22.672897
96
0.568838
[ "Apache-2.0" ]
jugstalt/gview5
NetFramework/gView.Win.DataSources.GeoJson.UI/ExplorerObjects/Icons.cs
2,428
C#
using NUnit.Framework; using DnDGen.TreasureGen.Coins; using DnDGen.TreasureGen.Tables; namespace DnDGen.TreasureGen.Tests.Integration.Tables.Coins { [TestFixture] public class Level28CoinsTests : TypeAndAmountPercentileTests { protected override string tableName { get { return...
30.525
102
0.648649
[ "MIT" ]
DnDGen/TreasureGen
DnDGen.TreasureGen.Tests.Integration.Tables/Coins/Level28CoinsTests.cs
1,223
C#
// // SecPolicy Unit Tests // // Authors: // Sebastien Pouliot <sebastien@xamarin.com> // // Copyright 2012-2013 Xamarin Inc. // using System; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; #if XAMCORE_2_0 using Foundation; using UIKit; u...
36.223464
136
0.699414
[ "BSD-3-Clause" ]
pjcollins/xamarin-macios
tests/monotouch-test/Security/PolicyTest.cs
6,484
C#
using System; using System.Collections.Generic; namespace Project0.DataAccess { public partial class Content { public Content() { ContentIngredient = new HashSet<ContentIngredient>(); OrderContent = new HashSet<OrderContent>(); } public int ContentId { ...
26.727273
85
0.630952
[ "MIT" ]
1811-nov27-net/ConnerKnight-Project0
Project0/Project0.DataAccess/Content.cs
590
C#
using System; using System.IO; using NUnit.Framework; using SimpleScanner; using SimpleParser; namespace TestGeneratedParser { [TestFixture] public class GeneratedParserTests { private bool Parse(string text) { Scanner scanner = new Scanner(); scanner.SetSource(text...
27.891892
145
0.469961
[ "MIT" ]
Melano2011/MMCS_CS311
TestGeneratedParser/Tests.cs
2,066
C#
using System.Collections.Generic; using System.Linq; namespace ContinuationToken.Providers { internal class OffsetContinuation<T> : IQueryContinuation<T> where T : class { public OffsetContinuation(OffsetToken<T> token, IQueryable<T> query, int? offset) { Token = token; ...
26.12
89
0.617152
[ "MIT" ]
mpetito/continuation-token
src/ContinuationToken/Providers/OffsetContinuation.cs
655
C#
using System; using System.Collections.Generic; using System.Text; namespace SmartFridgeApp.IntegrationTests.FakeDatabases { public class FakeSmartFridgeAppContext { } }
16.727273
55
0.777174
[ "MIT" ]
Dariusz151/SmartFridgeApp
SmartFridgeApp.IntegrationTests/FakeDatabases/FakeSmartFridgeAppContext.cs
186
C#
// <auto-generated /> using System; using GRA.Data.SqlServer; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace GR...
34.462851
113
0.405425
[ "MIT" ]
MCLD/greatreadingadventure
src/GRA.Data.SqlServer/Migrations/20201204210511_add-avatarlayer-i18n.Designer.cs
171,627
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices.Client.Transport { using System; using System.Collections.Generic; using System.Globalization; using System.IO; u...
47.97983
301
0.626679
[ "MIT" ]
nikoruhe54/x509Auth
iothub/device/src/Transport/AmqpTransportHandler.cs
45,199
C#
using NetworkService.Model; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace NetworkService.ViewModel { public class NetworkGraphViewModel :BindableBase {...
28.659898
111
0.362735
[ "MIT" ]
sdragan15/Evidencija_Parkinga
NetworkService/NetworkService/ViewModel/NetworkGraphViewModel.cs
5,648
C#
// ReSharper disable UnusedMember.Global namespace System.Net.WebSockets.Wamp; public static class WampBasicProfile { public enum WampBrokerMessageTypeCode : ushort { Hello = 1, Welcome = 2, Abort = 3, Goodbye = 6, Error = 8, Publish = 16, ...
18.15
55
0.442493
[ "Unlicense" ]
mikaeldui/dotnet-net-websockets-wamp
DotNet.Net.WebSockets.Wamp/Messages/WampBasicProfile.cs
2,906
C#
using System; using System.Text; using System.Collections.Generic; namespace PowerForensics.FileSystems.Ntfs { /// <summary> /// /// </summary> public class AttrDef { #region Enums /// <summary> /// /// </summary> [Flags] public enum ATTR_DEF_ENTR...
27.006135
99
0.471149
[ "MIT" ]
Cyberdeep/PowerForensics
src/PowerForensicsCore/src/PowerForensics.FileSystems.Ntfs/AttrDef.cs
4,404
C#
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; using System.Runtime.Serialization; namespace XBMCRPC.Audio.Details { public class Artist : XBMCRPC.Audio.Details.Base { public string artist { get; set; } public int artistid { get; set; } public s...
38.84
87
0.675592
[ "MIT" ]
RyanMelenaNoesis/ElveKodiDriver
src/NoesisLabs.Elve.Kodi/XBMCRPC/XBMCRPC/Audio/Details/Artist.cs
971
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
73.052301
451
0.654601
[ "MIT" ]
Agazoth/azure-powershell
src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentityExpanded.cs
34,442
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; usin...
47.873737
133
0.613883
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/EnterpriseLibrary/ExceptionHandling/Tests/Logging/LoggingExceptionHandlerFixture.cs
9,527
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get the list of Service Providers that use a specific /// Communication Barri...
32.727273
140
0.670139
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemCommunicationBarringServiceProviderGetIncomingCriteriaUsageListRequest.cs
1,440
C#
using System.Collections.Generic; namespace Aris.Moe.Configuration { public interface INeedConfiguration { public string Name { get; } IEnumerable<string> GetConfigurationIssues(); } }
21.4
53
0.696262
[ "MIT" ]
Amiron49/Aris.Moe.Ocr.Translation.Overlay
Aris.Moe.Configuration/INeedConfiguration.cs
216
C#
using System.Text; using System; using PasswordManager.Bot.Commands.Enums; using System.Linq; namespace PasswordManager.Bot.Extensions { public static class StringExtensions { ///<summary></summary> ///<returns>https://value</returns> public static string BuildUrl(this string value) { if (string.IsNullOrWhi...
45.816216
126
0.726404
[ "MIT" ]
Zankomag/PasswordManager
src/PasswordManager.Bot/Extensions/StringExtensions.cs
8,484
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _10.PairsByDifference { class PairsByDifference { static void Main(string[] args) { int[] nums = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); ...
25.433333
83
0.453473
[ "MIT" ]
DimchoLakov/ProgrammingFundamentalsMay2017
06.Arrays-Exercises/10.PairsByDifference/PairsByDifference.cs
765
C#
// Copyright (C) Microsoft. All rights reserved. Licensed under the MIT License. using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.DevSkim.CLI.Tests { [TestClass] public class AnalyzeTest { [TestMethod] public void AnalyzeGoodRunTest() { } } }
21
80
0.666667
[ "MIT" ]
Bhaskers-Blu-Org2/DevSkim
DevSkim-DotNet/Microsoft.DevSkim.CLI.Tests/AnalyzeTest.cs
315
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
35.87037
81
0.521425
[ "BSD-3-Clause" ]
0xCM/z0
src/bitvectors/src/ops/direct/negate.cs
1,937
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. namespace System.ServiceModel.Channels { // Bindings can implement this interface in order to advertise capabil...
39.952381
96
0.728248
[ "MIT" ]
Bencargs/wcf
src/System.Private.ServiceModel/src/System/ServiceModel/Channels/IBindingDeliveryCapabilities.cs
839
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
66.105263
242
0.723229
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
tests/V4/Services/ProductGroupViewServiceClientTest.g.cs
10,048
C#
using LibraryApi.Dtos; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LibraryApi.Controllers { [Route("api")] public class RootController : ControllerBase { private readonly IUrlHelper _urlHelper; ...
25.62
70
0.498048
[ "MIT" ]
congdinh2008/LibraryWebApi
Library/LibraryApi/Controllers/RootController.cs
1,283
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using Opc.Ua; using System;...
42.489796
170
0.624015
[ "MIT" ]
Azure/iot-edge-opc-publisher-v1
opcpublisher/Configurations/OpcApplicationConfiguration.cs
10,412
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.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NuGet.Monitoring.RebootSearchInstance.Tests")] [assembly: Com...
39.3
111
0.788804
[ "Apache-2.0" ]
fredatgithub/NuGet.Jobs
tests/Monitoring.RebootSearchInstance.Tests/Properties/AssemblyInfo.cs
395
C#
/* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * * Authors: * 钟峰(Popeye Zhong) <zongs...
30.280576
167
0.701829
[ "MIT" ]
Zongsoft/Zongsoft.Framework
Zongsoft.Core/src/Security/Membership/AuthenticationEventArgs.cs
4,555
C#
namespace IllusionsPerception.Teacher { partial class Form18 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.579618
107
0.573074
[ "MIT" ]
IManfis/IllusionsPerception
IllusionsPerception/IllusionsPerception/Teacher/Form18.Designer.cs
6,784
C#
/* * Copyright (c) 2016-2019 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Task...
38.081374
114
0.43815
[ "MIT" ]
naydyonov/piranha.core
data/Piranha.Data.EF/Repositories/PostRepository.cs
21,060
C#
namespace TechMentorApi.Controllers { using Microsoft.AspNetCore.Mvc; using TechMentorApi.Security; /// <summary> /// The <see cref="AuthController" /> /// class provides access to common authentication logic for derived controllers. /// </summary> public abstract class AuthControl...
23.46875
89
0.505992
[ "MIT" ]
Divergic/techmentorapi
TechMentorApi/Controllers/AuthController.cs
753
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
60.237288
315
0.788689
[ "Apache-2.0" ]
alefranz/aws-sdk-net
sdk/src/Services/CloudFormation/Properties/AssemblyInfo.cs
3,554
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...
34.26
146
0.634559
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Batch/Inputs/AzureBlobFileSystemConfigurationArgs.cs
1,713
C#
using System; using System.IO; using System.Text; using System.Text.RegularExpressions; using Microsoft.Build.Utilities; using Microsoft.Win32; using NUnit.Framework; namespace MSBuild.Community.Tasks.Tests { /// <summary> /// Summary description for NUnitTest /// </summary> [TestFixture] public ...
36.18
107
0.651189
[ "Unlicense" ]
Byndyusoft/msbuildtasks
Source/MSBuild.Community.Tasks.Tests/NUnitTest.cs
1,809
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using BrightChain.Engine.Models.Agents; using BrightChain.Engine.Models.Blocks; using BrightChain.Engine.Models.Keys; namespace BrightChain.Engine.Models.Nodes { ...
27.75
82
0.645946
[ "Apache-2.0" ]
MaxMood96/BrightChain
src/BrightChain.Engine/Models/Nodes/BrightChainNode.cs
1,112
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
40.074074
151
0.585952
[ "MIT" ]
TorisanKitsune/Wider
Modules/Wider.Content.VirtualCanvas/Properties/Settings.Designer.cs
1,084
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Input; using VolleMoehre.Contracts.Interfaces; using VolleMoehre.Contracts.Model; using VolleMoehre.App.Shared.ViewModels; using VolleMoehre.Shared.Services; using Plugin.Connectivity; namespace VolleMoehre.App.Shared.Commands { ...
32.522388
162
0.627811
[ "MIT" ]
TopperDEL/VolleMoehre
VolleMoehre.App/VolleMoehre.App.Shared/Commands/ChangeTrainingStatusCommand.cs
2,182
C#
namespace Firebase.Auth { using System; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; /// <summary> /// The auth token provider. /// </summary> publ...
49.414587
218
0.593436
[ "MIT" ]
cabauman/firebase-authentication-dotnet
src/Firebase.Auth/FirebaseAuthProvider.cs
25,747
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Core.Core; using Dominio; namespace Core.Negocio { public class GerarBandeira : IStrategy { public string processar(EntidadeDominio entidade) { Cartao_Credito c...
36.367347
89
0.508418
[ "MIT" ]
Luiz-HSSD/LES_passagens_areas
Core/Negocio/GerarBandeira.cs
1,784
C#
namespace CpuSchedulingAlgorithms; public class ShortestJobFirstScheduler : IProcessScheduler { private readonly ArrivalSchedule schedule; private readonly PriorityQueue<ProcessControlBlock, int> readyQueue = new(); private readonly List<CompletedProcess> completedProcesses = new(); private bool H...
34.164384
108
0.661588
[ "MIT" ]
amal-stack/CpuSchedulingAlgorithms
CpuSchedulingAlgorithms/ShortestJobFirstScheduler.cs
2,496
C#
namespace Vidly.ViewModels { public class FactorViewModel { public string Purpose { get; set; } } }
17.142857
43
0.625
[ "MIT" ]
briang123/Vidly
Vidly/ViewModels/FactorViewModel.cs
122
C#
namespace BoomBang.Game.Laptop { using BoomBang; using BoomBang.Communication; using BoomBang.Communication.Incoming; using BoomBang.Communication.Outgoing; using BoomBang.Game.Characters; using BoomBang.Game.Sessions; using BoomBang.Storage; using BoomBang.Utils; using System; ...
54.587413
250
0.564117
[ "MIT" ]
DaLoE99/Servidores-DaLoE
3/BoomBang/BoomBang/Game/Laptop/LaptopHandler.cs
15,614
C#
using System; namespace LibHac.IO.Save { public class AllocationTableStorage : StorageBase { private IStorage BaseStorage { get; } private int BlockSize { get; } private int InitialBlock { get; } private AllocationTable Fat { get; } private long _length; ...
33.588235
122
0.553415
[ "BSD-3-Clause" ]
shchmue/LibHac
src/LibHac/IO/Save/AllocationTableStorage.cs
2,773
C#
/* * FactSet Symbology API * * The FactSet Symbology API provides symbol resolution services, allowing clients to translate market identifiers into various symbology types such as, FactSet Permanent Identifiers, CUSIP, ISIN, SEDOL, Tickers, and Bloomberg FIGIs. <p>Factset's Symbology API sits at the center of its hu...
44.934426
575
0.602943
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/Symbology/v2/src/FactSet.SDK.Symbology/Model/TickerHistoryTranslationRequest.cs
8,223
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.Reflection.Emit; /// <summary> /// OpCodes.Leave_S [v-minch] /// </summary> public class O...
37.24026
183
0.591282
[ "MIT" ]
AaronRobinsonMSFT/coreclr
tests/src/CoreMangLib/cti/system/reflection/emit/opcodes/opcodesleave_s.cs
5,735
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.IO; using System.Security; using Microsoft.Identity.Client; using Microsoft.Graph; using Microsoft.Extensions.Configuration; using Helpers; namespac...
33.242424
142
0.610073
[ "MIT" ]
andrewconnell/msgraph-access-files-data
demos/03-trending-used/Program.cs
4,390
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("Wc...
40.675676
110
0.755482
[ "Apache-2.0" ]
myarichuk/WcfClientFactory
Source/WcfClientFactory.CastleWindsor/Properties/AssemblyInfo.cs
1,507
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...
31.813869
106
0.562808
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/EventSubscription.cs
8,717
C#
namespace DataFlow.EdFi.Models.EnrollmentComposite { public class School_educationOrganizationInternationalAddress { /// <summary> /// Key for Address /// </summary> public string addressType { get; set; } /// <summary> /// The first line of the address. ...
27.868421
142
0.557129
[ "Apache-2.0" ]
schoolstacks/dataflow
DataFlow.EdFi/Models/EnrollmentComposite/School_educationOrganizationInternationalAddress.cs
1,059
C#
using PointyStickBlend.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PointyStickBlend.ViewModels { public class LibraryViewModel : INotifyPropertyChanged { private Library...
23.3
75
0.590129
[ "Apache-2.0" ]
stkerr/PointyStick
PointyStickBlend/PointyStickBlend/ViewModels/LibraryViewModel.cs
934
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AnalogActor : MonoBehaviour { RectTransform rectTramsform; public float Deslocaton = 20f; public Vector3 InitialPosition; public float speed=10f; public Vector3 initialScale; publ...
34.350877
184
0.636874
[ "MIT" ]
RabbitWhite/UNITY_AIS
UNITY_AIS/Assets/plugins/LeoLuz/Virtual Plug and Play Joystick/Scripts/AnalogActor.cs
1,960
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. using System; using System.ComponentModel.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis...
45.383459
187
0.681743
[ "MIT" ]
adrianwright109/razor-tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/CSharpVirtualDocumentPublisher.cs
6,038
C#
using System.Collections.Generic; namespace Shared.Messages { public class CalculateFormulaRequest { public int TimeoutSeconds { get; set; } public string Formula { get; set; } public IEnumerable<FormulaRequestType> Data { get; set; } } }
25.090909
65
0.67029
[ "MIT" ]
ctrmcubed/TradeCube-Services
src/Shared/Messages/CalculateFormulaRequest.cs
278
C#
#if !WATCH using System; using Foundation; using ObjCRuntime; using System.Runtime.Versioning; namespace AVFoundation { public partial class AVPlayerItem { #if NET [SupportedOSPlatform ("tvos11.0")] [SupportedOSPlatform ("macos10.13")] [SupportedOSPlatform ("ios11.0")] #else [TV (11, 0)] [NoWatch] [Mac...
18.433333
78
0.712477
[ "BSD-3-Clause" ]
NormanChiflen/xamarin-all-IOS
src/AVFoundation/AVPlayerItem.cs
553
C#
namespace Swifter.Test.WPF.Serializers { public sealed class Utf8JsonSerializer : BaseSerializer<byte[]> { public override TObject Deserialize<TObject>(byte[] symbols) { return Utf8Json.JsonSerializer.Deserialize<TObject>(symbols); } public override byte[] Serialize...
26.875
73
0.637209
[ "MIT" ]
Dogwei/Swifter.Json
Swifter.Test.WPF/Serializers/Utf8JsonSerializer.cs
432
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("_0...
38.72973
84
0.75157
[ "MIT" ]
NadiaKaradjova/SoftUni
C# Advanced/Stacks and Queues/02 Simple Calculator/Properties/AssemblyInfo.cs
1,436
C#
using System; namespace _04._Fold_and_Sum { class Program { static void Main() { int partySize = int.Parse(Console.ReadLine()); int days = int.Parse(Console.ReadLine()); } } }
15
58
0.529167
[ "MIT" ]
dMundov/SoftUni-HomeWorks
CSharp-TechFundamentals/08.Arrays - More Exercise/04. Fold and Sum/Program.cs
242
C#
 // IFile.cs // Copyright (c) 2014+ by Michael Penner. All rights reserved. using System.Text; namespace Eamon.Framework.Portability { /// <summary></summary> public interface IFile { /// <summary></summary> /// <param name="path"></param> /// <returns></returns> bool Exists(string path);...
27.924528
78
0.614189
[ "MIT" ]
skyhoshi/Eamon-CS
System/Eamon/Framework/Portability/IFile.cs
1,430
C#