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("Im... | 37.540541 | 84 | 0.743701 | [
"Unlicense"
] | MWFK/Bungalow_Reservation_Management | Immeuble/Properties/AssemblyInfo.cs | 1,392 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using MUNIA.Controllers;
using SharpLib.Hid;
using SharpLib.Win32;
namespace MuniaInput {
public partial class MainForm : Form {
... | 32.765957 | 118 | 0.63961 | [
"MIT"
] | mathgeek008/MUNIA-splits | MUNIA-win/MuniaInput/MainForm.cs | 1,542 | C# |
using UnityEngine.Rendering;
namespace UnityEditor.Rendering
{
class ShaderGeneratorMenu
{
[MenuItem("Edit/Render Pipeline/Generate Shader Includes", priority = CoreUtils.editMenuPriority1)]
static void GenerateShaderIncludes()
{
CSharpToHLSL.GenerateAll();
... | 24.8 | 108 | 0.63172 | [
"MIT"
] | AlePPisa/GameJamPractice1 | Cellular/Library/PackageCache/com.unity.render-pipelines.core@8.2.0/Editor/ShaderGenerator/ShaderGeneratorMenu.cs | 372 | C# |
using System.Collections.Generic;
using Content.Server.Cuffs.Components;
using Content.Server.Hands.Components;
using Content.Shared.Hands.Components;
using Content.Shared.Inventory;
using Content.Shared.Inventory.Events;
using Content.Shared.Strip.Components;
using Content.Shared.Verbs;
using Robust.Server.GameObjects... | 36.009091 | 118 | 0.590507 | [
"MIT"
] | Alainx277/space-station-14 | Content.Server/Strip/StrippableSystem.cs | 3,961 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Bugtracker.Domain
{
public class Audit
{
[Key]
public int Id { get; set; }
public string Property { get; set; }
public string OldValue { get; set; }
... | 20.653846 | 51 | 0.614525 | [
"MIT"
] | AliEsenli/Bugtracker | Bugtracker/Domain/Audit.cs | 539 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ValueReadOnlyCollectionExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool Any<TEnumerable, TEnumerator, TSo... | 49.612903 | 141 | 0.723667 | [
"MIT"
] | Ashrafnet/NetFabric.Hyperlinq | NetFabric.Hyperlinq.SourceGenerator.UnitTests/TestData/Source/Any.ValueReadOnlyCollection.cs | 1,538 | C# |
// WARNING
//
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace $safeprojectname$
{
[Register ... | 22.384615 | 84 | 0.654639 | [
"MIT"
] | sunthx/mvvmlight | Templates/CSharp/ProjectTemplates/VS2012/Mvvm.iPhone/MainViewController.designer.cs | 1,746 | C# |
using Mirror;
namespace SS3D.Engine.Tiles
{
/**
* Handles making requests on behalf of the player to the TileManager
* TODO: This isn't particularly ideal. Need more discussion over alternatives, particularly
* networked interactions.
* Especially given the power this gives the clie... | 33.725806 | 120 | 0.634146 | [
"MIT"
] | Jdeedler/SS3D | Assets/Engine/Tile/PlayerTileManagerClient.cs | 2,091 | C# |
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Security.MicrosoftAccount;
using Microsoft.AspNet.Security.OAuth;
using MusicStore.Mocks.Common;
using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace MusicStore.Mocks.MicrosoftAccount
{
/// <summary>
/// ... | 49.052632 | 138 | 0.643777 | [
"Apache-2.0"
] | troyhunt/MusicStore | src/MusicStore/Mocks/MicrosoftAccount/MicrosoftAccountNotifications.cs | 2,798 | C# |
using JuanMartin.Kernel.Messaging;
using NUnit.Framework;
namespace JuanMartin.Kernel.Test.Adapters
{
[TestFixture]
public class AdapterMySqlTests
{
[Test]
public static void MessageRequestReplyTest()
{
AdapterMySqlMock adapter = new AdapterMySqlMock();
... | 31.222222 | 106 | 0.633452 | [
"MIT"
] | jmbotero/JuanMartin.Kernel.Test | JuanMartin.Kernel.Test/Adapters/AdapterMySqlTests.cs | 845 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using DNTFrameworkCore.Validation;
using DNTFrameworkCore.Validation.Interception;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Shouldly;
namespace DN... | 38.22093 | 118 | 0.621083 | [
"Apache-2.0"
] | hueifeng/DNTFrameworkCore | test/DNTFrameworkCore.Tests/Validation/MethodInvocationValidatorTests.cs | 6,574 | C# |
using LoggerBot.Storage.State;
using LoggerBot.Utilities.Interfaces;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Core.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using LoggerBot.Utilities;
namespace Log... | 27.939394 | 151 | 0.669197 | [
"MIT"
] | jotrick/logger_bot_dotnet | LoggerBot/LoggerBot/Actions/HelloAction.cs | 924 | C# |
using ExternalProject.Net3_1.UnitTestMocks.Sample.NamespaceTests;
using Xunit;
namespace ExternalProject.Net3_1.UnitTestMocks.xUnit.Sample.NamespaceTests
{
[SlowFox.InjectMocks(typeof(ReferenceDependencyViaFullType))]
public partial class ReferenceDependencyViaFullTypeTests
{
[Fact]
public ... | 27.62069 | 74 | 0.625468 | [
"Apache-2.0"
] | Bungalow64/SlowFox | tests/ExternalProject.Net3_1.UnitTestMocks.xUnit.Sample.Tests/NamespaceTests/ReferenceDependencyViaFullTypeTests.cs | 801 | C# |
namespace ChoETL
{
#region NameSpaces
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
#endregion
/// <summary>Collection implemented with the properties of a binary heap.</summary>
public class ChoBinaryHeap : ICollec... | 41.170561 | 129 | 0.554168 | [
"MIT"
] | Cinchoo/ChoETL | src/ChoETL/Common/ChoBinaryHeap.cs | 17,621 | C# |
namespace CovidSafe.Entities.Validation
{
/// <summary>
/// <see cref="RequestValidationResult"/> issue type enumeration
/// </summary>
public enum RequestValidationIssue
{
InputEmpty,
InputInvalid,
InputNull
}
}
| 20.153846 | 68 | 0.622137 | [
"MIT"
] | ContactAssistApp/server | CovidSafe/CovidSafe.Entities/Validation/RequestValidationIssue.cs | 264 | C# |
namespace Omemo.Classes.Keys
{
public class ECPrivKeyModel: ECKeyModel
{
//--------------------------------------------------------Attributes:-----------------------------------------------------------------\\
#region --Attributes--
#endregion
//-------------------------------... | 30.96 | 144 | 0.312661 | [
"MPL-2.0"
] | LibreHacker/UWPX-Client | Omemo/Classes/Keys/ECPrivKeyModel.cs | 1,550 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using EA;
using System.Windows.Forms;
namespace EA_Neo4j_SafetyAnalysis_AddIn
{
... | 38.90701 | 489 | 0.4301 | [
"Apache-2.0"
] | FairPlayer4/BachelorThesis | EA Extension and Prototype/Project1/SocketConnection.cs | 27,198 | C# |
using ContinuationToken.Formatting;
using ContinuationToken.Reflection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace ContinuationToken.Providers
{
internal class TokenBuilder<T> : ITokenBuilder<T>, ITokenOptions<T>
where T : class
{
... | 36.141176 | 130 | 0.633464 | [
"MIT"
] | mpetito/continuation-token | src/ContinuationToken/Providers/TokenBuilder.cs | 3,074 | C# |
// -----------------------------------------------------------------------
// <copyright file="IRawEndpoint.cs" company="PlayFab Inc">
// Copyright 2015 PlayFab Inc.
// Copyright 2020 G-Research Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... | 39.970588 | 137 | 0.631347 | [
"Apache-2.0"
] | BnMcG/consuldotnet | Consul/Interfaces/IRawEndpoint.cs | 1,359 | C# |
//-----------------------------------------------------------------------
// <copyright file="AsyncContext.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//-... | 47.072797 | 445 | 0.617207 | [
"Apache-2.0"
] | Bogdan-Rotund/akka.net | src/core/Akka.Tests.Shared.Internals/AsyncContext/AsyncContext.cs | 12,288 | C# |
using Microsoft.Maui.Controls.Internals;
using Microsoft.Maui.Controls.Xaml;
using Microsoft.Maui.Controls;
namespace Maui.Controls.Sample.Pages.SwipeViewGalleries
{
[Preserve(AllMembers = true)]
[XamlCompilation(XamlCompilationOptions.Skip)]
public partial class SwipeListViewGallery : ContentPage
{
public Swip... | 35.24 | 136 | 0.763905 | [
"MIT"
] | Mu-L/maui | src/Controls/samples/Controls.Sample/Pages/Controls/SwipeViewGalleries/SwipeListViewGallery.xaml.cs | 883 | C# |
using Hevadea.Entities.Components;
using Hevadea.Framework;
using Hevadea.Framework.Graphic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Hevadea.Entities
{
public class Flower : Entity
{
public int Variant { get; set; } = 0;
private static Sprite[] _sprites... | 28.264706 | 110 | 0.579605 | [
"MIT"
] | maker-dev/hevadea | Game/Entities/Flower.cs | 963 | C# |
using System;
using System.IO;
using System.Linq;
using NFluent;
using NLog;
using NLog.Config;
using NLog.Targets;
using NUnit.Framework;
namespace evtx.Test
{
public class TestMain
{
[Test]
public void vss14Sec()
{
var config = new LoggingConfiguration();
var ... | 30.691614 | 195 | 0.471781 | [
"MIT"
] | denmilu/evtx.parser | evtx.Test/TestMain.cs | 34,039 | C# |
using System.Collections.Generic;
#nullable disable
namespace Project1.DataAccess.Entities
{
public partial class Product
{
public Product()
{
Carts = new HashSet<Cart>();
OrderProducts = new HashSet<OrderProduct>();
StoreInventories = new HashSet<StoreInve... | 28.423077 | 81 | 0.619756 | [
"MIT"
] | 2011-nov02-net/ryan-project1 | Project1/Project1.DataAccess/Entities/Product.cs | 741 | C# |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Ridics.Authentication.Core.Models;
using Ridics.Authentication.Core.Models.Enum;
namespace Ridics.Authentication.Core.MessageSenders
{
public abstract class SmsSenderBase : IMessageSender
{
public Task SendMessa... | 32.74359 | 132 | 0.689115 | [
"BSD-3-Clause"
] | RIDICS/Authentication | Solution/Ridics.Authentication.Core/MessageSenders/SmsSender.cs | 1,279 | C# |
using System;
using System.Threading.Tasks;
namespace AteraAPI.V3.Interfaces
{
/// <summary>
/// Common functionality for a read-create endpoint.
/// </summary>
/// <typeparam name="TInterface"></typeparam>
public interface IReadCreateApiEndpoint<TInterface> : IReadOnlyApiEndpoint<TInterface>
where TInterface ... | 31.895833 | 126 | 0.679948 | [
"MIT"
] | barkerest/atera_api_v3 | AteraAPI.V3/Interfaces/IReadCreateApiEndpoint.cs | 1,533 | C# |
#pragma warning disable CA1303 // 请不要将文本作为本地化参数传递
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using dotnetCampus.Cli.Core;
namespace dotnetCampus.Cli.Parsers
{
internal abstract class RuntimeCommandLineOptionParser<T> : ICommandLineOptionParser<T>, IRawCommandLine... | 43.046875 | 123 | 0.646824 | [
"MIT"
] | dotnet-campus/dotnetCampus.CommandLine | src/dotnetCampus.CommandLine/Parsers/RuntimeCommandLineOptionParser.cs | 3,137 | C# |
using Vintagestory.API.Client;
namespace Toggly.Handlers
{
class MouseToggleHandler
{
private bool _isMouseActive;
private bool _isMouseToggled;
private readonly ICoreClientAPI _clientApi;
private readonly TogglyConfig _config;
public MouseToggleHandler(ICoreClientAPI ... | 27.957143 | 96 | 0.572816 | [
"MIT"
] | p3t3rix/VsToggly | src/Handlers/MouseToggleHandler.cs | 1,959 | C# |
using System.Drawing;
using Emgu.CV;
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
namespace GameBot.Core.Quantizers
{
public class MorphologyQuantizer : Quantizer
{
private readonly Mat _kernel;
public MorphologyQuantizer(IConfig config) : base(config)
{
_kernel = CvInvo... | 25.592593 | 128 | 0.629522 | [
"MIT"
] | winkula/gamebot | GameBot.Core/Quantizers/MorphologyQuantizer.cs | 693 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Co... | 45.195652 | 479 | 0.536255 | [
"Apache-2.0"
] | brianorwhatever/jag-lcrb-carla-public | cllc-interfaces/Dynamics-Autorest/AccountsExtensions.cs | 16,632 | C# |
#region License
// Copyright (c) 2019 smart-me AG https://www.smart-me.com/
//
// 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 right... | 30.512821 | 81 | 0.617647 | [
"MIT"
] | eCarUp/smartme-api-client-library-dotnet | Src/SmartMeApiClient/Enumerations/MeterSubType.cs | 2,382 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.SQLite;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using log4net;
using Languages.Interfaces;
using StockExchangeGame.Database.Extensions;
using StockExchangeGame.Database.Models;
na... | 38.706667 | 118 | 0.569239 | [
"MIT"
] | SeppPenner/StockExchangeGame | src/StockExchangeGame/Database/Generic/NamesController.cs | 11,614 | 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.Collections.Generic;
using System.Management.Automation.Language;
namespace Microsoft.PowerShell.EditorServices
{
/// <summary>
/// The vis... | 35.914894 | 101 | 0.626777 | [
"MIT"
] | ant-druha/PowerShellEditorServices | src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs | 1,690 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace CompetitionWebsite.WebApi.Areas.HelpPage.ModelDescriptions
{
internal static class ModelNameHelper
{
// Modify this to provide custom model name mapping.
public static string GetModelName(Type type)
... | 40.388889 | 140 | 0.638927 | [
"MIT"
] | TimPiers/Competition-Website | CompetitionWebsite/CompetitionWebsite.WebApi/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs | 1,454 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace WpfUtilV1.Mvvm
{
[DataContract]
public class BindableBase : INotifyPropertyChang... | 31.758427 | 108 | 0.512117 | [
"MIT"
] | twinbird827/WpfUtilV1 | Mvvm/BindableBase.cs | 7,029 | C# |
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI... | 34.794118 | 114 | 0.589603 | [
"MIT"
] | Mimetis/UWPCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Controls/RangeSelector/RangeChangedEventArgs.cs | 2,372 | C# |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root... | 26.324324 | 79 | 0.450719 | [
"BSD-3-Clause"
] | 0xCM/z0 | src/logix/src/core/models/FormulaExpr.cs | 974 | C# |
using System.Collections.Generic;
using FluentAssertions;
using Wellcome.Dds.AssetDomainRepositories.Mets.Model;
using Wellcome.Dds.IIIFBuilding;
using Xunit;
namespace Wellcome.Dds.AssetDomainRepositories.Tests.Mets
{
public class MetsMetadataTests
{
[Theory]
[InlineData("22mn 49s", 1369)]
... | 27.85 | 70 | 0.682226 | [
"MIT"
] | wellcomecollection/iiif-builder | src/Wellcome.Dds/Wellcome.Dds.AssetDomainRepositories.Tests/Mets/MetsMetadataTests.cs | 557 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
namespace MidnightLizard.Web.Identity.Models.ManageViewModels
{
public class ExternalLoginsViewModel
{
public IList<UserLogin... | 25.47619 | 68 | 0.736449 | [
"MIT"
] | Midnight-Lizard/Identity | app/Models/ManageViewModels/ExternalLoginsViewModel.cs | 537 | C# |
using ReactiveUI.Winforms.Samples.Core.Routing.ViewModels;
using System.Windows.Forms;
namespace ReactiveUI.Winforms.Samples.Core.Routing.Views
{
public partial class HomeView : UserControl, IViewFor<HomeViewModel>
{
public HomeView()
{
InitializeComponent();
this.When... | 25.576923 | 90 | 0.578947 | [
"MIT"
] | lxman/ReactiveUI.Winforms.Samples | ReactiveUI.Winforms.Samples.Core.Routing/Views/HomeView.cs | 667 | C# |
using System;
using System.Runtime.Serialization;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Lemonade.entity
{
/// <summary>
/// Used for any entity that will not attack the player; Quest givers, ... | 19.857143 | 93 | 0.592806 | [
"MIT"
] | BlueTRaven/Lemonade | entity/Npc.cs | 697 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace WebApiFileUpload.API
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource... | 24.5 | 99 | 0.591837 | [
"MIT"
] | chsakell/webapi-fileupload | WebApiFileUpload.API/App_Start/RouteConfig.cs | 590 | 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.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Routing;
namespace VersioningWebSite
{
public class VersionPutAttribute : VersionR... | 26.774194 | 111 | 0.627711 | [
"Apache-2.0"
] | Elfocrash/Mvc | test/WebSites/VersioningWebSite/VersionPutAttribute.cs | 830 | 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;
using RegulatedNoise.Enums_and_Utility_Classes;
public partial class FilterTest : Form
{
private Bit... | 27.264286 | 119 | 0.648153 | [
"MIT"
] | zericco/Elite-Insight | sources/RegulatedNoise/Ocr/Calibration/FilterTest.cs | 3,819 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Base class for things that contain entities and other groups of entities
//Notes
// * Searches its immediate children to fill a dict for entities and a dict
// for other entity containers
// * The base class doesn't automatically do... | 31.606452 | 120 | 0.46438 | [
"MIT"
] | kevinkraft/RTS_4 | Assets/Containers/EntityContainer.cs | 4,901 | 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... | 32.660377 | 111 | 0.723859 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.DirectConnect/Model/Internal/MarshallTransformations/RouteFilterPrefixMarshaller.cs | 1,731 | C# |
namespace PPWCode.Kit.Tasks.Server.NTServiceHost
{
partial class ProjectInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being... | 37.152542 | 108 | 0.586223 | [
"Apache-2.0"
] | jandockx/ppwcode | dotnet/Kit/Tasks.NTServiceHost/I/2.n/2.0.0/src/Server.NTServiceHost/ProjectInstaller.Designer.cs | 2,194 | C# |
// Copyright (c) Binshop and Contributors. All rights reserved.
// Licensed under the MIT License
namespace Binshop.DTOs.ApplePay
{
public class MerchantSessionResponose
{
public long EpochTimestamp { get; set; }
public long ExpiresAt { get; set; }
public string MerchantSessionIdentif... | 23.56 | 63 | 0.643463 | [
"MIT"
] | Binshop/apple-pay-demo | src/ApplicationCore/DTOs/ApplePay/MerchantSessionResponose.cs | 589 | C# |
namespace ErpDataFactory
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class I_BeiJingGoods
{
public int Id { get; set; }
[S... | 24.035714 | 55 | 0.637444 | [
"Unlicense"
] | heiazuo/mockOrders | model/I_BeiJingGoods.cs | 673 | C# |
/*
* Author: Imagos Softworks 2015
* www.imagossoftworks.com
*/
using UnityEngine;
using System.Collections;
namespace EventSystem {
/// <summary>
/// Base class for Event Triggers. Extend this class to add
/// a new condition for an event sequence to be performed.
/// </summary>
[AddComponentMenu("Events/Tr... | 26.769231 | 84 | 0.688697 | [
"MIT"
] | PicklesIIDX/EventSystem | eventsystem/Assets/Event System/Triggers/EventTrigger.cs | 1,046 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.176471 | 153 | 0.587816 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/ITeamsTemplateReferenceRequestBuilder.cs | 1,264 | C# |
using SF.Sys.Entities;
namespace SF.Common.UserGroups.Front
{
/// <summary>
/// 成员查询参数
/// </summary>
public class MemberQueryArgument : QueryArgument
{
/// <summary>
/// 组ID
/// </summary>
public long? GroupId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public long? OwnerId { get; set; ... | 16.3 | 49 | 0.595092 | [
"Apache-2.0"
] | etechi/ServiceFramework | Projects/Server/Common/SF.Common.UserGroups/Front/MemberQueryArgument.cs | 346 | 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.222222 | 81 | 0.647638 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Network/V20200301/Outputs/CustomDnsConfigPropertiesFormatResponse.cs | 1,016 | C# |
using FlaUI.Core.AutomationElements.Infrastructure;
using FlaUI.Core.Conditions;
using FlaUI.Core.Definitions;
using OpenRPA.Input;
using OpenRPA.Interfaces;
using OpenRPA.Interfaces.Selector;
using System;
using System.Activities;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Th... | 41.010417 | 168 | 0.508446 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | IBM/openrpa | OpenRPA.IE/Plugin.cs | 15,750 | C# |
using System;
namespace CommunityCenter.Models.RBAC
{
public class fn_rbac_CH_ClientSummaryHistory
{
public DateTime Date { get; set; }
public string CollectionID { get; set; }
public string SiteCode { get; set; }
public int ClientsTotal { get; set; }
public int Cli... | 23.586957 | 70 | 0.636866 | [
"MIT"
] | Eph-It/MEM.CommunityCenter | CommunityCenter/CommunityCenter.Models/RBAC/fn_rbac_CH_ClientSummaryHistory.cs | 1,087 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Windows;
using System.Windows.Controls;
namespace AdaptiveCards.Rendering.Wpf
{
public static class AdaptiveFactSetRenderer
{
public static FrameworkElement Render(AdaptiveFactSet factSet, Adapt... | 37.785714 | 118 | 0.510712 | [
"MIT"
] | AdaptiveCards-Desktop/AdaptiveCards | source/dotnet/Library/AdaptiveCards.Rendering.Wpf/AdaptiveFactSetRenderer.cs | 3,174 | 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... | 41.361538 | 153 | 0.608704 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DBforMariaDB/Latest/FirewallRule.cs | 5,377 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.34014
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace B... | 29.642405 | 182 | 0.481905 | [
"MIT"
] | WEdotStudio/Love_Search | Bing_Search/Resources/AppResources.Designer.cs | 10,573 | C# |
namespace RegistroN
{
partial class FormLogin
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
... | 48.565217 | 166 | 0.605576 | [
"MIT"
] | Caballer032597881/RegistroNotas | RegistroN/RegistroN/FormLogin.Designer.cs | 7,830 | C# |
using System;
using Publisher = NetOffice.PublisherApi;
namespace NetOffice.PublisherApi.Tools
{
/// <summary>
/// Custom task pane UserControl instance may implement this interface to be notified about the lifetime of the custom task pane.
/// </summary>
public interface ITaskPane : OfficeApi.Tools.I... | 39.793103 | 145 | 0.67331 | [
"MIT"
] | NetOfficeFw/NetOffice | Source/Publisher/Tools/ITaskPane.cs | 1,156 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Debug_the_Code_Holidays_Between_Two_Dates
{
class Program
{
static void Main(string[] args)
{
DateTime startDate = DateTime.Pars... | 30.678571 | 115 | 0.627474 | [
"MIT"
] | danielstaikov/Practice-Integer-Numbers | Debug the Code Holidays Between Two Dates/Holidays Between Two Dates.cs | 861 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> The GitHub action code configuration. </summary>
public partial class GitHubActionCodeConfiguration
{
... | 41.757576 | 135 | 0.690131 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/GitHubActionCodeConfiguration.cs | 1,378 | C# |
#if (PARKITECT)
public class CustomOngoingEffectProduct : OngoingEffectProduct
{
public CustomOngoingEffectProduct()
{
}
public override void Initialize()
{
this.gameObject.SetActive(true);
base.Initialize();
}
}
#endif
| 15.529412 | 62 | 0.659091 | [
"MIT"
] | pollend/Parkitect_Mod_Bootstrap | Model/Proxy/Shop/Products/CustomOngoingEffectProduct.cs | 266 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using AoC.Common;
namespace AoC.Y2021.Days;
public class Day22 : DayBase
{
private readonly List<CubeInstruction> _instructions = new();
private readonly List<CubeInstruction> _overlaps = new();
public Day22(PuzzleInput input) : base(input... | 32.444444 | 116 | 0.571918 | [
"Unlicense"
] | EwoutSchrotenboer/AdventOfCode2021 | src/AoC.Y2021/Days/Day22.cs | 4,380 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.IO;
using System.Globalization;
using OfficeOpenXml;
using OfficeOpenXml.Style;
using Db2File.Code.Common;
namespace Db2File.Code.File
{
class ExcelFileWriter : IFileWriter
{
private s... | 35.88785 | 171 | 0.557552 | [
"MIT"
] | AlexanderPro/Db2File | Db2File/Code/File/ExcelFileWriter.cs | 3,842 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
using Microsoft.ApplicationInsights.Kubernetes.Utilities;
using Microsoft.Extensions.Logging;
using static Micro... | 39.231527 | 159 | 0.612255 | [
"MIT"
] | AzureMentor/ApplicationInsights-Kubernetes | src/ApplicationInsights.Kubernetes/TelemetryInitializers/KubernetesTelemetryInitializer.cs | 7,966 | C# |
using Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Cat
{
public class DataframeanalyticsPage : ExampleBase
{
[U(Skip = "Example not implemented")]
[Description("cat/dataframeanalytics.asciidoc:124")]
public void Line124()
{
// tag::7c6f205c98da14c68d3d936639462d... | 24.85 | 67 | 0.746479 | [
"Apache-2.0"
] | adamralph/elasticsearch-net | tests/Examples/Cat/DataframeanalyticsPage.cs | 497 | C# |
// Copyright 2013-2015 Serilog Contributors
//
// 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 o... | 29 | 75 | 0.699797 | [
"Apache-2.0"
] | johncrn/serilog | src/Serilog/Sinks/IOFile/NullSink.cs | 988 | C# |
using FluentSpotify.API;
using FluentSpotify.CLI;
using FluentSpotify.Model;
using FluentSpotify.Playback;
using FluentSpotify.UI;
using FluentSpotify.UI.Controller;
using FluentSpotify.Util;
using FluentSpotify.Web;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
... | 35.311392 | 233 | 0.592558 | [
"Apache-2.0"
] | Twometer/FluentSpotify | FluentSpotify/MainPage.xaml.cs | 13,950 | C# |
using System.Collections.Generic;
[System.Serializable]
public class GameData
{
public int currentLvl;
public List<float> timeList = new List<float>();
public GameData(GameControl gameData)
{
currentLvl = gameData.currentLvl;
timeList = gameData.timeList;
}
}
| 19.933333 | 52 | 0.685619 | [
"MIT"
] | Nordicebear-Games/draw-car-and-race | Draw Car and Race/Assets/Scripts/Save System/GameData.cs | 301 | C# |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | 23.434783 | 80 | 0.410019 | [
"MIT"
] | boogie-org/symbooglix | src/Symbooglix/Util/IYAMLWriter.cs | 539 | C# |
namespace CineMagic.Services.GetDataFromTMDB.DTOs
{
using Newtonsoft.Json;
public class BackdropDTO
{
[JsonProperty("file_path")]
public string FilePath { get; set; }
[JsonProperty("iso_639_1")]
public string ISO { get; set; }
}
}
| 20.142857 | 50 | 0.620567 | [
"MIT"
] | sevginmustafa/CineMagic | CineMagic/Services/CineMagic.Services/GetDataFromTMDB/DTOs/BackdropDTO.cs | 284 | C# |
using ICSharpCode.CodeConverter;
using ICSharpCode.CodeConverter.Shared;
using ICSharpCode.CodeConverter.VB;
using Microsoft.CodeAnalysis;
using Xunit;
namespace CodeConverter.Tests.VB
{
public class StatementTests : ConverterTestBase
{
[Fact]
public void EmptyStatement()
{
... | 22.957926 | 97 | 0.509611 | [
"MIT"
] | CoderNate/CodeConverter | Tests/VB/StatementTests.cs | 23,465 | C# |
// Tree.cs
// ------------------------------------------------------------------
//
// Copyright (c) 2009 Dino Chiesa and Microsoft Corporation.
// All rights reserved.
//
// This code module is part of DotNetZip, a zipfile class library.
//
// ------------------------------------------------------------------
//
//... | 41.936345 | 118 | 0.432062 | [
"MIT"
] | Leayal/BnS-Tools | BnS-Dat/Zlib/Tree.cs | 20,425 | C# |
using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Plugin.CurrentActivity;
namespace FoodHub.Droid
{
[Activity(Label = "FoodHub", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, Configuration... | 49.636364 | 202 | 0.733822 | [
"Apache-2.0"
] | HectorTran97/FoodHub-App | FoodHub/FoodHub.Android/MainActivity.cs | 1,640 | C# |
using Microsoft.Bot.Solutions.Resources;
namespace Microsoft.Bot.Solutions.Util
{
public class CommonUtil
{
public const double ScoreThreshold = 0.5f;
public const int MaxReadSize = 3;
public const int MaxDisplaySize = 6;
public const string DialogTurnResultCancelAllDialogs ... | 21.875 | 82 | 0.697143 | [
"MIT"
] | AllcryptoquickDevelopment/AI | solutions/Virtual-Assistant/src/csharp/microsoft.bot.solutions/Util/CommonUtil.cs | 352 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BrokerageApi.V1.Gateways;
using BrokerageApi.V1.Infrastructure;
using FluentAssertions;
using FluentAssertions.Extensions;
using NUnit.Framework;
namespace BrokerageApi.Tests.V1.Gateways
{
[TestFixture]
public class ElementType... | 26.964912 | 76 | 0.570592 | [
"MIT"
] | LBHackney-IT/lbh-asc-brokerage-api | BrokerageApi.Tests/V1/Gateways/ElementTypeGatewayTests.cs | 1,537 | 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.Diagnostics;
using System.Xml.XPath;
namespace MS.Internal.Xml.XPath
{
internal class ForwardPosit... | 25.613636 | 92 | 0.627329 | [
"MIT"
] | 2E0PGS/corefx | src/System.Private.Xml/src/System/Xml/XPath/Internal/ForwardPositionQuery.cs | 1,127 | C# |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Threading.Tasks;
using FluentAssertions;
using Microso... | 41.483871 | 129 | 0.626231 | [
"MIT"
] | Aroo2016/try | MLS.Agent.Tests/CommandLine/TelemetryTests.cs | 3,860 | C# |
using System;
// Declare an integer variable and assign it with the value 254 in hexadecimal format (0x##).
// Use Windows Calculator to find its hexadecimal representation
// Print the variable and ensure that the result is 254.
class Program
{
static void Main()
{
int hexVar = 0xFE;
//binary... | 27.235294 | 93 | 0.654428 | [
"MIT"
] | ReniGetskova/CSharp-Part-1 | PrimitiveDataTypesAndVariables/03VariableInHexadecimalFormat/HexadecimalNumber.cs | 465 | 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... | 36 | 184 | 0.756944 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/KinesisAnalyticsV2/Outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters.cs | 1,008 | C# |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class WaveManager : MonoBehaviour {
public float initialHealth;
public float waveTimer;
public float spawnInterval;
public float spawnIntervalDecreaseBy;
public float enemyHealthIncreaseBy;
public GameObject circleEnemy;... | 31.227848 | 108 | 0.651804 | [
"MIT"
] | Pachwenko/tower-defense-unity | Assets/Scripts/WaveManager.cs | 2,469 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Pathfinding;
#if UNITY_5_5_OR_NEWER
using UnityEngine.Profiling;
#endif
#if NETFX_CORE
using Thread = Pathfinding.WindowsStore.Thread;
#else
using Thread = System.Threading.Thread;
#endif
[ExecuteInEditMode]
[AddComponentMenu("Pathfi... | 37.201493 | 200 | 0.707548 | [
"MIT"
] | I-AM-INSANE/WizardSurvival | Assets/UploadedMaterials/AstarPathfindingProject/Core/AstarPath.cs | 79,760 | C# |
using System.Collections.Generic;
namespace Alpinely.TownCrier
{
/// <summary>
/// Factory class for creating "mail-merged" MailMessage objects
/// </summary>
public class MergedEmailFactory
{
protected MailMessageWrapper Message;
public MergedEmailFactory(ITemplateParser templateP... | 26.217391 | 90 | 0.651741 | [
"MIT"
] | flightlog/flsserver | src/Alpinely.TownCrier/MergedEmailFactory.cs | 603 | C# |
using Niantic.ARDK.AR;
using Niantic.ARDK.Utilities.Logging;
using UnityEngine;
using UnityEngine.Rendering;
using Object = UnityEngine.Object;
namespace Niantic.ARDK.Rendering
{
internal sealed class _ARKitFrameRenderer:
ARFrameRenderer
{
// Rendering resources
private CommandBuffer _commandBuffer... | 27.540741 | 93 | 0.681011 | [
"MIT"
] | mactrix-markjohn/FurnishAR | FurnishAR/Assets/ARDK/Rendering/FrameRenderer/_ARKitFrameRenderer.cs | 3,720 | C# |
using FluentEmail.Core.Interfaces;
using FluentEmail.Mailgun;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Collections.Generic;
using System.Net.Mail;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
public static class FluentEmailMailgunBuilderExten... | 32.25 | 140 | 0.765891 | [
"MIT"
] | Noctis-/FluentEmail | src/Senders/FluentEmail.Mailgun/FluentEmailMailgunBuilderExtensions.cs | 647 | 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 ... | 22.526316 | 63 | 0.688474 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-ecs/Ecs/Model/V20140526/CreateDiskReplicaPairResponse.cs | 1,284 | C# |
using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
namespace Com.Microsoft.Identity.Common.Internal.Telemetry.Events {
// Metadata.xml XPath class reference: path="/api/package[@name='com.microsoft.identity.common.internal.telemetry.events']/class[@name='HttpEndEvent']"
[glob... | 49.397727 | 237 | 0.777088 | [
"MIT"
] | moljac/MSAL-Bindings | externals/code-generated-MCW/com.microsoft.identity-common/3.0.9/plain/generated/src/Com.Microsoft.Identity.Common.Internal.Telemetry.Events.HttpEndEvent.cs | 4,347 | C# |
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using HelixToolkit.Wpf.SharpDX.Model.Scene2D;
using SharpDX;
namespace HelixToolkit.Wpf.SharpDX.Elements2D
{
public abstract class Clickable2D : Border2D
{
public static long DoubleClickThreshold = 300;
#region Depend... | 31.77551 | 174 | 0.611111 | [
"MIT"
] | NaBian/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX/Model/Elements2D/Abstract/Clickable2D.cs | 3,116 | C# |
/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using Klocman.Extensions;
using Klocman.IO;
using Klocman.Native;
namespace UninstallTools.Factory.InfoAdders
{
public class MsiInfoAdder : IMissingInfoAdder
{
public vo... | 45.082569 | 149 | 0.619658 | [
"Apache-2.0"
] | 102464/Bulk-Crap-Uninstaller | source/UninstallTools/Factory/InfoAdders/MsiInfoAdder.cs | 4,914 | C# |
using Libmirobot.GCode.InstructionParameters;
using Libmirobot.GCode.Instructions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace libmirobotTests.GCodeInstructions
{
[TestClass]
public class CartesianModeAbsoluteLinMotionInstructionShould
{
[TestMethod]
public void ProduceCo... | 32.1 | 90 | 0.630322 | [
"MIT"
] | da84/libmirobot | Libmirobot/libmirobotTests/GCodeInstructions/CartesianModeAbsoluteLinMotionInstructionShould.cs | 965 | C# |
namespace Shapes
{
using System;
public abstract class Shape
{
private double width;
private double height;
public Shape(double width, double height)
{
this.Width = width;
this.Height = height;
}
public double Width
{
... | 22.909091 | 95 | 0.431548 | [
"MIT"
] | Camyul/Modul_1 | Object-Oriented-Programming/05. OOP-Principles-Part-2/01. Shapes/Shape.cs | 1,010 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3615
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated... | 45.390625 | 207 | 0.606196 | [
"MIT"
] | pololu/pololu-usb-sdk | SimpleMotorController/SmcExample2/Properties/Resources.Designer.cs | 2,907 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Cosmonaut.Exceptions;
using Cosmonaut.Internal;
namespace Cosmonaut.Extensions
{
internal static class CosmosSqlQueryExtensions
{
private static readonly Regex SingleIdentifierMatchRegex = ne... | 42.367347 | 166 | 0.63359 | [
"MIT"
] | yncardoso/Cosmonaut | src/Cosmonaut/Extensions/CosmosSqlQueryExtensions.cs | 6,230 | C# |
// <developer>niklas@protocol7.com</developer>
// <completed>100</completed>
using System;
namespace SharpVectors.Dom.Css
{
/// <summary>
/// Internal class that stores a style in a declaration block
/// </summary>
internal sealed class CssStyleBlock
{
#region Constructors
internal CssStyleBlock(string name... | 21.782051 | 92 | 0.640377 | [
"MIT"
] | dotnet-campus/dotnetCampus.Svg2XamlTool | src/dotnetCampus.Svg2XamlTool/SharpVectors/SharpVectorCss/Css/CssStyleBlock.cs | 1,699 | C# |
using Flux.NewRelic.DeploymentReporter.Logic.EventStrategies;
using System.Threading.Tasks;
namespace Flux.NewRelic.DeploymentReporter.Logic
{
public interface IFluxEventFactory
{
IEventStrategy Get(Models.Flux.Kind kind);
}
} | 25.7 | 63 | 0.743191 | [
"MIT"
] | Nordes/Flux.NewRelic | Flux.NewRelic/Logic/IFluxEventFactory.cs | 259 | C# |
using System;
using DesignPatterns.Creational.AbstractFactory;
namespace AbstractFactory
{
public class ConcreteFactory1 : AbstractFactory
{
private ConcreteProductA1 ConcreteProductA1
{
get => default;
set { }
}
private ConcreteProductB1 ConcreteProduct... | 25.2 | 83 | 0.556437 | [
"MIT"
] | daviur/DesignPatterns | AbstractFactory/ConcreteFactory1.cs | 1,134 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
namespace GlobalMiddlewarePipeline {
public class Startup {
public Startup(IC... | 35.976744 | 116 | 0.649644 | [
"MIT"
] | NMillard/CSharpDesignPatterns | src/ExceptionHandling/GlobalMiddlewarePipeline/Startup.cs | 1,547 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace nswag_liquid_slim.ViewModels
{
public class GridParameters
{
public string Filter { get; set; } = "";
public string? SortBy { get; set; }
public bool IncludeCount { get; set; } = false;
public SortDi... | 22.444444 | 77 | 0.564356 | [
"MIT"
] | wivuu/nswag-liquid-slim | ViewModels/Grids.cs | 1,010 | C# |
namespace DotNetInterceptTester.My_System.Net.WebClient
{
public class DownloadFile_System_Net_WebClient_System_String_System_String
{
public static bool _DownloadFile_System_Net_WebClient_System_String_System_String( )
{
//Parameters
System.String address = null;
System.String fileName = null;
... | 19.666667 | 85 | 0.692655 | [
"MIT"
] | SecurityInnovation/Holodeck | Test/Automation/DotNetInterceptTester/DotNetInterceptTester/System.Net.WebClient.DownloadFile(String, String).cs | 885 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.