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 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("Exe...
37.405405
84
0.746387
[ "MIT" ]
BorisLechev/Programming-Basics
Documents/Github/Programming-Fundamentals/11. Programming Fundamentals Extended/4. Dictionaries and LINQ/4.DictionariesAndLinq.Lab/Exercise/Properties/AssemblyInfo.cs
1,387
C#
// Copyright © 2019 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, this l...
41.869565
749
0.601073
[ "BSD-3-Clause" ]
awhewell/owin
Tests/Test.Owin.Utility/StringBuilderExtensions_Tests.cs
5,781
C#
using UnityEngine; using UnityEngine.EventSystems; using System.Collections; using ParadoxNotion.Design; using NodeCanvas.Framework; namespace FlowCanvas.Nodes{ [Name("UI Pointer")] [Category("Events/Object/UI")] [Description("Calls UI Pointer based events on target. The Unity Event system has to be set through '...
33.592593
132
0.755972
[ "MIT" ]
PaulSuarez1/Nedanstad
Nedanstad/Assets/ParadoxNotion/FlowCanvas/Module/Nodes/Events/Object/UI/UIPointerEvents.cs
2,723
C#
#define DEBUG using System; using System.Diagnostics; using System.Threading.Tasks; namespace Microsoft.AppCenter { public partial class AppCenter { internal AppCenter() { } /* Error message to display for unsupported targets. */ const string ErrorMessage = ...
25.476923
227
0.608092
[ "MIT" ]
annakocheshkova/AppCenter-SDK-DotNet
SDK/AppCenter/Microsoft.AppCenter/AppCenter.cs
1,658
C#
using System; using System.Collections.Generic; using System.IO; using System.Security.AccessControl; using System.Text; namespace NExtra.IO { /// <summary> /// This interface can be implemented by classes that /// can be used to work with file system files. /// </summary> /// <remarks...
52.694444
134
0.705851
[ "MIT" ]
danielsaidi/nextra
NExtra/IO/IFile.cs
3,796
C#
using System; namespace Spectrum { public static unsafe class Fourier { private const int MaxLutBits = 16; // 64k private const int MaxLutBins = 1 << MaxLutBits; private const int LutSize = MaxLutBins / 2; private const double TwoPi = 2.0 * Math.PI; private static Unsa...
29.605797
131
0.364891
[ "MIT" ]
BoshenGuan/SpectrumDemo
SpectrumDemo/Spectrum/Fourier.cs
10,216
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; public class ScrollIndexCallback2 : MonoBehaviour { public Text text; public LayoutElement element; public static float[] randomWidths = new float[3] { 100, 150, 50 }; void ScrollCellIndex(int idx) { string name...
25.761905
72
0.593346
[ "MIT" ]
Eternity714/LoopScrollRect
Assets/Demo/Scripts/ScrollIndexCallback2.cs
543
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
47.5
125
0.707702
[ "BSD-3-Clause" ]
Ideia-Boa/diva-distribution
OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
7,790
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace StackExchange.Opserver.Data.Redis { public partial class RedisInstance { public static RedisInstance Get(RedisConnectionInfo info) { foreach (var i in RedisModule.Instances) {...
31.220588
137
0.531324
[ "MIT" ]
supershowwei/Opserver
Opserver.Core/Data/Redis/RedisInstance.Cache.cs
2,125
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Coda.Payroll.Models.Statutory; using Coda.Payroll.Models.Statutory.Assessments; namespace Coda.Payroll.Abstractions { public interface IStatutorySickPayCalculationEngine { StatutoryCalculationResult<SickPayAsse...
31.08
146
0.801802
[ "Apache-2.0" ]
WhatFor/Coda.Payroll
Coda.Payroll/Abstractions/IStatutoryCalculationEngine.cs
779
C#
using UnityEngine.EventSystems; namespace Tools.UI.Card { /// <summary> /// GameController hand zone. /// </summary> public class UiZoneHand : UiBaseDropZone { protected override void OnPointerUp(PointerEventData eventData) => CardHand?.Unselect(); } }
24.166667
96
0.662069
[ "MIT" ]
1665800095fghk/UiCard
Assets/Scripts/UICard/UiCardZones/UiZoneHand.cs
292
C#
using Luban.Job.Common.RawDefs; using System.Collections.Generic; namespace Luban.Job.Proto.RawDefs { public class Defines : DefinesCommon { public List<Service> ProtoServices { get; set; } = new List<Service>(); public List<PProto> Protos { get; set; } = new List<PProto>(); public Li...
25.066667
79
0.640957
[ "MIT" ]
CN-Zxcv/luban
src/Luban.Job.Proto/Source/RawDefs/Defines.cs
376
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.Razor.Language; using Microsoft.CodeAnalysis.Razor.Completion; using Xunit; namespace Microsoft.AspNetCore.Ra...
35.518519
161
0.641814
[ "Apache-2.0" ]
Pilchie/aspnetcore-tooling
src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Completion/DirectiveAttributeTransitionCompletionItemProviderTest.cs
3,838
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.Buffers; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threa...
45.094776
170
0.584192
[ "MIT" ]
ChaseKnowlden/runtime
src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs
60,427
C#
using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Reflection; using InfluxDB.Client.Api.Client; using InfluxDB.Client.Core; using InfluxDB.Client.Core.Exceptions; using NUnit.Framework; namespace InfluxDB.Client.Test { [TestFixture] public class InfluxDbC...
44.239819
183
0.603355
[ "MIT" ]
BigHam/influxdb-client-csharp
Client.Test/InfluxDbClientFactoryTest.cs
9,777
C#
//*******************************************************************************************// // // // Download Free Evaluation Version From: https://bytescout.com/download/web-installer // // ...
34.759494
198
0.54279
[ "Apache-2.0" ]
bytescout/ByteScout-SDK-SourceCode
PDF.co Web API/PDF To PNG/C#/Convert PDF To PNG From URL Asynchronously/Program.cs
5,493
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services // // Microsoft Cognitive Services (formerly Project Oxford) GitHub: // https://github.com/Microsoft/Cognitive-WebLM-Windows ...
44.061224
103
0.769338
[ "MIT" ]
Bhaskers-Blu-Org2/Cognitive-WebLM-Windows
ClientLibrary/Properties/AssemblyInfo.cs
2,162
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 Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO;...
38.893443
184
0.642571
[ "MIT" ]
06needhamt/runtime
src/installer/tests/Microsoft.NET.HostModel.Tests/Microsoft.NET.HostModel.ComHost.Tests/RegFreeComManifestTests.cs
4,747
C#
using System.Web.Http; namespace WebArticleLibrary { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes config.MapHttpAttributeRoutes(); ...
25.791667
65
0.549273
[ "MIT" ]
Jahn08/Angular-MVC-Application
WebArticleLibrary/WebApiConfig.cs
621
C#
/* Copyright 2010-present MongoDB 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 applicable law or agreed to in wr...
47.698113
149
0.747627
[ "Apache-2.0" ]
BorisDog/mongo-csharp-driver
src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToFilterTranslators/ToFilterFieldTranslators/ExpressionToFilterFieldTranslator.cs
2,530
C#
using System; namespace Flexinets.Radius.Core { public class DictionaryVendorAttribute : DictionaryAttribute { public readonly UInt32 VendorId; public readonly UInt32 VendorCode; /// <summary> /// Create a dictionary vendor specific attribute /// </summary> //...
28.48
125
0.588483
[ "MIT" ]
henriqueof/Flexinets.Radius.Core
Flexinets.Radius.Core/DictionaryVendorAttribute.cs
714
C#
using Lucene.Net.Support; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace Lucene.Net.Analysis.Ja.Util { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See...
38.671429
99
0.634651
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net.Analysis.Kuromoji/Tools/ConnectionCostsBuilder.cs
2,709
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...
51.102041
249
0.584531
[ "MIT" ]
Agazoth/azure-powershell
src/Functions/generated/api/Models/Api20190801/VnetInfo.TypeConverter.cs
7,366
C#
using System; using Cinematic.Common; using MongoDB.Bson.Serialization.Attributes; namespace Cinematic.DataAccess.Entities { [BsonIgnoreExtraElements] public class Seat { [BsonId] public Guid Id { get; set; } public string Row { get; set; } public string Nu...
22.16
53
0.572202
[ "MIT" ]
saraheldah/cinematic
CinematicBackend/Cinematic.DataAccess/Entities/Seat.cs
554
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Facebook; using FacebookAds.Interfaces; /// <summary> /// The MIT License (MIT) /// /// Copyright (c) 2017 - Luke Paris (Paradoxis) | Searchresult Performancemarketing /// /// Permission is hereby...
38.875
129
0.697749
[ "MIT" ]
AsimKhan2019/Facebook-Ads-SDK-C-
src/FacebookAds/FacebookAds/Object/DeliveryEstimate.cs
2,488
C#
namespace Blueprint.Notifications { /// <summary> /// A template that represents a single communication protocol's (e.g. SMS, SMTP) /// template, an object that belongs to a single Notification and is used /// to send communication when a notification is raised. /// </summary> public interface ...
32.272727
85
0.684507
[ "Apache-2.0" ]
TCBroad/blueprint
src/Blueprint.Notifications/INotificationTemplate.cs
357
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...
40.619632
185
0.624981
[ "ECL-2.0", "Apache-2.0" ]
Dominik-K/pulumi-aws
sdk/dotnet/Elasticloadbalancing/LoadBalancerCookieStickinessPolicy.cs
6,621
C#
using System; namespace ProjectV.DesktopApp.Domain { public interface IErrorHandler { void HandleError(Exception ex); } }
14.4
39
0.680556
[ "Apache-2.0" ]
Vasar007/FilmsEvaluator
ProjectV/Applications/ProjectV.DesktopApp/Domain/IErrorHandler.cs
146
C#
/** \file ReadTable.cs \author Nikitha Krithnan and W. Spencer Smith \brief Provides a function for reading glass ASTM data */ using System; using System.Collections.Generic; using System.IO; public class ReadTable { /** \brief Reads glass ASTM data from a file with the given file name \param ...
41.492063
133
0.521551
[ "BSD-2-Clause" ]
Ant13731/Drasil
code/stable/glassbr/src/csharp/ReadTable.cs
7,842
C#
using System; namespace Mermaid.InteractiveExtension; public class MermaidMarkdown { internal string Background { get; set; } internal string Width { get; set; } internal string Height { get; set; } public override string ToString() { return _value; } private readonly string _val...
22.666667
73
0.647059
[ "MIT" ]
JakeRadMSFT/dotnet-interactive-extension-lab
src/Mermaid.InteractiveExtension/MermaidMarkdown.cs
546
C#
using QuieroPizza.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace QuieroPizza.Web.Controllers { public class ProductosController : Controller { // GET: Productos public ActionResult Index() { v...
24.243902
61
0.596579
[ "MIT" ]
kimbanegas15/quieropizza
QuieroPizza/QuieroPizza.Web/Controllers/ProductosController.cs
996
C#
using NPOI.OpenXmlFormats.Spreadsheet; using NPOI.SS; using NPOI.SS.Formula; using NPOI.SS.Formula.Eval; using NPOI.SS.Formula.PTG; using NPOI.SS.UserModel; using NPOI.SS.Util; using NPOI.Util; using NPOI.XSSF.Model; using System; using System.Globalization; namespace NPOI.XSSF.UserModel { /// High level representati...
27.990584
203
0.66975
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.XSSF.UserModel/XSSFCell.cs
29,726
C#
namespace Microsoft.Protocols.TestSuites.MS_ASAIRS { using System.Collections.Generic; using Microsoft.Protocols.TestSuites.Common; using Microsoft.Protocols.TestTools; using Microsoft.VisualStudio.TestTools.UnitTesting; using DataStructures = Microsoft.Protocols.TestSuites.Common.DataStructures; ...
53.094118
333
0.670064
[ "MIT" ]
ChangDu2021/Interop-TestSuites
ExchangeActiveSync/Source/MS-ASAIRS/TestSuite/S05_Location.cs
9,028
C#
namespace SIS.Framework.Routers { using ActionResults.Contracts; using Attributes; using Attributes.Methods; using Controllers; using HTTP.Enums; using HTTP.Extensions; using HTTP.Headers; using HTTP.Requests.Contracts; using HTTP.Responses; using HTTP.Responses.Contracts; ...
34.428571
120
0.552157
[ "MIT" ]
PeterAsenov22/C-Web-Course
WebFundamentals/SIS-HttpServer/SIS/SIS.Framework/Routers/ControllerRouter.cs
10,365
C#
// MIT License // // Copyright (c) 2017 Maarten van Sambeek. // // 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...
35.704
121
0.569572
[ "MIT" ]
MaartenX/ConnectQL
src/ConnectQl/Results/ExecuteResult.cs
4,463
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.140684
115
0.632253
[ "MIT" ]
SinnerSchraderMobileMirrors/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Serialization/ContractResolverTests.cs
8,981
C#
using Mirror; namespace WeaverClientRpcTests.ClientRpcCantBeStatic { class ClientRpcCantBeStatic : NetworkBehaviour { [ClientRpc] static void RpcCantBeStatic() { } } }
17.909091
52
0.695431
[ "MIT" ]
10allday/OpenMMO
Plugins/3rdParty/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcCantBeStatic.cs
197
C#
using System; using System.Collections.ObjectModel; using System.IO; using System.Linq; namespace FileSignatures { /// <summary> /// Specifies the format of a file. /// </summary> public abstract class FileFormat : IEquatable<FileFormat> { /// <summary> /// Initializes a new instan...
36.391534
198
0.557284
[ "MIT" ]
markacola/FileSignatures
src/FileSignatures/FileFormat.cs
6,880
C#
using System; using System.Threading; class FallingRocks { static int dwarfPosition = 0; static int rockPositionX = 0; static int rockPositionY = 0; static int points = 0; static Random randomGenerator = new Random(); static char[] rocks = {'^', '@', '*', '&', '+', '%', '$', '#', '!', '.', ';'...
26.438017
93
0.537981
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
C# Projects/ConsoleApplication2/ConsoleApplication2/FallingRocks.cs
3,201
C#
using Microsoft.Owin; using Owin; using Microsoft.Owin.Cors; [assembly: OwinStartup(typeof(Divergent.Finance.API.Startup))] namespace Divergent.Finance.API { public partial class Startup { public void Configuration(IAppBuilder app) { app.UseCors(CorsOptions.AllowAll); } ...
19.176471
62
0.671779
[ "Apache-2.0" ]
HScheenen/Workshop
exercises/01-composite-ui/after/Divergent.Finance.API/Startup.cs
328
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.1 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
27.419355
83
0.584706
[ "Apache-2.0" ]
Colton-Soneson/FissionEditor
VulkanEditor/SDK/Source/Raknet/DependentExtensions/Swig/InternalSwigItems/InternalSwigWindowsCSharpSample/InternalSwigTestApp/SwigFiles/SWIGTYPE_p_double.cs
850
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.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.S...
45.34488
201
0.57587
[ "MIT" ]
Jay-Madden/roslyn
src/Compilers/CSharp/Test/Syntax/Parsing/DeclarationParsingTests.cs
354,735
C#
/************************************************************************************ Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Licensed under the Oculus SDK License Version 3.4.1 (the "License"); you may not use the Oculus SDK except in compliance with the Lice...
31.377574
186
0.709525
[ "MIT" ]
IanPhilips/UnityOculusAndroidVRBrowser
UnityProject/Assets/Oculus/VR/Editor/OVRGradleGeneration.cs
13,712
C#
using Microsoft.Win32; namespace BatteryMax { public enum WindowsTheme { Light, Dark } public class ThemeHelper { private const string RegistryKeyPath = @"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"; private const string RegistryValueName = "Syst...
27.764706
111
0.618644
[ "Apache-2.0" ]
rotvel/BatteryMax
Source/BatteryMax/ThemeHelper.cs
946
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; using Complete.IO; using Complete.IO.Zlib; namespace RiotArchive.File { /// <summary> /// Read-only file stream. This class is NOT thread safe. ...
29.715976
137
0.527081
[ "MIT" ]
hinaria/riot-archive2
riot-archive2/File/ArchivedFileFileStream.cs
5,024
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CBehTreeCarryingItemData : CV...
33.4
132
0.741317
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CBehTreeCarryingItemData.cs
835
C#
using System; namespace BankingApplication.Domain.Transactions { public class TransactionState { public TransactionState(Guid transactionId, Guid accountId, string description, TransactionType type, decimal amount, DateTimeOffset occurredMoment) { TransactionId = transactionId; ...
33.12
156
0.64372
[ "MIT" ]
xKloc/Memoir
samples/BankingApplication/Domain/Transactions/TransactionState.cs
830
C#
using System; using System.Text; using System.Collections.Generic; using Unity.Collections; using UnityEngine.InputSystem.Layouts; using UnityEngine.InputSystem.Utilities; ////TODO: allow stuff like "/gamepad/**/<button>" ////TODO: add support for | (e.g. "<Gamepad>|<Joystick>/{PrimaryMotion}" ////TODO: handle arrays ...
43.932918
162
0.523809
[ "Unlicense" ]
23SAMY23/Meet-and-Greet-MR
Meet & Greet MR (AR)/Library/PackageCache/com.unity.inputsystem@1.0.2/InputSystem/Controls/InputControlPath.cs
63,527
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using MvcClient.Models; using Newtonsoft.Json.Linq; using System.Diagnostics; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace MvcClient.Controllers { public ...
29.66
112
0.644639
[ "MIT" ]
2ptych/IdentityServer4
src/MvcClient/Controllers/HomeController.cs
1,485
C#
using STEP.AST.Nodes; using STEP.Symbols; namespace STEP.SemanticAnalysis; public class DclVisitor : TypeVisitor { public DclVisitor(ISymbolTable symbolTable) { _symbolTable = symbolTable; } private readonly ISymbolTable _symbolTable; public override void Visit(IdNode n) { _...
18.684211
47
0.701408
[ "MIT" ]
KarmaKamikaze/P4_Project
STEP/SemanticAnalysis/DclVisitor.cs
357
C#
// Copyright (c) Aghyad khlefawi. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System.Threading.Tasks; namespace Coddee.Services.Configuration { /// <summary> /// Register the <see cref="IConfigurationManager"/> service....
29.782609
103
0.680292
[ "MIT" ]
Aghyad-Khlefawi/Coddee
src/Coddee.Windows/Configuration/ConfigurationManagerModule.cs
687
C#
namespace Employees.Data { public class Configuration { public static string ConnectionString => $"Server=.;Database=EmployeesDb;Integrated Security=True"; } }
25.714286
107
0.705556
[ "MIT" ]
BoykoNeov/Entity-Framework-SoftUni-Oct2017
Automapping/Employees.Data/Configuration.cs
182
C#
using Microsoft.EntityFrameworkCore.Storage; namespace EntityFrameworkCore.RelationalProviderStarter.Storage { public class MyRelationalSqlGenerationHelper : RelationalSqlGenerationHelper { } }
25.875
80
0.826087
[ "Apache-2.0" ]
Ashrafnet/EntityFramework.Docs
samples/core/Miscellaneous/Internals/WritingAProvider/EntityFrameworkCore.RelationalProviderStarter/Storage/MyRelationalSqlGenerationHelper.cs
209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace _05.SoftUni_Messages { class Program { static void Main(string[] args) { Regex messagePattern = new Regex(@"^\d+(?<mas...
28.884615
86
0.470706
[ "MIT" ]
PavelIvanov96/Programming-Fundamentals-Extended-CSharp
Regular Expressions (RegEx) - Exercises/05. SoftUni Messages/Program.cs
1,504
C#
#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { namespace Canvas { /// <summary>Low-level polygon object</summary> /// <remarks>This is a <b>BET...
43.240566
254
0.660849
[ "Apache-2.0", "MIT" ]
JoogabYun/TizenFX
internals/src/EflSharp/EflSharp/efl/efl_canvas_polygon.eo.cs
9,167
C#
namespace Free.FileFormats.VRML { public enum VRMLReaderError { UnexpectedEndOfStream=1, IllegalCharacterInStream=2, PROTOAlreadyDefined=3, MultipleISStatementForField=4, UnexpectedNodeType=5, UnknownFieldInNode=6, ProtoFound=7, SFBoolInvalid=20, SFColorInvalid=21, SFColorRGBAInvalid=22, SFFlo...
20.884615
37
0.779006
[ "MIT" ]
JimCordwell/Free.FileFormats.VRML
VRMLParser/Enums/VRMLReaderError.cs
1,088
C#
using UnityEngine; using System.Collections; namespace Sierra.AGPW { public class CameraController : TrackMidoint { private void Awake() { _cam = Camera.main; } protected override void FixedUpdate() { base.FixedUpdate(); transform.pos...
29.363636
75
0.529412
[ "MIT" ]
ScarletPhoenix5053/10-SECOND-ASCENCION
Assets/Scripts/Camera/CameraController.cs
1,294
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
40.732143
97
0.736081
[ "MIT" ]
JianGuoWan/third-edition
WPF/Chapter_2/BuildAnApp/BuildAnApp/Properties/AssemblyInfo.cs
2,284
C#
namespace SQLite.Net.Exceptions { public class NotNullConstraintException : SQLiteConstraintException { public NotNullConstraintException(string message) : base(message) { } } }
26.142857
71
0.797814
[ "MIT" ]
Dominaezzz/sqlite-helper
SQLite.Net/Exceptions/NotNullConstraintException.cs
185
C#
using k8s.Models; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; namespace Synapse.Domain.Models { /// <summary> /// Represents the status of a <see cref="V1WorkflowInstance"/> /// </summary> public class V1WorkflowInstanceStatus { /// ...
37.188235
172
0.607719
[ "Apache-2.0" ]
manuelstein/synapse
src/BuildingBlocks/Synapse.Domain/Models/WorkflowInstance/v1/V1WorkflowInstanceStatus.cs
3,163
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
49.699458
295
0.540741
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Stark.Workspaces/Simplification/CSharpSimplificationService.Expander.cs
55,069
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.Diagnostics; namespace System.Xml { internal sealed class Base64Decoder : IncrementalReadDecoder { // // Fields // private byte[...
28.571429
93
0.444848
[ "MIT" ]
belav/runtime
src/libraries/System.Private.Xml/src/System/Xml/Base64Decoder.cs
6,600
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
21.505435
134
0.639373
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-dms-enterprise/Dms_enterprise/Model/V20181101/ListInstancesRequest.cs
3,957
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 Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.CSharp.CodeStyle; using Microsoft.CodeAnalysis...
50.459184
166
0.696461
[ "MIT" ]
BillWagner/roslyn
src/Analyzers/CSharp/Analyzers/RemoveUnusedParametersAndValues/CSharpRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs
4,947
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS { public class DataSource { public static List<BE.Test> testsList = new List<BE.Test>(); public static List<BE.Tester> testerList = new List<BE.Tester>(); public static List<BE.Tr...
20.555556
70
0.735135
[ "MIT" ]
arielsabag/Project01_2058_3292_dotNet5779
Project01_2058_3292_dotNet5779/DS/DataSource.cs
372
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general de un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos valores de atributo para modificar la información // asociada con un ensamblado. [assembly: Assembl...
40.891892
113
0.756114
[ "MIT" ]
Roberto95/NURCON
NURCON/WindowsApp/Properties/AssemblyInfo.cs
1,531
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using Stride.Core; using Stride.Core....
34.5625
163
0.579265
[ "MIT" ]
Alan-love/xenko
sources/engine/Stride.Particles/Updaters/FieldShapes/Cylinder.cs
6,636
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using EC_Website.Core.Entities.ForumModel; using EC_Website.Core.Interfaces.Repositories; using EC_Website.Web.Authorization; namespace EC_Website.Web.Pages.Forums.Thread ...
29.844156
102
0.570061
[ "MIT" ]
suxrobGM/EC_WebSite
src/EC_Website.Web/Pages/Forums/Thread/EditPost.cshtml.cs
2,300
C#
using Locust.ServiceModel; namespace Locust.Modules.Location.Strategies { public partial class StateGetAllRequest : IBaseServiceRequest { } }
17.111111
62
0.766234
[ "MIT" ]
mansoor-omrani/Locust.NET
Modules/Locust.Modules.Location/Service/State/GetAll/Request.cs
154
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SpellforceDataEditor.SFCFF.category_forms { public partial class Control44 : SpellforceDat...
30.716667
91
0.626696
[ "MIT" ]
leszekd25/spellforce_data_editor
SpellforceDataEditor/SFCFF/category forms/Control44.cs
1,845
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> //--...
43.78125
185
0.615632
[ "MIT" ]
strawberryfg/NAPA-NST-HPE
annotation_tools/mpii_annotator/ThreeDGroundTruthLabeler/ParameterSetttingUI/ParameterSetttingUI/Properties/Resources.Designer.cs
2,804
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AElf.OS.Rpc; using Anemonis.AspNetCore.JsonRpc; namespace AElf.Monitor { [Path("/monitor")] public class AkkaService :IJsonRpcService { [JsonRpcMethod("AkkaState")] public Task<List<MemberInfo>> Cluste...
24.333333
81
0.680365
[ "MIT" ]
380086154/AElf
src/AElf.Monitor/AkkaService.cs
440
C#
using System; using System.Collections.Generic; using System.Text; namespace MedicalRecord.Model { public class FullMedicalRecord { public int Year { get; set; } public int RecordId { get; set; } public DateTime ChargeDate { get; set; } public DateTime DischargeDate { get; s...
20.676471
55
0.603129
[ "MIT" ]
npovalyaeva/Medical-information-system
MedicalRecord/Model/FullMedicalRecord.cs
705
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // //********************************************************* using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Devices.Enume...
28.553846
118
0.566272
[ "MIT" ]
035/Windows-universal-samples
customhiddeviceaccess/cs/devicelistentry.cs
1,858
C#
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class BaseHealthDisplay : MonoBehaviour { [SerializeField] private GameManagerTD gameManager = null; [SerializeField] private TMP_Text livesValue = null; private void Awake() { gameManager.Handle...
21.851852
62
0.7
[ "Apache-2.0" ]
garthbjorn/JTD
Assets/Scripts/Misc/BaseHealthDisplay.cs
590
C#
namespace _07InfernoInfinity.Models.Gems { public class Ruby : Gem { public Ruby(string clarityType) : base(7, 2, 5, clarityType) { } } }
22.571429
72
0.632911
[ "MIT" ]
StackSmack007/OOP-Advanced
Reflection and Attributes - Exercise/07InfernoInfinity/Models/Gems/Ruby.cs
160
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;...
21.862069
45
0.716088
[ "MIT" ]
ablersch/software-developer-ihk-modul-3
Beispiele/15_Menu_Toolbar/MainWindow.xaml.cs
637
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.iOS.Worker { [Command(ProtocolName.Worker.Enable)] [SupportedBy("iOS")] public class EnableCommand: ICommand<EnableCommandResponse> { } }
20.928571
60
0.805461
[ "MIT" ]
Digitalbil/ChromeDevTools
source/ChromeDevTools/Protocol/iOS/Worker/EnableCommand.cs
293
C#
using System; using CitizenFX.Core.Native; namespace CitizenFX.Core { public sealed class VehicleWheel { #region Fields Vehicle _owner; #endregion internal VehicleWheel(Vehicle owner, int index) { _owner = owner; Index = index; } public int Index { get; private set; } public Vehicle Vehicle...
14.777778
62
0.672932
[ "MIT" ]
0x965/fivem
code/client/clrcore/External/VehicleWheel.cs
532
C#
namespace PhoneManagementSystem.Models { using System; using System.ComponentModel.DataAnnotations.Schema; using System.Text; public class Service { public int Id { get; set; } //TYPE public string Type { get; set; } //LABEL public string Label { get; set; }...
26.471698
84
0.498931
[ "MIT" ]
andrei-bozhilov/Phone-Management-System
PhoneManagementSystem.Models/Service.cs
1,405
C#
using System.Runtime.InteropServices; namespace DecryptESD.IO { [StructLayout(LayoutKind.Explicit, Size = 24)] public struct ResourceHeader { [FieldOffset(0)] public ulong SizeInWimWithFlags; [FieldOffset(7)] public ResourceHeaderFlags Flags; [FieldOffset(8)] public long...
21.363636
70
0.685106
[ "BSD-3-Clause" ]
evilpro/DecryptESD
DecryptESD/IO/ResourceHeader.cs
472
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
37.951362
107
0.553186
[ "BSD-3-Clause" ]
BlueWall/opensim
OpenSim/Server/Handlers/Profiles/UserProfilesHandlers.cs
19,507
C#
/* * This software is derived from samples provided by Amazon Web Services. * The original copyright notice for this sample code follows. ************************************************************************** * This software code is made available "AS IS" without warranties of any * kind. You may copy, ...
31.547009
122
0.541181
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
linux-distro/package/Apps/Samples/AwsSdb_Test/Program.cs
7,382
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpKit.Qooxdoo.Generator { public static class Settings { public static bool CapitalizeNames { get; set; } } }
17.769231
56
0.714286
[ "MIT" ]
SharpKit/SharpKit-SDK
DefGenerators/Qooxdoo.Generator/Settings.cs
233
C#
using ASBDDS.Shared.Models.Database.DataDb; using System; using System.Collections.Generic; using System.Text; namespace ASBDDS.Shared.Models.Responses { public class DeviceLimitResponse { /// <summary> /// Device manufacturer /// </summary> public string Manufacturer { get; se...
27.475
71
0.540491
[ "MIT" ]
Insei/ASBDDS.NET
ASBDDS/ASBDDS.Shared/Models/Responses/ProjectAdminResponse.cs
2,200
C#
namespace Lexs4SearchRetrieveWebService { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [Syste...
30.305263
101
0.532824
[ "Apache-2.0" ]
gtri-iead/LEXS-NET-Sample-Implementation-4.0
LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/TelephoneCallAssociationType.cs
2,879
C#
using System; using System.Collections; using System.Threading.Tasks; using UnityEngine; using UnityEngine.SceneManagement; namespace UIFrame { public class LoadSceneManager : SingletonBase<LoadSceneManager> { private AsyncOperation _operation; public float Progress { get {...
24
67
0.638021
[ "MIT" ]
1102736067/ECS
Assets/Scripts/Manager/LoadSceneManager.cs
768
C#
// <copyright file="ApplicationVisibilityHide.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. Don...
27.428571
112
0.621875
[ "Apache-2.0" ]
Christian-Oleson/okta-sdk-dotnet
src/Okta.Sdk/Generated/ApplicationVisibilityHide.Generated.cs
960
C#
using System; using System.Xml.Serialization; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// Injured Data Structure. /// </summary> [Serializable] public class Injured : AlipayObject { /// <summary> /// 姓名,须与证件上名称一致 /// </...
27.428571
88
0.542708
[ "MIT" ]
AkonCoder/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/Injured.cs
2,114
C#
using Microsoft.Xna.Framework.Graphics; using StardewModdingAPI; using System.IO; using System.Text.RegularExpressions; namespace GreenhouseGatherers { public static class ModResources { private static IMonitor monitor; internal static Texture2D emptyStatue; internal static Texture2D f...
28.722222
110
0.626692
[ "MIT" ]
Floogen/GreenhouseGatherers
GreenhouseGatherers/GreenhouseGatherers/GreenhouseGatherers/ModResources.cs
1,036
C#
using System; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; using Xamarin.Forms.Xaml; <<<<<<< HEAD namespace Xamarin.Forms.Controls.Issues ======= namespace Xamarin.Forms.Controls >>>>>>> Update from origin (#11) { #if APP [Preserve(AllMembers = true)] [Issue(IssueTracker.Bugzilla, 60787, "Fr...
23.575
136
0.734889
[ "MIT" ]
jfversluis/Xamarin.Forms
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla60787.xaml.cs
945
C#
using System; using System.Collections.Generic; using Whathecode.System.Algorithm; namespace Whathecode.System { /// <summary> /// Interface specifying an interval from a value, to a value. Borders may be included or excluded. /// </summary> public interface IInterval<T> : IInterval<T, T> where T : ICompara...
42.592593
159
0.680949
[ "MIT" ]
Whathecode/.NET-Standard-Library-Extension
src/Whathecode.System/IInterval.cs
12,652
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CourseLibrary.API.Models { public class AuthorFullDto { public Guid Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Date...
24.352941
55
0.65942
[ "MIT" ]
Battler45/ImplementingAdvancedRESTfulConcernsAspNetCore3
Finished sample/CourseLibrary/CourseLibrary.API/Models/AuthorFullDto.cs
416
C#
using System.Collections.Generic; using Entities; using Android.App; using Android.Views; using Android.Widget; using Square.Picasso; namespace CustomAdapter { public class GamesAdapter : BaseAdapter<Game> { List<Game> GamesList; Activity Context; int ItemLayoutTemplate; int Ga...
29.833333
201
0.571981
[ "Apache-2.0" ]
graco911/IGDB-API-demo
CustomAdapter/GamesAdapter.cs
2,329
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...
37.696552
132
0.593304
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Migrate/MigrateProject.cs
5,466
C#
using System; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using System.Data; using System.Globalization; using System.Resources; //using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms...
39.166667
224
0.632882
[ "MIT" ]
Rideu/unia
Unia/Components/SpectrumViewer.cs
7,757
C#
namespace Crm.Infrastructure.Database { internal sealed class SchemaNames { internal const string Web = "Web"; } }
19.285714
42
0.659259
[ "MIT" ]
massimomannoni/CRM_BE
Ag_Crm_BE/Crm.Infrastructure/Database/SchemaNames.cs
137
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 Dnn.PersonaBar.SiteSettings.Services.Dto { using Newtonsoft.Json; [JsonObject] public cl...
28.352941
72
0.678423
[ "MIT" ]
Acidburn0zzz/Dnn.Platform
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/DTO/SiteSettings/LanguageTabDto.cs
484
C#
using System; using System.IO; using System.Linq; using System.Reflection; using Cake.Core; using Cake.Core.IO; using Cake.NSwag.Settings; using NJsonSchema; using NSwag.SwaggerGeneration; using NSwag.SwaggerGeneration.WebApi; namespace Cake.NSwag.Sources { /// <summary> /// Represents a .NET assembly (co...
48.754545
130
0.64945
[ "MIT" ]
Jericho/Cake.NSwag
src/Cake.NSwag/Sources/AssemblySource.cs
5,365
C#
// <copyright file="ItemPage.Map.cs" company="Automate The Planet Ltd."> // Copyright 2016 Automate The Planet Ltd. // 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/lic...
34.111111
85
0.656352
[ "Apache-2.0" ]
alanmacgowan/AutomateThePlanet-Learning-Series
DesignPatternsInAutomatedTesting-Series/PerfectSystemTestsDesign/Pages/ItemPage/ItemPage.Map.cs
1,230
C#