content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using CoreLocation; using UIKit; using Foundation; namespace Location.iOS { public class LocationManager { protected CLLocationManager locMgr; // event for the location changing public event EventHandler<LocationUpdatedEventArgs> LocationUpdated = delegate { }; public LocationManager () { ...
32.333333
112
0.715851
[ "Apache-2.0" ]
G3r3rd/mobile-samples
BackgroundLocationDemo/location.iOS/LocationManager.cs
3,104
C#
///////////////////////////////////////////////////////////////////// // Copyright (c) Autodesk, Inc. All rights reserved // Written by Forge Partner Development // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided tha...
42.663866
156
0.55538
[ "MIT" ]
kevinvandecar/design.automation.3dsmax-csharp-meshoptimizer
ProOptimizerAutomation/Command.cs
15,233
C#
using System; using Xamarin.Forms; using XamarinFormsDemo.Models; namespace XamarinFormsDemo.Views { public partial class NewItemPage : ContentPage { public Item Item { get; set; } public NewItemPage() { InitializeComponent(); Item = new Item { Id = Guid....
24.464286
61
0.559124
[ "MIT" ]
DevExpress/XPO
Tutorials/Xamarin.Forms/XamarinFormsDemo/Views/NewItemPage.xaml.cs
687
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.overseas.transfer.consult /// </summary> public class AlipayOverseasTransferConsultRequest : IAlipayRequest<AlipayOverseasTransferConsultResponse> { ...
23.456522
109
0.538462
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayOverseasTransferConsultRequest.cs
3,247
C#
using System; using System.Collections.Generic; namespace Agence.Domain.Entities { public partial class CaoOsStatus { public long CoStatusAtual { get; set; } public string DsStatus { get; set; } } }
19.083333
47
0.668122
[ "Apache-2.0" ]
MoyaSoftInk/Sputnik
Agence/Agence.Domain/Entities/CaoOsStatus.cs
231
C#
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using DEM_MVC_BL.Interfaces.IServices.Conference; using DEM_MVC_BL.Models.PollModels; using DEM_MVC_BL.Models.PollOptionModels; using DEM_MVC_DAL.Entities.PollEntities; using DEM_MVC_DAL.Entities.PollOptionEntities; using DEM_MVC_DAL....
43.764706
153
0.691868
[ "MIT" ]
AndreyShpilevoy/DemProject
DEM_MVC_BL/Services/Conference/PollReadService.cs
2,978
C#
/******************************************************************************* * Copyright 2012-2019 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...
47.464419
279
0.620769
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/GameLift/Basic/Remove-GMLFleetLocation-Cmdlet.cs
12,673
C#
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("Wexflow.Tasks.TextsDecryptor")]...
41.222222
102
0.752695
[ "MIT" ]
drewfreyling/Wexflow
src/net/Wexflow.Tasks.TextsDecryptor/Properties/AssemblyInfo.cs
1,509
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
42.608491
244
0.629248
[ "Apache-2.0" ]
cwickham3/azure-sdk-for-net
src/ResourceManagement/Network/NetworkManagement/Generated/INetworkInterfaceOperations.cs
9,033
C#
using System.Collections.Generic; using System.Data.SqlClient; using Dapper; using Universe.Dashboard.DAL.MultiProvider; namespace Universe.Dashboard.DAL.Tests.MultiProvider { public class SqlServerProvider4Tests : IProvider4Tests { private const string SERVERS_PATTERN = "MSSQL_TEST_SERVER"; pu...
35.688889
98
0.63076
[ "MIT" ]
devizer/KernelManagementLab
Universe.Dashboard.DAL.Tests/MultiProvider/SqlServerProvider4Tests.cs
1,606
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Mvc; using SFA.DAS.QnA.Api.Infrastructure; using SFA.DAS.QnA.Api.Types; using SFA.DAS.QnA.Application.Queries.Sequences.GetCurrentSequence; using SFA.DAS.QnA.Application.Querie...
42.6625
135
0.667448
[ "MIT" ]
SkillsFundingAgency/das-qna-api
src/SFA.DAS.QnA.Api/Controllers/SequencesController.cs
3,413
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lokanta_Otomasyonu { public abstract class Tutar { public static int tutar=0; public abstract void tutarHesapla(); } }
19.571429
44
0.718978
[ "MIT" ]
BurakErenCatal/Restaurant-Automation
Tutar.cs
276
C#
using Honeydukes.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; namespace Honeydukes.Controllers { public class FlavorsController : Controller { private readonly HoneydukesContext _db; ...
23.831325
83
0.648635
[ "MIT" ]
jhvozdovich/candy-store
Honeydukes/Controllers/FlavorsController.cs
1,978
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Engineering.DataSource; using Engineering.DataSource.CoordinateSystems; using Engineering...
36.731114
293
0.538293
[ "MIT" ]
trmcnealy/OilGas.Data
OilGas.Data/Data/OilGasDbContext.cs
28,697
C#
using System.Security.Cryptography; namespace Dalion.HttpMessageSigning.Signing { public class CustomSignatureAlgorithm : ISignatureAlgorithm { private bool _verificationResult; private bool _isDisposed; public CustomSignatureAlgorithm(string name) { if (string.IsNullOrEmpty(na...
27.487179
77
0.596082
[ "MIT" ]
DavidLievrouw/HttpMessageSigning
src/HttpMessageSigning.Signing.Tests/CustomSignatureAlgorithm.cs
1,072
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Tempest.Language; namespace Tests.Tempest.Language { [TestFixture] public class IdentifierTests { [Test] public void DefaultInitialization() ...
26.117647
79
0.510135
[ "MIT" ]
foxesknow/Tempest
Tests.Tempest.Language/IdentifierTests.cs
2,666
C#
using Verse; using RimWorld; namespace ESCP_BoneChitinFat { class ExtraButcherProperties : DefModExtension { public bool hasBone = true; public bool hasChitin = false; public bool hasFat = true; public static ExtraButcherProperties Get(Def def) { return ...
18.333333
65
0.638961
[ "MIT" ]
SirMashedPotato/ESCP-Tools-Partial
1.3/Source/ESCP_BoneChitinFat/ESCP_BoneChitinFat/ExtraButcherProperties.cs
387
C#
// <copyright file="IInputFile.cs" company="Soup"> // Copyright (c) Soup. All rights reserved. // </copyright> namespace Opal.System { using global::System; using global::System.IO; /// <summary> /// The input file interface /// Interface mainly used to allow for unit testing client code. ///...
22.818182
68
0.599602
[ "MIT" ]
SoupBuild/Soup
Source/GenerateSharp/Opal/System/IInputFile.cs
504
C#
using Config; using LuaFramework; using LuaInterface; using MiniJSON; using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using ThirdParty; using UnityEngine; public class UpdateScene : MonoBehaviour { public delegate void ClickEvent(); public static UpdateScene Insta...
23.766467
137
0.714286
[ "MIT" ]
moto2002/jiandangjianghu
src/UpdateScene.cs
3,983
C#
using System; using CppSharp.AST; using CppSharp.AST.Extensions; using CppSharp.Generators.C; using CppSharp.Generators.CLI; using CppSharp.Types; using Delegate = CppSharp.AST.Delegate; using Type = CppSharp.AST.Type; namespace CppSharp.Generators.Cpp { public class CppMarshalNativeToManagedPrinter : MarshalPrint...
33.119318
114
0.55537
[ "MIT" ]
IIFE/CppSharp
src/Generator/Generators/C/CppMarshal.cs
23,316
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...
28.913043
74
0.708271
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/TimeseriesAggregationInterval.cs
665
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace gInk { public class Language : IDisposable { public void Dispose() { } ...
49.2125
140
0.593726
[ "MIT" ]
SalihPalamut/gInk
src/Language.cs
7,876
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http.Headers; using System.Security.Claims; using Microsoft.Extensions.Primitives; using Stardust.Interstellar.Rest.Extensions; using Stardust.Particles.Collection; namespace Stardust.Interstellar.Rest.Annotations { ...
23.833333
110
0.713287
[ "Apache-2.0" ]
JonasSyrstad/Stardust.Rest
Stardust.Interstellar.Rest.Annotations/Attributes/DeleteAttribute.cs
715
C#
// EasyHook (File: EasyHook\WOW64Bypass.cs) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // 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 restri...
36.241667
172
0.582433
[ "Apache-2.0" ]
FuzzySecurity/Dendrobate
BuildEnv/v2.7.7097/EasyHook-Managed/WOW64Bypass.cs
4,351
C#
using PublicApiGeneratorTests.Examples; using System.Collections.Generic; using Xunit; namespace PublicApiGeneratorTests { public class Class_nested : ApiGeneratorTestsBase { [Fact] public void Should_output_nested_classes() { AssertPublicApi<ClassWithNestedClass>( @"namespa...
24.155
89
0.527531
[ "MIT" ]
ApiApprover/ApiApprover
src/PublicApiGeneratorTests/Class_nested.cs
9,662
C#
using UnityEngine; using System.Collections; public class VirtualUIDateTimePicker : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
13.75
54
0.7
[ "MIT" ]
spacekidbeto/MYOHack
Assets/Myosonus/Scripts/UI/VirtualUIDateTimePicker.cs
222
C#
using System; using System.ComponentModel; namespace Xamarin.Forms.Shapes { [EditorBrowsable(EditorBrowsableState.Never)] public struct Vector2 { public Vector2(double x, double y) : this() { X = x; Y = y; } public Vector2(Point p) ...
23.888889
85
0.455456
[ "MIT" ]
Alan-love/Xamarin.Forms
Xamarin.Forms.Core/Shapes/Vector2.cs
2,797
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; using System.Diagnostics.CodeAnalysis; using System.Net.Http.Headers; using System.Text; namespace System.Net.Http { public class HttpResponseMessage :...
30.29845
130
0.513752
[ "MIT" ]
333fred/runtime
src/libraries/System.Net.Http/src/System/Net/Http/HttpResponseMessage.cs
7,817
C#
using ServiceName.Domain.Base; using ServiceName.Domain.Events; using System; namespace ServiceName.Domain.Aggregates { public class Sample : TypedEntity<string>, IAggregateRoot { public string Name { get; private set; } public Sample(string name) { Id = Guid.N...
23.56
62
0.551783
[ "MIT" ]
dalesmithii/dotnettemplates
MyProject.DDD/ServiceName/src/ServiceName.Domain/Aggregates/Sample.cs
591
C#
using System; using System.ComponentModel; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using WebDriverManager; using WebDriverManager.DriverConfigs.Impl; using WebDriverManager.Helpers; using Xunit; namespace XUnitFirstSeleniumProject { public class SeleniumHeadlessTests { [Fact] [Cate...
30.75
104
0.668699
[ "Apache-2.0" ]
AutomateThePlanet/LambdaTest-xUnit-Tutorial
chapter 4/XUnitFirstSeleniumProject/XUnitFirstSeleniumProject/SeleniumHeadlessTests.cs
984
C#
using System; using System.Collections; using System.Globalization; namespace SimpleCalendar { public class Calendar { private string[] DateFormats = {"dd-MM-yyyy hh:mm:ss", "dd-MM-yyyy hh:mm", "dd-MM-yyyy hh", ...
32.196765
120
0.438175
[ "MIT" ]
aslamovyura/CMS-DotNet-aslm
src/SimpleCalendar/Calendar.cs
11,948
C#
using UnityEngine; using System; using System.Runtime.InteropServices; namespace uWindowCapture { public class UwcGetBufferExample : MonoBehaviour { [SerializeField] UwcWindowTexture uwcTexture; Texture2D texture_; Color32[] pixels_; GCHandle handle_; IntPtr ptr_ = IntPtr.Zero...
26.753846
97
0.584244
[ "MIT", "Unlicense" ]
hecomi/uWindowCapture
Assets/uWindowCapture/Examples/Texture Buffer/UwcGetBufferExample.cs
1,741
C#
namespace Caique.Parsing { public enum TokenKind { // Maths Plus, Minus, Star, Slash, // Comparison Equals, Bang, BangEquals, EqualsEquals, MoreOrEquals, LessOrEquals, // Assignment PlusEquals, MinusEquals, StarEquals, SlashEquals, // Parenthesis and br...
31.106383
85
0.475604
[ "MIT" ]
PaddiM8/Caique
compiler/Parsing/TokenKind.cs
4,386
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Cookies; us...
34.969388
115
0.641377
[ "MIT" ]
alevel-cherkashin/TruCam
TruCam/Providers/ApplicationOAuthProvider.cs
3,429
C#
/* The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS"...
38.092486
123
0.581032
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Base/Model/Primitive/TM.cs
6,590
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ACPC2020Day3.Extensions; using ACPC2020Day3.Questions; namespace ACPC2020Day3.Questions { public class QuestionF : AtCoderQuesti...
23.047619
73
0.743802
[ "MIT" ]
terry-u16/AtCoder
ACPC2020Day3/ACPC2020Day3/ACPC2020Day3/Questions/QuestionF.cs
486
C#
using System.Web.Optimization; namespace Ninject.WebForms.Web { public class BundleConfig { // For more information on Bundling, visit https://go.microsoft.com/fwlink/?LinkID=303951 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle(...
51.363636
112
0.569322
[ "MIT" ]
jasonla/Ninject.WebForms
Ninject.WebForms.Web/App_Start/BundleConfig.cs
1,699
C#
using System.Reflection; using AppKit; using Foundation; [assembly: AssemblyVersion("0.0.0.0")] namespace UI { /// <summary> /// The application delegate. /// </summary> /// <seealso cref="AppKit.NSApplicationDelegate" /> [Register("AppDelegate")] public class AppDelegate : NSApplicationDeleg...
24.310345
76
0.624113
[ "MIT" ]
RLittlesII/Rocket.Timer
src/UI/AppDelegate.cs
707
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("1D...
37.594595
84
0.742631
[ "MIT" ]
tenevdev/academy-csharp
csharp-meeting-1/MultidimensionalArrays/1D.Matrix/Properties/AssemblyInfo.cs
1,394
C#
namespace CsharpPoker { public class Card { public Card(CardValue value, CardSuit suit) { Value = value; Suit = suit; } public CardValue Value { get; set; } public CardSuit Suit { get; set; } public override string ToString() { ...
19.842105
51
0.488064
[ "MIT" ]
EdCharbeneau/csharp-functional-workshop-instructions
files/02-Simple-Object-Test/answers/first-pass/Card.cs
379
C#
// // https://github.com/ServiceStack/ServiceStack.Redis // ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system // // Authors: // Demis Bellot (demis.bellot@gmail.com) // // Copyright 2015 Service Stack LLC. All Rights Reserved. // // Licensed under the same terms of ServiceStack. // ...
57.645631
170
0.703747
[ "Apache-2.0" ]
bodell/ServiceStack
src/ServiceStack.Interfaces/Redis/Generic/IRedisTypedClient.cs
11,670
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("Co...
38.189189
84
0.748054
[ "MIT" ]
MadRubicant/GameDesign
ControlledSpheres/Properties/AssemblyInfo.cs
1,416
C#
namespace OnlineShop.Models.Products { using System; using Common.Constants; public abstract class Product : IProduct { private int _id; private string _manufacturer; private string _model; private decimal _price; private double _overallPerformance; pr...
26.278351
110
0.461357
[ "MIT" ]
HostVanyaD/SoftUni
C# OOP/Exams/OOPExam16Aug2020/OnlineShop/Models/Products/Product.cs
2,551
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Timers; using Domain.Repositories; using Xer.Cqrs.EventStack; using Xer.Cqrs.EventStack.Hosted; using Xer.Cqrs.EventStack.Hosted.EventSources; namespace Domain.DomainEvents { public...
33.636364
136
0.663514
[ "MIT" ]
keeed/Venturi
Src/Auth/Domain/BackgroundEvents/UsersLockoutTimeElapsedEvent.cs
2,960
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TextMagic_Test.Responses { /// <summary> /// Common fields of all TextMagic API responses /// </summary> interface IResponse { /// <summary> /...
21.9
53
0.609589
[ "MIT" ]
Work-Stuff/TextMagic-Test
TextMagic-Test/Responses/IResponse.cs
440
C#
// It's generated file. DO NOT MODIFY IT! using Diablerie.Engine.Datasheets; using Diablerie.Engine.IO.D2Formats; class TranslationLoader : Datasheet.Loader<Translation> { public void LoadRecord(ref Translation record, DatasheetStream stream) { stream.Read(ref record.key); st...
22.3125
74
0.686275
[ "MIT" ]
Bia10/Diablerie
Assets/Scripts/Generated/DatasheetLoaders/TranslationLoader.cs
357
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead....
31.3125
81
0.46507
[ "MIT" ]
Jibin-John/Virtual-World
VivoxTest/Assets/Vivox/Runtime/VivoxUnity/generated_files/vx_channel_type.cs
501
C#
namespace CloudinaryDotNet.Actions { using System.Collections.Generic; using System.Runtime.Serialization; /// <summary> /// Response of transformation update. /// </summary> [DataContract] public class UpdateTransformResult : BaseResult { /// <summary> /// The name of ...
29.930233
91
0.576535
[ "MIT" ]
jordansjones/CloudinaryDotNet
Shared/Actions/UpdateTransformResult.cs
1,289
C#
using UnityEngine; using System.Collections; using Meta; using SocketIO; using UnityEngine.UI; public class StartDrone : MonoBehaviour { /// <summary> /// Zeigt an ob der Quadrocopter gestart ist oder nicht /// </summary> public bool isStarted = false; /// <summary> /// Mesh-Objekt für den linken Mittelpunkt ...
29.830303
144
0.680211
[ "Apache-2.0" ]
TheAgentK/MetaDrone
game/Assets/MetaDrone/StartDrone.cs
4,943
C#
using System.Collections.Generic; using Newtonsoft.Json; using Alipay.AopSdk.Core.Domain; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayCommerceCityfacilitatorVoucherBatchqueryResponse. /// </summary> public class AlipayCommerceCityfacilitatorVoucherBatchqueryResponse : AopResponse { /// <...
24
82
0.732456
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk.Core/Response/AlipayCommerceCityfacilitatorVoucherBatchqueryResponse.cs
476
C#
using System.Collections; namespace UniRx.Examples { public class Sample02_TypedBehaviour : ObservableMonoBehaviour { // all message is overridable, it's typesafe public override void Update() { base.Update(); } // use Coroutine, use "new" keywo...
22.090909
67
0.5
[ "MIT" ]
mikanbako/example-unity-pinch-gesture-with-rx
Assets/UniRx/Examples/Sample02_TypedBehaviour.cs
488
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using Sep.Git.Tfs.Commands; using Sep.Git.Tfs.Core.TfsInterop; namespace Sep.Git.Tfs.Core { public class TfsWorkspace : ITfsWorkspace { private readonly IWorkspace _workspace; ...
42.638376
239
0.606231
[ "Apache-2.0" ]
ivan-danilov/git-tfs
GitTfs/Core/TfsWorkspace.cs
11,555
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...
35.582524
208
0.606276
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/storage/Microsoft.Azure.Management.Storage/src/Generated/Models/ObjectReplicationPolicyRule.cs
3,665
C#
using System; using System.Collections.Generic; using System.Linq; namespace Soltys.Library.Bson { public class BsonArray : BsonValue { internal override ElementType Type => ElementType.Array; private readonly List<BsonValue> values; public IReadOnlyCollection<BsonValue> Values => this....
33.244898
155
0.618171
[ "MIT" ]
soltys/Melange
src/Library/Soltys.Library/Structures/Bson/Values/BsonArray.cs
1,629
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("Rem...
37.891892
84
0.749643
[ "MIT" ]
robyscar/C-_10_AllInOne4Dummies_sourcecode
source/BK01/CH03/RemoveWhiteSpace2/Properties/AssemblyInfo.cs
1,405
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
74.295522
567
0.732814
[ "MIT" ]
alexbuckgit/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/HostingEnvironmentPrivateEndpointConnectionCollection.cs
24,889
C#
using System; namespace TypingGame.Logic { public class ColorRGBAFactory : IColorRGBAFactory { private readonly Random random; public ColorRGBAFactory() { random = new Random(); } public ColorRGBA GetColor() { var index = random.Next(3)...
26.178571
87
0.47749
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
JBurant/TypingGame
TypingGame/Logic/ColorRGBAFactory.cs
735
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.EntityFrameworkCore; public class DesignApiConsistencyTest : ApiConsistencyTestBase<DesignApiConsistencyTest.DesignApiConsistencyFixture> { public DesignApiC...
32.08
120
0.763092
[ "MIT" ]
AraHaan/efcore
test/EFCore.Design.Tests/DesignApiConsistencyTest.cs
802
C#
using System; using JetBrains.Annotations; using OrchestratR.Server; namespace OrchestratR.Extension.RabbitMq { internal class OrchestratrObserverFaultRule : IOrchestratrObserverFaultRule { public OrchestratrObserverFaultRule([NotNull] string absolutePath, Type errorType) { Absolute...
29.666667
97
0.702247
[ "MIT" ]
dkzkv/OrchestratR
src/OrchestratR.Extension.RabbitMq/OrchestratrObserverFaultRule.cs
534
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...
39.360656
132
0.633208
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/RAM/Generated/ServiceEnumerations.cs
14,406
C#
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
44.225806
85
0.695842
[ "Apache-2.0" ]
bewood/OpenAdStack
Queuing/Queuing/Properties/AssemblyInfo.cs
2,745
C#
using System; using System.ComponentModel; using EfsTools.Attributes; namespace EfsTools.Items.Nv { [Ignore] [Serializable] [NvItemId(2826)] [Attributes(9)] public class Wcdma1800RxAgcMin3 { [ElementsCount(1)] [ElementType("uint8")] [Description("")] ...
20.75
41
0.560241
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/WCDMA1800RxAgcMin3.cs
498
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...
28.918033
81
0.608277
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Cdn/V20191231/Outputs/PostArgsMatchConditionParametersResponse.cs
1,764
C#
namespace Cosmos.Collections; /// <summary> /// Array copy options <br /> /// 数组复制选项 /// </summary> public enum ArrayCopyOptions { /// <summary> /// Length <br /> /// 根据长度 /// </summary> Length = 0, /// <summary> /// Since Index <br /> /// 根据起始的索引值 /// </summary> SinceIndex = ...
33.936652
157
0.585733
[ "Apache-2.0" ]
cosmos-loops/Cosmos.Standard
src/Cosmos.Extensions.Collections/Cosmos/Collections/Arrays.Copy.cs
16,286
C#
using System; public class EventCode { public const byte AppStats = 0xe2; [Obsolete("TCP routing was removed after becoming obsolete.")] public const byte AzureNodeInfo = 210; public const byte GameList = 230; public const byte GameListUpdate = 0xe5; public const byte Join = 0xff; ...
31.3
67
0.686901
[ "MIT" ]
Jagerente/RCFixed
Source/EventCode.cs
628
C#
using Microsoft.AspNetCore.Routing; namespace Microsoft.AspNetCore.Modules { public interface IModularTenantRouteBuilder { IRouteBuilder Build(); void Configure(IRouteBuilder builder); } }
18.333333
47
0.718182
[ "BSD-3-Clause" ]
ChipSoftTech/CST-CMS
src/OrchardCore/Microsoft.AspNetCore.Modules.Abstractions/IModularTenantRouteBuilder.cs
222
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, modify, merge,...
42.190476
92
0.719338
[ "MIT" ]
AssafTzurEl/DiscUtils
Library/DiscUtils.HfsPlus/CatalogNodeId.cs
2,660
C#
using BeYourMarket.Core.Helpers; using BeYourMarket.Core.Plugins; using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web;...
44.451493
183
0.559851
[ "MIT" ]
DuDuu-Group/photos
src/BeYourMarket.Core/Plugins/PluginManager.cs
23,828
C#
// Copyright 2022 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 ...
43.566667
134
0.677888
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/BackendBucketsClient.PatchSnippet.g.cs
2,614
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Security.Claims; using SSRD.IdentityUI.Core.Interfaces.Services; using SSRD.IdentityUI.Core.Models.Result; namespace SSRD.IdentityUI.Admin.Areas.IdentityAdmin.Views.Shared.Comp...
22.4
84
0.708929
[ "MIT" ]
faizu-619/IdentityUI
src/IdentityUI.Admin/Areas/IdentityAdmin/Views/Shared/Components/imHeader/imHeaderViewComponent.cs
562
C#
// ReSharper disable All namespace OpenTl.Schema { using System; using System.Collections; using System.Text; using OpenTl.Schema; using OpenTl.Schema.Serialization.Attributes; [Serialize(0x57e2f66c)] public sealed class TInputMessagesFilterEmpty : IMessagesFilter, IEmpty { } }
16.333333
72
0.772109
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/_Entities/MessagesFilter/TInputMessagesFilterEmpty.cs
296
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...
43.962963
136
0.599495
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Devices/V20200801/Certificate.cs
5,935
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("Re...
38.72973
84
0.75157
[ "MIT" ]
ConnectionMaster/RetryOperationHelper
RetryOperationHelper/Properties/AssemblyInfo.cs
1,436
C#
// Copyright 2020 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 ...
54.353571
353
0.65208
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V5/Resources/ManagedPlacementViewResourceNames.g.cs
15,219
C#
using Unity.Burst; using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Transforms; using static Unity.Mathematics.math; [UpdateBefore(typeof(SpawnSystem))] public class StresstestSystem : JobComponentSystem { private Settings settings; [BurstCompile] stru...
22.130435
70
0.614276
[ "MIT" ]
maqqr/fgj2020
SuperMouseRTS/Assets/SuperMouseRTS/Scripts/StresstestSystem.cs
1,529
C#
using De.Osthus.Ambeth.Threading; namespace De.Osthus.Ambeth.Security { public interface ISecurityContextHolder { ISecurityContext Context { get; } ISecurityContext GetCreateContext(); void ClearContext(); R SetScopedAuthentication<R>(IAuthentication authentication, IResultingBackground...
24.066667
119
0.753463
[ "Apache-2.0" ]
Dennis-Koch/ambeth
ambeth/Ambeth.Security/ambeth/security/ISecurityContextHolder.cs
361
C#
public enum Tension { PEACEFUL, LOW, MEDIUM, DANGER, THREAT, NONE };
10.222222
19
0.543478
[ "MIT" ]
RoperoIvan/NarrativeMechanicsTFG
SubmarinePrototype/Assets/Scripts/Classes/Tension.cs
92
C#
namespace JadeFramework.Core.Consul { public class ServiceDiscoveryOptions { public ServiceOptions Service { get; set; } public string UserServiceName { get; set; } public ConsulOptions Consul { get; set; } } }
22.636364
51
0.654618
[ "Apache-2.0" ]
wangmaosheng/JadeFramework
JadeFramework.Core/Consul/ServiceDiscoveryOptions.cs
251
C#
using System; using System.Collections.Generic; namespace Search8.Models { /// <summary> /// Directory entries for use in LINQ queries. /// </summary> public class DirEntries : List<DirectoryEntry> { public DirEntries() { } } /// <summary> /// Directory entry fo...
23.393939
50
0.566062
[ "Apache-2.0" ]
mcskik/Utilities
Search8/Search8/Models/DirectoryEntry.cs
772
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
24.18
76
0.665012
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Vpc/Model/ModifyRouteTableSpec.cs
1,323
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 ...
34.261538
134
0.701392
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-green/Green/Model/V20180509/AddVideoDnaGroupRequest.cs
2,227
C#
using System; using System.Linq; namespace Take_Two { class TakeTwo { static void Main(string[] args) { var numbers = Console.ReadLine().Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse) .ToList(); numbers = numbers.Where(n => ...
23.1
120
0.532468
[ "MIT" ]
mkpetrov/CSharpAdvanced
LINQ/Take Two/TakeTwo.cs
464
C#
using ExtraMetadataLoader.Common; using ExtraMetadataLoader.Models; using Playnite.SDK; using Playnite.SDK.Controls; using Playnite.SDK.Data; using Playnite.SDK.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Runtim...
34.724609
154
0.531188
[ "MIT" ]
bburky/PlayniteExtensionsCollection
source/Generic/ExtraMetadataLoader/Controls/VideoPlayerControl.xaml.cs
17,781
C#
using System.Collections.Generic; namespace Hyperpack.Models.Internal { public class Pack { public PackProperties Properties; public Source[] Sources; public IList<IResolvedMod> LockedContent = new List<IResolvedMod>(); } }
23.636364
76
0.692308
[ "MIT" ]
CitadelCore/Hyperpack
Models/Internal/Pack.cs
260
C#
using Webpay.Integration.CSharp.Config; using Webpay.Integration.CSharp.Hosted.Admin.Actions; using Webpay.Integration.CSharp.Util.Constant; namespace Webpay.Integration.CSharp.Hosted.Admin { public class HostedAdmin { public readonly IConfigurationProvider ConfigurationProvider; public readonl...
44.166667
119
0.599057
[ "Apache-2.0" ]
sveawebpay/dotnet-integration
Webpay.Integration.CSharp/Webpay.Integration.CSharp/Hosted/Admin/HostedAdmin.cs
6,360
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Xml.Linq; namespace NuGet { public static class XElementExtensions { [SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justi...
37.573394
145
0.537053
[ "Apache-2.0" ]
monoman/NugetCracker
Nuget/src/Core/Extensions/XElementExtensions.cs
8,191
C#
/// OSVR-Unity Connection /// /// http://sensics.com/osvr /// /// <copyright> /// Copyright 2015 Sensics, 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....
45.175287
177
0.549647
[ "Apache-2.0" ]
OSVR/HDK-Tray-Application
OSVR_SampleScene/Assets/OSVRUnity/src/DisplayController.cs
15,723
C#
using System; namespace Ultraviolet.Graphics.PackedVector { public partial struct NormalizedShort4 : IEquatable<NormalizedShort4> { /// <inheritdoc/> public override Int32 GetHashCode() => HashCode.Combine(X, Y, Z, W); /// <summary> /// Compares two objects to determine whethe...
41.216216
120
0.598033
[ "Apache-2.0", "MIT" ]
MicroWorldwide/ultraviolet
Source/Ultraviolet/Shared/Graphics/PackedVector/NormalizedShort4.Equality.cs
1,527
C#
using System.Text.RegularExpressions; using Newtonsoft.Json; namespace Frederikskaj2.EmailAgent.Functions.Extensions { internal static class StringExtensions { private static readonly Regex markdownRegex = new Regex(@"[\\`\*_\{\}\[\]\(\)#\+\-\.!]"); public static string EscapeMarkdown(this st...
35.8
150
0.679702
[ "MIT" ]
Frederikskaj2/EmailAgent
Functions/Extensions/StringExtensions.cs
539
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HurriyetDotNet.Models { public class Column : BaseModel { public string FullName { get; set; } public string Description { get; set; } public List<File> Files...
19.590909
47
0.645012
[ "MIT" ]
agtokty/HurriyetDotNet
HurriyetDotNet/Models/Column.cs
433
C#
using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; namespace Walki...
36.798193
204
0.473602
[ "MIT" ]
17713017177/WTM
src/WalkingTec.Mvvm.TagHelpers.LayUI/Form/SelectorTagHelper.cs
12,499
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace OnnxObjectDetectionE2EAPP.Pages { public class IndexModel : PageModel { public void OnGet() { } } }...
17.833333
42
0.71028
[ "MIT" ]
AbhiAgarwal192/machinelearning-samples
samples/csharp/end-to-end-apps/DeepLearning_ObjectDetection_Onnx/OnnxObjectDetectionE2EAPP/Pages/Index.cshtml.cs
323
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input.Touch; using MonoGame.GameManager.Controls.InputEvent; using System; using System.Collections.Generic; using System.Linq; namespace MonoGame.GameManager.Controls.ControlsUI { public class ScrollViewerPinchZoom { public bool IsPinchActi...
35.57554
142
0.619009
[ "MIT" ]
DaniloPeres/MonoGame.GameManager
MonoGame.GameManager/Controls/ControlsUI/ScrollViewerPinchZoom.cs
4,947
C#
 using System; namespace RarExt { class Program { static void Main(string[] args) { //DoScan(@"d:\tmp\aaa"); if (args == null || args.Length <= 0) { Console.WriteLine("请输入要压缩的目录"); return; } new RarLas...
17.619048
53
0.42973
[ "Apache-2.0" ]
youbl/products
RarExt/RarExt/Program.cs
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: AssemblyTi...
38.621622
85
0.725682
[ "BSD-2-Clause" ]
borzel/win-xenguestagent
src/UnitTester/Properties/AssemblyInfo.cs
1,432
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Cauldron.VaultFive { public class DirectorWellsCardController : VaultFiveUtilityCardController { public Directo...
46.772727
246
0.648202
[ "MIT" ]
SotMSteamMods/CauldronMods
CauldronMods/Controller/Environments/VaultFive/Cards/DirectorWellsCardController.cs
3,089
C#
using System.Collections.Generic; using System.IO; using System.IO.Compression; using Musoq.Schema.DataSources; namespace Musoq.Schema.Os.Zip { public class ZipSource : RowSource { private readonly string _zipPath; private readonly RuntimeContext _communicator; public ZipSource(string...
32.227273
81
0.466855
[ "MIT" ]
JTOne123/Musoq
Musoq.Schema.Os/Zip/ZipSource.cs
1,420
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
32.586207
177
0.68254
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/prometheus/dotnet/Kubernetes/Crds/Operators/Prometheus/Monitoring/V1/Inputs/PrometheusSpecVolumesCinderSecretRefArgs.cs
945
C#
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT using System; using System.Drawing; using ClassicalSharp.Model; using OpenTK; using OpenTK.Input; namespace ClassicalSharp { public static class MathUtils { /// <summary> Creates a vector with all components at 1E25. </summ...
41.206452
114
0.622358
[ "BSD-3-Clause" ]
Andresian/ClassicalSharp
ClassicalSharp/Utils/MathUtils.cs
6,245
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Security.Claims; using System.Web; using System.Web.Mvc; using System.Threading.Tasks; using Microsoft.Azure.ActiveDirectory.GraphClient; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.Ow...
47.243902
200
0.679659
[ "MIT" ]
fmustaf/Samples
MVCAppWithADAuth/MVCAppWithADAuth/Controllers/UserProfileController.cs
3,876
C#