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 System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Bam.Net.Data;
namespace Bam.Net.ServiceProxy.Secure
{
public class SecureSessionColumns: QueryFilter<SecureSessionColumns>, IFilterToken
{
public SecureSessionColumns() { }
publi... | 38.57971 | 119 | 0.640872 | [
"MIT"
] | BryanApellanes/bam.net.shared | ServiceProxy/Secure/SecureServiceProxy_Generated/SecureSessionColumns.cs | 2,662 | C# |
using System;
using System.Windows.Input;
using System.Windows.Threading;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
namespace Demo.NonModalCustomDialog
{
public class CurrentTimeCustomDialogViewModel : ObservableObject
{
// ReSharper disable once NotAccessedField.L... | 26.131579 | 68 | 0.638469 | [
"Apache-2.0"
] | Glepooek/mvvm-dialogs | samples/wpf/Demo.NonModalCustomDialog/CurrentTimeCustomDialogViewModel.cs | 995 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace PaymentServiceSample.Migrations
{
public partial class ConfiguredHasColumnTypeForWithdrawalRecordAmount : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<decimal>(
... | 33.766667 | 85 | 0.589339 | [
"MIT"
] | LGinC/PaymentService | samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.EntityFrameworkCore.DbMigrations/Migrations/20200917102731_ConfiguredHasColumnTypeForWithdrawalRecordAmount.cs | 1,015 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using Localization.Resources.AbpUi;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Option... | 31.070175 | 112 | 0.57284 | [
"MIT"
] | AbdallahYahyia/abp-samples | Authentication-Customization/test/Acme.BookStore.Web.Tests/BookStoreWebTestModule.cs | 3,544 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Asse... | 40.756757 | 106 | 0.762599 | [
"MIT"
] | Nukleon84/OpenFMSL | source/JsonProjectStorage/JsonProjectStorage/Properties/AssemblyInfo.cs | 1,525 | C# |
using NUnit.Framework;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Nemesis.Essentials.Design;
namespace Nemesis.Essentials.Tests
{
[TestFixture(TestOf = typeof(EnumerableEqualityComparer<>))]
public class EnumerableEqualityComparerTests
{
priva... | 41.979592 | 126 | 0.548858 | [
"MIT"
] | nemesissoft/Nemesis.Essentials | Nemesis.Essentials.Tests/EnumerableEqualityComparerTests.cs | 4,118 | C# |
using System;
using System.IO;
using System.Windows;
using Microsoft.Win32;
namespace OpenFileDialogSample
{
/// <summary>
/// MainWindow.xaml에 대한 상호 작용 논리
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
... | 25.925926 | 83 | 0.6 | [
"MIT"
] | kerry-Cho/WPF-Example | Dialog/OpenFileDialogSample/OpenFileDialogSample/MainWindow.xaml.cs | 720 | C# |
using System;
namespace dgPower.KMS.Net.MimeTypes
{
/* Copied from:
* http://stackoverflow.com/questions/10362140/asp-mvc-are-there-any-constants-for-the-default-content-types */
/// <summary>
/// Common mime types.
/// </summary>
public static class MimeTypeNames
{
///<summary>... | 51.573718 | 493 | 0.698776 | [
"MIT"
] | PowerDG/Dg.KMS.Web | PowerDgKMS/dgPower.KMS/5.4.0/aspnet-core/src/dgPower.KMS.Application/Net/MimeTypes/MimeTypeNames.cs | 16,093 | C# |
using Newtonsoft.Json;
namespace Slack.NetStandard.Messages.Elements
{
public class MultiChannelsSelect : IMessageElement
{
public MultiChannelsSelect(){}
public MultiChannelsSelect(string actionId, string placeholder)
{
ActionId = actionId;
Placeholder = place... | 32.393939 | 90 | 0.664172 | [
"MIT"
] | stoiveyp/Slack.NetStandard | Slack.NetStandard/Messages/Elements/MultiChannelsSelect.cs | 1,071 | C# |
namespace Sparkle.Data.Entity.Networks
{
using Sparkle.Data.Networks;
using Sparkle.Entities.Networks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class CompanyRelationshipTypesRepository : BaseN... | 33.309524 | 141 | 0.610436 | [
"MPL-2.0"
] | SparkleNetworks/SparkleNetworks | src/Sparkle.Data.Entity/Networks/CompanyRelationshipTypesRepository.cs | 1,401 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Bitter.Core
{
public class BList<T>:List<T>where T:class,new()
{
}
}
| 13.333333 | 51 | 0.6875 | [
"MIT"
] | DavidChild/Bitter.Core.Orm.NetCore | src/Bitter.NetCore/Extention/BList.cs | 162 | C# |
using YAF.Lucene.Net.Analysis.Util;
using System.Collections.Generic;
namespace YAF.Lucene.Net.Analysis.Miscellaneous
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional ... | 41.095238 | 108 | 0.628428 | [
"Apache-2.0"
] | AlbertoP57/YAFNET | yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Miscellaneous/LengthFilterFactory.cs | 2,529 | C# |
#region License
/* Copyright 2019 James F. Bellinger <http://www.zer7.com/software/hidsharp>
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... | 27.966667 | 76 | 0.706794 | [
"Apache-2.0"
] | AkiSakurai/HIDSharpCore | HidSharp/Experimental/BleCccd.cs | 841 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace lpubsppop01.AnyTextFilterVSIX
{
// ref. http://stackoverflow.com/questions/717299/wpf-setting-the-width-and-height-as-a-percentage-value
class Do... | 26.087719 | 125 | 0.563551 | [
"MIT"
] | lpubsppop01/AnyFilterVSIX | AnyTextFilterVSIX/_MyLib/Converters/DoubleToMultipliedConverter.cs | 1,489 | C# |
namespace Avalonia.Media
{
public sealed class LineSegment : PathSegment
{
/// <summary>
/// Defines the <see cref="Point"/> property.
/// </summary>
public static readonly StyledProperty<Point> PointProperty
= AvaloniaProperty.Register<LineSegment, Point>... | 27.129032 | 87 | 0.524376 | [
"MIT"
] | 0x0ade/Avalonia | src/Avalonia.Base/Media/LineSegment.cs | 841 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using ExcelToDbf.Sources.Core;
using ExcelToDbf.Sources.Core.Data;
using ExcelToDbf.Sources.Core.Data.TData;
using ExcelToDbf.Sources.Core.Data.Xml;
using ExcelToDbf.Sources.Core.External;
using Microsoft.VisualStudio.TestTools.UnitTes... | 30.794326 | 103 | 0.573468 | [
"Apache-2.0"
] | NoTimeForHero/ExcelToDbf | UnitTests/Tests/DBFClass/FileTests.cs | 4,401 | C# |
using UnityEditor;
using UnityEngine;
// Using a property drawer to allow any class to have a field of type GuidRefernce and still get good UX
// If you are writing your own inspector for a class that uses a GuidReference, drawing it with
// EditorLayout.PropertyField(prop) or similar will get this to show up automat... | 43.445255 | 165 | 0.606519 | [
"MIT"
] | STARasGAMES/Guid-References | Assets/SaG/GuidReferences/Editor/GuidReferenceDrawer.cs | 5,954 | C# |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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... | 50.272727 | 136 | 0.71519 | [
"Apache-2.0"
] | Giovanni-Russo-Boscoli/NakedObjectsFramework | Core/NakedObjects.Architecture/Component/ITransactionManager.cs | 1,106 | C# |
using System;
using System.IO;
using System.Text.Json;
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
{
class TestConfigs
{
static TestConfigs()
{
// NOTICE: 请在项目根目录下按照 appsettings.json 的格式填入测试参数。
// WARN: 敏感信息请不要提交到 git!
using var stream = File.OpenR... | 35.647059 | 104 | 0.676568 | [
"MIT"
] | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/TestConfigs.cs | 1,276 | C# |
using Avalonia;
using System;
namespace Aura.UI.Helpers
{
public static class Maths
{
public static double ToSexagesimalDegrees(this double centesimalDegrees)
=> centesimalDegrees * 180 / 200;
public static double ToDegrees(this double radians) => 180 * radians / Math.PI;
... | 36.140351 | 148 | 0.52233 | [
"MIT"
] | punker76/Aura.UI | src/Aura.UI/Helpers/Maths.cs | 6,185 | 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... | 32.594203 | 201 | 0.606936 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Network/V20190401/GetConnectionMonitor.cs | 4,498 | C# |
using System.Collections.Generic;
using AutofacWebApiSample.Services;
using Microsoft.AspNetCore.Mvc;
namespace AutofacWebApiSample.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
readonly IValuesService _valuesService;
public ValuesController(IValue... | 21.82 | 61 | 0.546288 | [
"MIT"
] | augustoproiete-forks/autofac--Autofac | samples/AutofacWebApiSample/Controllers/ValuesController.cs | 1,093 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AS.Data;
using AS.Data.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
... | 34.193182 | 143 | 0.605849 | [
"MIT"
] | ValeriSt/AnimalShelter | Web/AS.Web/Startup.cs | 3,009 | 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: AssemblyTit... | 38.432432 | 85 | 0.727848 | [
"MIT"
] | augustogoncalves/civil3d-lowpoints | Properties/AssemblyInfo.cs | 1,425 | C# |
using ShaderTools.LanguageServer.Protocol.MessageProtocol;
using Newtonsoft.Json.Linq;
namespace ShaderTools.LanguageServer.Protocol.LanguageServer
{
public class CodeActionRequest
{
public static readonly
RequestType<CodeActionParams, CodeActionCommand[], object, TextDocumentRegis... | 29.375 | 143 | 0.613475 | [
"Apache-2.0"
] | comfanter/HLSLTools-for-Source | src/ShaderTools.LanguageServer.Protocol/LanguageServer/CodeAction.cs | 1,365 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using GafExplode.Gaf;
using FsCheck;
using System.Linq;
namespace GafExplode.Tests
{
[TestClass]
public class CompressedFrameWriterTest
{
private static readonly Arbitrary<Tuple<int, byte[]>> WidthAligne... | 33.004219 | 168 | 0.486321 | [
"MIT",
"BSD-3-Clause"
] | MHeasell/GafExplode | GafExplode.Tests/CompressedFrameWriterTest.cs | 7,824 | C# |
/*
The MIT License (MIT)
Copyright (c) 2014-2017 Marc de Verdelhan & respective authors (see AUTHORS)
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 with... | 36.723077 | 150 | 0.702137 | [
"MIT"
] | Taats/TA4Net | TA4Net/Indicators/adx/ADXIndicator.cs | 2,387 | C# |
using System.ComponentModel.DataAnnotations;
namespace AspNetCoreSpa.STS.Models
{
public class ForgotPasswordViewModel
{
[Required(ErrorMessage = "EMAIL_REQUIRED")]
[EmailAddress(ErrorMessage = "EMAIL_INVALID")]
public string Email { get; set; }
}
}
| 24 | 54 | 0.690972 | [
"MIT"
] | Anberm/AspNetCoreSpa | src/AspNetCoreSpa.STS/Models/AccountViewModels/ForgotPasswordViewModel.cs | 290 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Microsoft.Coyote.Specifications;
using Xunit;
using Xunit.Abstractions;
using Monitor = System.Threading.Monitor;
namespace Microsoft.Coyote.SystematicTesting.Tests.Threading
{
public class LockStatemen... | 25.656863 | 115 | 0.462744 | [
"MIT"
] | arunt1204/coyote | Tests/Tests.SystematicTesting/Threading/Locks/LockStatementTests.cs | 2,619 | C# |
//------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2017 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using UnityEngine;
namespac... | 22.55 | 63 | 0.465632 | [
"MIT"
] | Echoflyer/ILGameFramework | Assets/Framework/Scripts/Runtime/WebRequest/WWWFormInfo.cs | 905 | C# |
using System.Drawing;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;
using SpriteVortex.Helpers;
namespace SpriteVortex
{
public partial class AboutSplash : KryptonForm
{
public AboutSplash()
{
InitializeComponent();
versionLabel.Parent = splashPic... | 22.382979 | 78 | 0.554183 | [
"MIT"
] | rafaelvasco/SpriteVortex | SpriteVortex/Forms/AboutSplash.cs | 1,052 | C# |
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayMobilePublicMenuUpdateResponse.
/// </summary>
public class AlipayMobilePublicMenuUpdateResponse : AlipayResponse
{
/// <summary>
/// 结果码
/// </summary>
[JsonPr... | 23.565217 | 70 | 0.573801 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Response/AlipayMobilePublicMenuUpdateResponse.cs | 554 | C# |
namespace MMSComunication
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public interface IClient
{
}
}
| 16.076923 | 37 | 0.674641 | [
"MIT"
] | MartinNorberg/800xA-mms | .Net/800xAmms/MMSComunication/IClient.cs | 211 | C# |
namespace Uqs.AppointmentBooking.Domain.DomainObjects;
public class Appointment
{
public int Id { get; set; }
public DateTime Starting { get; set; }
public DateTime Ending { get; set; }
public int CustomerId { get; set; }
public Customer? Customer { get; set; }
public int EmployeeId { get; set... | 30.066667 | 55 | 0.660754 | [
"MIT"
] | PacktPublishing/Pragmatic-Test-Driven-Development-in-C-.NET | ch08/UqsAppointmentBooking/Uqs.AppointmentBooking.Domain/DomainObjects/Appointment.cs | 453 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RightButtonView : MonoBehaviour
{
public FATController fatController;
public Button btnBMZReset;
public Button btnBrandfallAb;
private Color previousTestModeColor;
// Start is... | 21.166667 | 57 | 0.616321 | [
"MIT"
] | Siedlerchr/safetydaysBMA | Assets/Scripts/FWControlPanel/RightButtonView.cs | 1,399 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NaiveLanguageTools.Common;
using System.Collections.ObjectModel;
using NaiveLanguageTools.Parser.InOut;
using NaiveLanguageTools.Generator.InOut;
using NaiveLanguageTools.Parser;
namespace NaiveLanguageTools.Generato... | 57.477833 | 164 | 0.63627 | [
"MIT"
] | macias/NaiveLanguageTools | NaiveLanguageTools.Generator/Builder/ProductionsBuilder.cs | 23,338 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.trade.fastpay.ete.didi.pay
/// </summary>
public class AlipayTradeFastpayEteDidiPayRequest : IAopRequest<AlipayTradeFastpayEteDidiPayResponse>
... | 23.545455 | 104 | 0.604247 | [
"Apache-2.0"
] | Varorbc/alipay-sdk-net-all | AlipaySDKNet/Request/AlipayTradeFastpayEteDidiPayRequest.cs | 2,608 | C# |
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using PacketDotNet;
namespace TCC.Sniffing
{
public class TcpSniffer
{
private readonly ConcurrentDictionary<ConnectionId, TcpConnection> _connections =
new ConcurrentDictionary<ConnectionId, TcpConnection>();
... | 41.293103 | 118 | 0.587474 | [
"MIT"
] | sarisia/Tera-custom-cooldowns | TCC.Core/Sniffing/TcpSniffer.cs | 4,792 | C# |
using Autofac;
using CompanyName.MyMeetings.BuildingBlocks.Application.Events;
using CompanyName.MyMeetings.BuildingBlocks.Domain;
using CompanyName.MyMeetings.BuildingBlocks.Infrastructure;
using CompanyName.MyMeetings.BuildingBlocks.Infrastructure.DomainEventsDispatching;
using CompanyName.MyMeetings.Modules.Payment... | 42.235294 | 121 | 0.682451 | [
"MIT"
] | AndreiGanichev/modular-monolith-with-ddd | src/Modules/Payments/Infrastructure/Configuration/Processing/ProcessingModule.cs | 2,874 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using RagnaLib.Domain.Entities;
namespace RagnaLib.Infra.Data.Mappings
{
public static class ItemTypeMapping
{
public static void MappingItemType(this EntityTypeBuilder<ItemType> entity)
{
en... | 26.444444 | 83 | 0.598039 | [
"MIT"
] | Berthot/RagnaLib | RagnaLib.Infra/Data/Mappings/ItemTypeMapping.cs | 714 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "TB_RandomHand_ench",
"name": [
"Random Hand Enchant - Not Player Facing",
"Random Hand Enchant - Not Player Facing"
],
"text": [
null,
null
],
"cardClass": "NEUTRAL",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "TB",
"collectible": null,... | 16.481481 | 46 | 0.602247 | [
"MIT"
] | chi-rei-den/Silverfish | cards/TB/TB/Sim_TB_RandomHand_ench.cs | 445 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DummyRecord.cs" company="Daniel Dabrowski - rod.42n.pl">
// Copyright (c) 2008 Daniel Dabrowski - 42n. All rights reserved.
// </copyright>
// <summary>
// Defines the DummyRe... | 36.7 | 120 | 0.46049 | [
"BSD-3-Clause"
] | bill-cooper/catc-cms | src/Orchard.Web/Modules/Four2n.MiniProfiler/Models/DummyRecord.cs | 736 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ServicesCars
{
public partial class FrmOpacity : Form
{
public FrmOpacity()
... | 19.870968 | 76 | 0.631494 | [
"Apache-2.0"
] | RaulMatias7/ServicesCar | ServicesCars/Forms/FrmOpacity.cs | 618 | C# |
using System;
using Com.QueoFlow.Peanuts.Net.Core.Domain.ProposedUsers.Dto;
using Com.QueoFlow.Peanuts.Net.Core.Domain.Users;
using Com.QueoFlow.Peanuts.Net.Core.Infrastructure;
using NUnit.Framework;
namespace Com.QueoFlow.Peanuts.Net.Core.Domain
{
[TestFixture]
public class ProposedUserTest
{
... | 41.529412 | 233 | 0.672096 | [
"MIT"
] | queoGmbH/peanuts | Peanuts.Net.Core.Test/src/Domain/ProposedUserTest.cs | 1,416 | 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.IO;
using Microsoft.CodeAnalysis.CodeLens;
using System.Threading.Tasks;
using Microsoft.CodeAna... | 42.341085 | 163 | 0.603991 | [
"Apache-2.0"
] | Trieste-040/https-github.com-dotnet-roslyn | src/Workspaces/Remote/ServiceHub/Services/CodeAnalysisService_CodeLens.cs | 5,464 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCommand.Resolver
{
public abstract class ACommandResolver
{
private Dictionary<string, Func<Stream, Stream, bool>> _commands = new Dictionary<string, Func<... | 43.322581 | 128 | 0.630678 | [
"MIT"
] | FernandVEYRIER/DNAI | CoreCommand/Resolver/ACommandResolver.cs | 2,688 | C# |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using NewRelic.Collections;
using NUnit.Framework;
namespace NewRelic.Core.Tests.NewRelic.Collections
{
class StaticCounterTests
{
[Test]
public void StaticCounterTests_Battery()
{
... | 40.166667 | 127 | 0.642324 | [
"Apache-2.0"
] | Faithlife/newrelic-dotnet-agent | tests/NewRelic.Core.Tests/NewRelic.Collections/StaticCounterTests.cs | 1,205 | 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 ma... | 22.924138 | 88 | 0.662455 | [
"Apache-2.0"
] | dineshkummarc/lucene.net | src/contrib/Spatial/Geometry/FloatLatLng.cs | 3,326 | C# |
using System;
using System.Threading.Tasks;
namespace SteamSharp {
/// <summary>
/// Class allowing for abstracted querying of the IPlayerService interface
/// </summary>
public partial class PlayerService : SteamInterface {
#region GetOwnedGames
/// <summary>
/// (Requires UserAuthenticator, APIKeyAuthen... | 54.220126 | 212 | 0.731702 | [
"Apache-2.0"
] | ShaneC/SteamSharp | SteamSharp/SteamInterfaces/PlayerService.cs | 8,623 | C# |
using System.IO;
using Xunit;
using Semmle.Util.Logging;
using System.Runtime.InteropServices;
namespace Semmle.Extraction.Tests
{
public class Layout
{
readonly ILogger Logger = new LoggerMock();
[Fact]
public void TestDefaultLayout()
{
var layout = new Semmle.Ext... | 41.00995 | 154 | 0.580856 | [
"MIT"
] | Aphirak2018/codeql | csharp/extractor/Semmle.Extraction.Tests/Layout.cs | 8,245 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
namespace _5.SoftuniParking
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Dictionary<string, string> validations = new Dictionary<string, string>();
... | 31.169811 | 114 | 0.419492 | [
"MIT"
] | VinsantSavov/SoftUni-Software-Engineering | CSharp-Fundamentals/Fundamentals - 2018/AssociativeArrays/AssociativeArrays-Exercise/5.SoftuniParking/Program.cs | 1,654 | 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... | 34.438356 | 172 | 0.64996 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/WAF/Generated/Model/GetLoggingConfigurationRequest.cs | 2,514 | C# |
// Copyright (c) CBC/Radio-Canada. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using LinkIt.PublicApi;
namespace LinkIt.Diagnostics
{
internal class L... | 31.735294 | 146 | 0.670992 | [
"MIT"
] | fynnen/LinkIt | src/LinkIt/Diagnostics/LoadLinkDetails.cs | 2,158 | C# |
using System.Reflection;
using System.Resources;
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.
[asse... | 44.2 | 147 | 0.757164 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470 | Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Properties/AssemblyInfo.cs | 1,992 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 33.511364 | 181 | 0.609698 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/DescribeEndpointConfigResponse.cs | 5,898 | 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 Microsoft.VisualStudio.ProjectSystem.LanguageServices;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Text... | 53.110236 | 168 | 0.713566 | [
"Apache-2.0"
] | MSLukeWest/project-system | tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/ProjectSystem/VS/LanguageServices/VsContainedLanguageComponentsFactoryTests.cs | 6,621 | C# |
using System;
using BACnet.Types;
using BACnet.Types.Schemas;
namespace BACnet.Ashrae
{
public partial class LifeSafetyOperationRequest
{
public uint RequestingProcessIdentifier { get; private set; }
public string RequestingSource { get; private set; }
public LifeSafetyOperation Request { get; private set; ... | 36.924528 | 158 | 0.775166 | [
"MIT"
] | LorenVS/bacstack | BACnet.Ashrae/Generated/LifeSafetyOperationRequest.cs | 1,957 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Axe.Windows.Core.Bases;
using Axe.Windows.Core.Enums;
using Axe.Windows.Core.Types;
using Axe.Windows.Rules.Resources;
using static Axe.Window... | 36.216216 | 102 | 0.685075 | [
"MIT"
] | Bhaskers-Blu-Org2/axe-windows | src/Rules/Library/OrientationPropertyExists.cs | 1,304 | C# |
/*
* THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR
*/
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.Json.Serialization;
namespace Plotly.Blazor.Traces.StreamTubeLib.ColorBarLib
{
/// <summary>
/// The Tit... | 34.816667 | 101 | 0.517951 | [
"MIT"
] | ScriptBox99/Plotly.Blazor | Plotly.Blazor/Traces/StreamTubeLib/ColorBarLib/Title.cs | 4,178 | C# |
using System;
using System.Windows;
using System.Windows.Controls;
namespace GTA_SA_PathsRedactor.Controls
{
public class StretchingTreeViewItem : TreeViewItem
{
public StretchingTreeViewItem()
{
this.Loaded += new RoutedEventHandler(StretchingTreeViewItem_Loaded);
}
... | 28.588235 | 91 | 0.605624 | [
"MIT"
] | MrNails/GTA_SA_PathsRedactor | GTA_SA_PathsRedactor/Controls/StretchingTreeView.cs | 1,460 | C# |
namespace WordWebService
{
partial class TextEntryForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources ... | 29.828947 | 144 | 0.68637 | [
"BSD-3-Clause"
] | MiloszKrajewski/dnug-rx | src/WordWebService/TextEntryForm.Designer.cs | 2,269 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace ToHDL.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 41.063492 | 125 | 0.520294 | [
"MIT"
] | 210215-USF-NET/WestonDavidson-code | ToHDevOps/TourOfHeros/ToHDL/Migrations/20210304145535_Initial.cs | 2,589 | C# |
$persistentObjectSet = new SimSet();
| 19 | 37 | 0.736842 | [
"BSD-2-Clause"
] | Torque3D-Resources/Twillex | Twillex_Test/game/managed/persistent.cs | 38 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EasyGameServer
{
static class Program
{
/// <summary>
/// 해당 응용 프로그램의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{... | 21.434783 | 65 | 0.602434 | [
"MIT"
] | flashscope/EasyMobileGameServer | C_Sharp_Server/EasyGameServer/EasyGameServer/Program.cs | 527 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.AcademicFoundation
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepT... | 21.229508 | 136 | 0.734363 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.AcademicFoundation/Educational_Institution_Course_DesignationObjectIDType.cs | 1,295 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager.Core... | 47.2625 | 237 | 0.753504 | [
"MIT"
] | BaherAbdullah/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/LongRunningOperation/VirtualHubRouteTableV2CreateOrUpdateOperation.cs | 3,781 | C# |
using NAutowired.Core.Attributes;
namespace NAutowiredConsoleSample
{
public class Startup : NAutowired.Core.Startup
{
[Autowired]
private readonly FooService fooService;
public override void Run(string[] args)
{
System.Console.WriteLine(fooService.Foo());
... | 21.705882 | 55 | 0.626016 | [
"MIT"
] | FatTigerWang/NAutowired | Sample/NAutowired.Console.Sample/Startup.cs | 371 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu... | 39.490119 | 171 | 0.56716 | [
"MIT"
] | Azyyyyyy/osu | osu.Game.Rulesets.Osu/Mods/OsuModTarget.cs | 19,479 | C# |
using UnityEngine;
using System.Collections;
public class LogicController : MonoBehaviour {
public string switchTriggerName = "Switch";
public Transform activeObject;
Animator anim;
// Use this for initialization
void Start () {
anim = GetComponent<Animator>();
}
// Update is called once... | 20.964286 | 60 | 0.650767 | [
"MIT"
] | PacktPublishing/Unity-5.x-Animation-Cookbook | Assets/Chapter 10/Recipe 05/Scripts/LogicController.cs | 589 | C# |
using Codecool.DungeonCrawl.Logic.Actors;
using Codecool.DungeonCrawl.Logic.Items;
namespace Codecool.DungeonCrawl.Logic
{
/// <summary>
/// Represents a cell in the map.
/// </summary>
public class Cell : IDrawable
{
private readonly GameMap _gameMap;
/// <summary>
/// Ini... | 28.58209 | 71 | 0.518538 | [
"CC0-1.0"
] | h0axx/gameCSharp | src/Codecool.DungeonCrawl/Logic/Cell.cs | 1,915 | 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: AssemblyTit... | 39.081081 | 85 | 0.730982 | [
"MIT"
] | stoyanov7/SoftwareUniversity | C#Development/C#Advanced/SetsAndDictionaries-Exercise/05.Phonebook/05.Phonebook/Properties/AssemblyInfo.cs | 1,449 | C# |
using CCXT.NET.Shared.Coin;
using CCXT.NET.Shared.Coin.Private;
using CCXT.NET.Shared.Coin.Types;
using CCXT.NET.Shared.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CCXT.NET.Bitfinex.Private
{
/// <summary>
///
/// </summary>
public class ... | 38.935096 | 190 | 0.511206 | [
"MIT"
] | ccxt-net/ccxt.net | src/exchanges/gbr/bitfinex/private/privateApi.cs | 16,203 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OutlookApi
{
/// <summary>
/// CoClass Reminder
/// SupportByVersion Outlook, 10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-us/library/offi... | 25.380952 | 105 | 0.731707 | [
"MIT"
] | igoreksiz/NetOffice | Source/Outlook/Classes/Reminder.cs | 535 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2015 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... | 30.444444 | 112 | 0.611086 | [
"Apache-2.0"
] | TristanTong/bbsWirelessTag | yafsrc/YetAnotherForum.NET/pages/im_xmpp.ascx.cs | 4,242 | C# |
using TenantManagement.Processor.Models;
namespace TenantManagement.Processor.Validations
{
public interface ITenantValidator
{
bool ValidateCode(Tenant tenant);
}
} | 21 | 48 | 0.740741 | [
"MIT"
] | Hussain9384/TenantManagement | TenantManagement.Processor/Validations/ITenantValidator.cs | 191 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.EntityFrameworkCor... | 31.357143 | 106 | 0.672437 | [
"Unlicense"
] | phongnq007/phantichchungkhoan | backend/PhanTichChungKhoan.WebApp/Startup.cs | 2,195 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Server.Abstractions;
name... | 39.396694 | 138 | 0.587791 | [
"MIT"
] | Bia10/csharp-language-server-protocol | src/Server/ClientCapabilityProvider.cs | 4,767 | C# |
using NUnit.Framework;
namespace Man.Dapr.Sidekick.AspNetCore.Metrics
{
public class PrometheusModelTests
{
public class Constructor
{
[Test]
public void Should_initialize_properties()
{
var model = new PrometheusModel();
Asse... | 29.365854 | 67 | 0.503322 | [
"Apache-2.0"
] | Benknightdark/dapr-sidekick-dotnet | tests/Man.Dapr.Sidekick.AspNetCore.Tests/Metrics/PrometheusModelTests.cs | 1,206 | C# |
using System;
using System.Data;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using Telligent.Glow;
using Graffiti.Core;
namespace Graffiti.Web
{
public class upload : MultipleUploadFileHandler
{
public override void ProcessRequest(HttpCont... | 35.69697 | 133 | 0.617997 | [
"MIT"
] | harder/GraffitiCMS | src/Graffiti.Web/graffiti-admin/upload.ashx.cs | 1,178 | C# |
// Conjure application framework.
// Copyright (C) Conjure.
using System.Linq.Expressions;
using Conjure.Binding;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace Conjure.BlazorKit.Data;
public delegate Task<LoadDataPage<TDataItem>> LoadDataHandler<TDataItem>(LoadDa... | 44.096296 | 107 | 0.52293 | [
"MIT"
] | ebekker/conjure | src/Conjure.BlazorKit/Data/LoadDataHandler.cs | 5,955 | C# |
namespace AspNetCoreBoilerplateApplication1.Services
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Boilerplate.AspNetCore;
using Boilerplate.AspNetCore.Caching;
using Boilerplate.AspNetCore.Sitemap;
using Microsoft.AspNetCore.Mvc;
using Microsoft.... | 44.912409 | 129 | 0.614985 | [
"MIT"
] | jramos-br/PlayGround | VS2017-15.9.18/CS/AspNetCoreBoilerplateApplication1/AspNetCoreBoilerplateApplication1/Services/Sitemap/SitemapService.cs | 6,155 | C# |
using Newtonsoft.Json;
namespace MessageBird.Objects
{
public class ContactMessageReference
{
[JsonProperty("href")]
public string Href { get; set; }
[JsonProperty("totalCount")]
public int TotalCount { get; set; }
}
}
| 19.928571 | 44 | 0.591398 | [
"ISC"
] | Faultless/csharp-rest-api | MessageBird/Objects/ContactMessageReference.cs | 268 | C# |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing;
using SixLabors.ImageSharp.Processing;
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the filling of polygon outli... | 50.8625 | 124 | 0.655444 | [
"Apache-2.0"
] | obayomy/ImageSharp.Drawing | src/ImageSharp.Drawing/Processing/Extensions/ClearPathExtensions.cs | 4,069 | C# |
// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Friends
{
/// <summary>
/// Function prototype definition for callbacks passed to <see cref="FriendsInterface.AcceptInvite" />
/// </summary>
/// <param... | 48.285714 | 119 | 0.795858 | [
"MIT"
] | CreepyAnt/EpicOnlineTransport | Mirror/Runtime/Transport/EpicOnlineTransport/EOSSDK/Generated/Friends/OnAcceptInviteCallback.cs | 676 | C# |
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Filters;
namespace Livraria.App_Start
{
public class Autenticacao : ActionFilterAttribute, IAuthenticationFilter
{
public void OnAuthentication(AuthenticationContext filterContext)
{
//throw new NotImplementedException()... | 28.043478 | 91 | 0.644961 | [
"MIT"
] | lsantoss/Livraria-Asp.net-MVC5 | Livraria/App_Start/Autenticacao.cs | 647 | C# |
#region License Terms
// ================================================================================
// RosSharp
//
// Software License Agreement (BSD License)
//
// Copyright (C) 2012 zoetrope
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modif... | 45.952128 | 201 | 0.563375 | [
"BSD-2-Clause"
] | mamamaisused/RosSharp | RosSharp/Slave/ISlave.cs | 8,641 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 43.317073 | 200 | 0.586149 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/ElasticBeanstalk/Generated/Model/Internal/MarshallTransformations/DescribeConfigurationOptionsRequestMarshaller.cs | 5,328 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using CronScheduler.Extensions.Scheduler;
using Microsoft.Extensions.Logging;
namespace CronSchedulerApp.Jobs
{
public class TestJob : IScheduledJob
{
private readonly ILogger<TestJob> _logger;
private SchedulerOptions _opti... | 25.714286 | 99 | 0.646667 | [
"MIT"
] | kdcllc/CronScheduler.AspNetCore | src/CronSchedulerApp/Jobs/TestJob.cs | 902 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Yamaanco.Domain.Entities.GroupEntities;
namespace Yamaanco.Infrastructure.EF.Persistence.Configurations.GroupConf
{
public class GroupMessageViewerConfiguration : IEntityTypeConfiguration<GroupMessageViewer>
{
... | 32.461538 | 95 | 0.791469 | [
"MIT"
] | YamanNasser/Yamaanco | Yamaanco.EF.Persistence/Configurations/GroupConf/GroupMessageViewerConfiguration.cs | 424 | C# |
using System.Collections.ObjectModel;
namespace Hotel.Areas.HelpPage.ModelDescriptions
{
public class ComplexTypeModelDescription : ModelDescription
{
public ComplexTypeModelDescription()
{
Properties = new Collection<ParameterDescription>();
}
public Collection<Par... | 27.071429 | 80 | 0.701847 | [
"MIT"
] | TorresFelipeD/Axede_PruebaTecnica | Hotel/Hotel/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs | 379 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 57.40367 | 308 | 0.654867 | [
"MIT"
] | DalavanCloud/azure-powershell | src/ResourceManager/Intune/Commands.Intune/Policy/NewIntuneiOSMAMPolicyCmdlet.cs | 12,303 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... | 48.024096 | 202 | 0.62293 | [
"MIT"
] | Fildrance/GetTheFoodAlready | src/GetTheFoodAlready.Ui.Wpf/Resources/BrowserHelper.Designer.cs | 4,554 | C# |
using System;
namespace Utils
{
public static class Dimensions
{
/// <summary>
/// Returns rectangle dimensions for nice alignment of passed cells
/// </summary>
public static (int, int) Calculate(int cells)
{
var cols = (int)Math.Ceiling(Math.Sqrt(cells));... | 25.863636 | 76 | 0.472759 | [
"MIT"
] | tarpaha/ProcessorCoresTrainer | Utils/Dimensions.cs | 571 | C# |
/***********************************************************************************************************************
Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, ... | 29.904437 | 151 | 0.62577 | [
"BSD-3-Clause"
] | CreatorDev/DTLS.Net | src/DTLS.Net/Util/NetworkByteOrderConverter.cs | 8,764 | 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... | 42.805288 | 298 | 0.611333 | [
"ECL-2.0",
"Apache-2.0"
] | EladGabay/pulumi-oci | sdk/dotnet/Database/BackupDestination.cs | 17,807 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Script : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
| 15.315789 | 52 | 0.618557 | [
"MIT"
] | Drakelia/cercleprojet2019 | G4Enigme VR/Assets/Script.cs | 293 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace EZOper.TechTester.JWTOAuthWebSI3.Areas.Help
{
internal static class ModelNameHelper
{
// Modify this to provide custom model name mapping.
public static string GetModelName(Type type)
{
... | 39.972222 | 140 | 0.635163 | [
"MIT"
] | erikzhouxin/CSharpSolution | TechTester/JWTOAuthWebSI3/Areas/Help/ModelDescriptions/ModelNameHelper.cs | 1,439 | C# |
using Automation.Framework.Pages;
using Automation.Tests.Common;
using FluentAssertions;
using NUnit.Framework;
namespace Automation.Tests.Google
{
public class Home : BaseUI
{
private GoogleHomePage _googleHomePage;
[SetUp]
public override void SetUp()
{
base.SetU... | 25.333333 | 71 | 0.548246 | [
"MIT"
] | SHall21/SeleniumDemo_TestYork | Automation.Tests/Google/Home.cs | 2,966 | C# |
using Fortnox.SDK.Serialization;
using Newtonsoft.Json;
// ReSharper disable UnusedMember.Global
namespace Fortnox.SDK.Entities
{
/// <remarks/>
[Entity(SingularName = "SalaryTransaction", PluralName = "SalaryTransactions")]
public class SalaryTransactionSubset : SalaryTransaction
{
///<summar... | 25.833333 | 83 | 0.675269 | [
"Unlicense",
"MIT"
] | LukasLonnroth/csharp-api-sdk | FortnoxSDK/Entities.Subsets/SalaryTransactionSubset.cs | 465 | C# |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Orleans;
using Orleans.Runtime;
using Tester.StorageFacet.Abstractions;
using Orleans.Hosting;
namespace Tester.StorageFacet.Implementations
{
public class TableExampleStorage<TState> : IExampleStorage<TSta... | 31.52 | 147 | 0.661591 | [
"MIT"
] | 1007lu/orleans | test/Tester/StorageFacet/Feature.Implementations/TableExampleStorage.cs | 2,366 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.