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 |
|---|---|---|---|---|---|---|---|---|
// *** 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.904255 | 192 | 0.586308 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Resources/GetDeploymentAtScope.cs | 2,717 | C# |
using System;
using System.Windows.Input;
namespace pdfjoiner.DesktopClient
{
public class RelayCommand : ICommand
{
private readonly Action<object> _Action;
/// <summary>
/// Event that is fired when the <see cref="CanExecute(object)"/> value has changed.
/// </summary>
... | 22.354839 | 92 | 0.568543 | [
"MIT"
] | harrystb/pdfjoiner | pdfjoiner.DesktopClient/ViewModelHelpers/RelayCommand.cs | 695 | C# |
using System;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Channels;
using Renci.SshNet.Common;
using Renci.SshNet.Sftp;
using Renci.SshNet.Abstractions;
using Renci.SshNet.Sftp.Responses;
namespace Renci.SshNet.Tests.Classes.Sftp
{
[TestC... | 47.674847 | 144 | 0.474456 | [
"MIT"
] | 0xced/SSH.NET | src/Renci.SshNet.Tests/Classes/Sftp/SftpSessionTest_Connected_RequestRead.cs | 7,773 | C# |
using BcGov.Fams3.Redis;
using BcGov.Fams3.Redis.Model;
using BcGov.Fams3.SearchApi.Contracts.Person;
using BcGov.Fams3.SearchApi.Contracts.PersonSearch;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using SearchApi.Web.Configuration;
using SearchApi.Web.Controllers;
usi... | 42.612179 | 397 | 0.586085 | [
"Apache-2.0"
] | KyleKayfish/fams3 | app/SearchApi/SearchApi.Web/DeepSearch/IDeepSearchService.cs | 13,295 | 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("Mo... | 37.972973 | 84 | 0.744484 | [
"MIT"
] | AK107/More.NLog | More.NLog/Properties/AssemblyInfo.cs | 1,408 | C# |
using Castle.Core.Logging;
using GroupService.AzureFunction;
using GroupService.Handlers;
using HelpMyStreet.Contracts.GroupService.Request;
using HelpMyStreet.Contracts.GroupService.Response;
using HelpMyStreet.Contracts.RequestService.Response;
using HelpMyStreet.Contracts.Shared;
using HelpMyStreet.Utils.Utils;
usi... | 38.758242 | 181 | 0.694641 | [
"MIT"
] | factor-50-devops-bot/group-service | GroupService/GroupService.UnitTests/AzureFunctions/GetGroupByKeyTests.cs | 3,529 | C# |
#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// Subtext WebLog
//
// Subtext is an open source weblog system that is a fork of the .TEXT
// weblog system.
//
// For updated news and information please visit http://subtextproject.com/
// Su... | 34.981481 | 100 | 0.525675 | [
"MIT"
] | Haacked/Subtext | src/Subtext.Web/UI/Controls/ArchiveDay.cs | 1,889 | 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... | 37.475806 | 163 | 0.624059 | [
"Apache-2.0"
] | TallyUpTeam/aws-sdk-net | sdk/src/Services/Lambda/Generated/Model/Internal/MarshallTransformations/UpdateEventSourceMappingRequestMarshaller.cs | 4,647 | C# |
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms;
using System.Windows.Forms.Design;
using CslaGenerator.Metadata;
using CslaGenerator.Util;
namespace CslaGenerator.Design
{
public class UnitOfWorkTypeEditor : UITypeEditor
{
private IWindow... | 48.103093 | 136 | 0.555294 | [
"MIT"
] | CslaGenFork/CslaGenFork | branches/V4-3-RC/Solutions/CslaGenFork/Design/UnitOfWorkTypeEditor.cs | 4,668 | C# |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using JenkinsTryOut.Authorization.Roles;
using JenkinsTryOut.Authorization.Users;
using JenkinsTryOut.MultiTenancy;
using Microsoft.Extensions.Logging;
using Abp.Domain.Uow;
nam... | 32.115385 | 89 | 0.74491 | [
"MIT"
] | kgamab/jenkins-demo | aspnet-core/src/JenkinsTryOut.Core/Identity/SecurityStampValidator.cs | 837 | C# |
using EventKit;
using Foundation;
using System;
using UIKit;
namespace Calendars
{
public partial class EventsController : UITableViewController
{
private EKEvent[] events;
public EventsController(IntPtr handle) : base(handle) { }
public override void ViewDidLoad()
{
... | 32.302326 | 106 | 0.62347 | [
"MIT"
] | Art-Lav/ios-samples | Calendars/Calendars/EventsController.cs | 1,389 | C# |
using System.Collections.Generic;
namespace Nez.AI.GOAP
{
/// <summary>
/// Agent provides a simple and concise way to use the planner. It is not necessary to use at all since it is just a convenince wrapper
/// around the ActionPlanner making it easier to get plans and store the results.
/// </summary>
public ... | 24.181818 | 136 | 0.642231 | [
"MIT"
] | AdrianN17/ZombieSurvivalMonogame | Nez-master/Nez.Portable/AI/GOAP/Agent.cs | 1,598 | C# |
namespace Cavity.Tests
{
using System;
using Cavity.Types;
using Xunit;
public sealed class PropertyTestBaseFacts
{
[Fact]
public void ctor_PropertyInfo_object()
{
Assert.NotNull(new DerivedPropertyTest(typeof(PropertiedClass1).GetProperty("AutoBoolean")));
... | 26.111111 | 143 | 0.546809 | [
"MIT"
] | cavity-project/unit-testing | src/Class Libraries/Testing.Unit.Facts/Tests/PropertyTestBase.Facts.cs | 942 | 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... | 33.34375 | 144 | 0.656982 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi-bot/pulumi-azure | sdk/dotnet/EventHub/Inputs/EventSubscriptionAdvancedFilterBoolEqualGetArgs.cs | 1,067 | C# |
using System;
using BristolNightlife.Core.Models;
namespace BristolNightlife.Core.Services
{
public class ApiModelCacheService : IApiModelCacheService
{
public bool ContainsDate(DateTime date)
{
return ApiCache.Cache.ContainsKey(date);
}
public ApiModel.Rootobject GetDateModel(DateTime date)
... | 23.166667 | 69 | 0.711031 | [
"Apache-2.0"
] | CBurbidge/BristolNightlife | BristolNightlife.Core/Services/ApiModelCacheService.cs | 834 | C# |
using System;
using System.Linq;
using Repository.Models;
namespace Repository
{
public class RepoLogic
{
private readonly Cinephiliacs_DbContext _dbContext;
public RepoLogic(Cinephiliacs_DbContext dbContext)
{
_dbContext = dbContext;
}
public bool AddUser... | 27.926829 | 137 | 0.59738 | [
"MIT"
] | Kugelsicher/webapidemo | Repository/RepoLogic.cs | 1,147 | C# |
using System;
namespace HtmlConsole.Css
{
public class AutoStyleValue : StyleValue
{
public override Type GetStyleValueType() => GetType();
}
} | 18.333333 | 62 | 0.672727 | [
"MIT"
] | mzabsky/HtmlConsole | HtmlConsole/Css/AutoStyleValue.cs | 167 | C# |
using Com.Danliris.Service.Packing.Inventory.Application.Utilities;
using Com.Danliris.Service.Packing.Inventory.Infrastructure.IdentityProvider;
using Com.Danliris.Service.Packing.Inventory.Infrastructure.Repositories.GarmentShipping.CreditAdvice;
using Microsoft.Extensions.DependencyInjection;
using System;
using Sy... | 60.026087 | 352 | 0.558525 | [
"MIT"
] | AndreaZain/com-danliris-service-packing-inventory | src/Com.Danliris.Service.Packing.Inventory.Application/ToBeRefactored/GarmentShipping/Monitoring/GarmentCreditAdvice/GarmentCreditAdviceMonitoringService.cs | 13,808 | C# |
using System.Diagnostics;
namespace BorderlessGaming.Logic.Extensions
{
internal static class ProcessExtensions
{
private static string FindIndexedProcessName(int pid)
{
var processName = Process.GetProcessById(pid).ProcessName;
var processesByName = Process.GetProcesse... | 35.837838 | 104 | 0.610106 | [
"MIT"
] | aliostad/deep-learning-lang-detection | data/test/csharp/49f521f84e08750105b678bbc2b20557b7a8d4b6ProcessExtensions.cs | 1,328 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 25.104167 | 94 | 0.624896 | [
"Unlicense"
] | alexkulya/WoWDatabaseEditor | WDE.QuestChainEditor/Editor/Views/QuestPickerWindow.xaml.cs | 1,207 | C# |
//
// Copyright (c) 2006-2018 Erik Ylvisaker
//
// 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,... | 41.109589 | 93 | 0.648117 | [
"MIT"
] | eylvisaker/AgateLib | src/AgateLib/Mathematics/Geometry/Algorithms/CollisionDetection/ContactPoint.cs | 3,001 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Xml;
using System.Xml.Linq;
namespace NuGet.Insights
{
public static class XmlUtility
{
pu... | 28.236842 | 111 | 0.560112 | [
"Apache-2.0"
] | NuGet/Insights | src/Logic/Support/XmlUtility.cs | 1,075 | C# |
using System;
namespace TXTCommunication.Fischertechnik.Txt.Response
{
class ResponseStopCamera : ResponseBase
{
public ResponseStopCamera()
{
ResponseId = TxtInterface.ResponseIdStopCameraOnline;
}
public override void FromByteArray(byte[] bytes)
{
... | 29.413793 | 166 | 0.59789 | [
"MIT"
] | Bennik2000/FtApp | FtApp/FtApp/Fischertechnik/Txt/Response/ResponseStopCamera.cs | 855 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using backend.Models;
using Microsoft.Extensions.Logging;
using Nest;
namespace MeasurementApi.Services.Sensors
{
public interface ICurrentSensorValues {
Task<Device> SetSensorData(int deviceId, MetricType met... | 35.418182 | 101 | 0.623973 | [
"MIT"
] | fhelje/CollectSens | src/backend/Services/Sensors/CurrentSensorValues.cs | 3,896 | C# |
//MIT License
//Copyright (c) 2020 Mohammed Iqubal Hussain
//Website : Polyandcode.com
using UnityEngine.UI;
using UnityEditor.AnimatedValues;
using UnityEditor;
using UnityEngine;
namespace PolyAndCode.UI
{
[CustomEditor(typeof(RecyclableScrollRect), true)]
[CanEditMultipleObjects]
/// <summary>
//... | 37.333333 | 168 | 0.653447 | [
"MIT"
] | MdIqubal/Recyclable-Scroll-Rect | Assets/Recyclable Scroll Rect/Main/Editor/RecyclableScrollRectEditor.cs | 4,818 | C# |
// <copyright file="ApiKeyAuthenticationRequest.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, 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... | 33.875 | 82 | 0.712915 | [
"Apache-2.0"
] | stormpath/stormpath-sdk-csharp | src/Stormpath.SDK.Core/Impl/Auth/ApiKeyAuthenticationRequest.cs | 1,357 | C# |
using BTCPayServer.Client.Models;
using BTCPayServer.HostedServices;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Controllers.Greenfield
{
[Controller]
[EnableCors(CorsPolicies.All)]
public class GreenfieldHealthController... | 26.806452 | 71 | 0.65343 | [
"MIT"
] | BTCparadigm/btcpayserver | BTCPayServer/Controllers/GreenField/GreenfieldHealthController.cs | 831 | C# |
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Dex.Uwp.Controls
{
public class PointerAppBarButton : AppBarToggleButton
{
private static readonly CoreCursor arrowCursor = new CoreCursor(CoreCursorType.Arrow, 1);
private static readonly CoreCursor handCu... | 30 | 97 | 0.611111 | [
"MIT"
] | disklosr/Dexr | Dex.Uwp/Controls/PointerAppBarButton.cs | 722 | C# |
using System;
using NUnit.Framework;
using Suckless.Asserts.Tests.Base;
namespace Suckless.Asserts.Tests.ExtensionMethods
{
internal partial class EmptyTest : AssertBaseTest<ArgumentOutOfRangeException>
{
[Test]
public void Empty_WhenStringIsNull_DoesNotThrowException()
{
S... | 31.948718 | 125 | 0.649278 | [
"MIT"
] | Ja-rek/Suckless.Assert | Suckless.Asserts.Tests/ExtensionMethods/EmptyTest.String.cs | 1,246 | C# |
using UnityEngine;
using UnityEngine.UI;
namespace PUNLobby.Room
{
public class RoomSlotPanel : MonoBehaviour
{
public Image roomMaster;
public Image readySign;
public Text playerNameText;
public void Set(bool isMaster, string playerName, bool isReady)
{
ro... | 24.5 | 71 | 0.646939 | [
"MIT"
] | ArcturusZhang/Mahjong | Assets/Scripts/PUNLobby/Room/RoomSlotPanel.cs | 492 | C# |
using System;
using System.Collections.Generic;
using AutoMapper;
using DotNetCore.CAP;
using FreeSql;
using LinCms.Application.Contracts.Blog.Notifications;
using LinCms.Application.Contracts.Blog.Notifications.Dtos;
using LinCms.Application.Contracts.Blog.UserSubscribes;
using LinCms.Application.Contracts.Blog.UserS... | 39.260664 | 228 | 0.582931 | [
"MIT"
] | gufeng0719/lin-cms-dotnetcore | src/LinCms.Web/Controllers/Blog/UserSubscribeController.cs | 8,536 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace DAL
{
public class DALAssembly
{
}
}
| 11.636364 | 33 | 0.695313 | [
"MIT"
] | adnanioricce/DHsys | src/Libraries/DAL/DAL.cs | 130 | C# |
using Kros.Authorization.Api.Domain;
using Kros.Utils;
using Mapster;
using MediatR;
using Microsoft.Extensions.Caching.Memory;
using System.Threading;
using System.Threading.Tasks;
namespace Kros.Authorization.Api.Application.Commands
{
/// <summary>
/// Update user command handler.
/// </summary>
pu... | 29.619048 | 102 | 0.645498 | [
"MIT"
] | Kros-sk/Kros.AspNetCore.BestPractices | src/Services/Kros.Authorization.Api/Application/Commands/UpdateUser/UpdateUserCommandHandler.cs | 1,246 | C# |
using Microsoft.EntityFrameworkCore;
using SharedTrip.Data;
using SharedTrip.Services;
using SharedTrip.Services.Contacts;
using System.Threading.Tasks;
using MyWebServer;
using MyWebServer.Controllers;
using SharedTrip.Controllers;
using MyWebServer.Results.Views;
namespace SharedTrip
{
public class Startup
... | 32.066667 | 83 | 0.602911 | [
"MIT"
] | TsonevD/CSharpWebBasics | SharedTrips/SharedTrip/Startup.cs | 964 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivony.Html.Parser.ContentModels;
namespace Ivony.Html.Parser
{
/// <summary>
/// HTML 内容元素读取枚举器
/// </summary>
public interface IHtmlReader
{
/// <summary>
/// 正在读取分析的 HTML 文本
/// </summary>
string ... | 19.268293 | 110 | 0.639241 | [
"Apache-2.0"
] | ArmyMedalMei/Jumony | Ivony.Html.Parser/IHtmlReader.cs | 1,008 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using asp_assignment.Models.BagStore;
namespace asp_assignment.Migrations
{
[DbContext(typeof(StoreContext))]
[Mi... | 32.109434 | 117 | 0.461629 | [
"MIT"
] | kapiton09/asp.netcoremvc-eccommerce-website | src/asp_assignment/Migrations/20170510015247_NewData.Designer.cs | 8,511 | C# |
using System.Collections.Generic;
namespace Discore.Http
{
/// <summary>
/// An optional set of parameters for modifying a guild voice channel.
/// </summary>
public class GuildVoiceChannelOptions
{
/// <summary>
/// Gets or sets the name of the channel (or null to leave unchanged)... | 33.276119 | 109 | 0.55416 | [
"MIT"
] | Francessco121/Discore | src/Discore/Http/GuildVoiceChannelOptions.cs | 4,461 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
{
using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions;
/// <summary>Collection of Diagnostic Categories</summary>
public partial class DiagnosticCategoryCollection
{
/// <summary>
... | 70.324561 | 661 | 0.683423 | [
"MIT"
] | Arsasana/azure-powershell | src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.json.cs | 7,904 | C# |
#pragma checksum "/workspace/HandsWork/src/App/Views/Produtos/Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "76e44e4d3063dcd82ee75e7927ebacff380af3dd"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Produ... | 70.409357 | 350 | 0.745598 | [
"MIT"
] | RondineleG/HandsWork | src/App/obj/Debug/netcoreapp3.1/Razor/Views/Produtos/Index.cshtml.g.cs | 12,040 | C# |
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Response.WayBill
{
public partial class UpdateWaybillResponseModel : PddResponseModel
{
/// <summary>
/// response
/// </summary>
[JsonProperty("pdd_waybill_update_response")]
public PddWaybillUpdateResponseResponseModel ... | 27.896552 | 91 | 0.569839 | [
"Apache-2.0"
] | niltor/open-pdd-net-sdk | PddOpenSdk/PddOpenSdk/Models/Response/WayBill/UpdateWaybillResponseModel.cs | 823 | C# |
using System;
using UnityEngine;
namespace MultiPacMan.Player.Turbo {
public class LocalTurboController : TurboController {
[SerializeField]
private float turboCapacity = 100.0f;
[SerializeField]
private float currentTurboCapacity = 100.0f;
[SerializeField]
private ... | 30.117647 | 104 | 0.561849 | [
"MIT"
] | carlossdparaujo/MultiPacMan | MultiPacMan/Assets/Scripts/Player/Turbo/LocalTurboController.cs | 1,536 | C# |
using Ionic.Zip;
using RelhaxModpack.Atlases;
using RelhaxModpack.Common;
using RelhaxModpack.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using TeximpNet;
using TeximpNet.Unmanaged;
namespace R... | 35.236486 | 147 | 0.572963 | [
"Apache-2.0"
] | Willster419/RelicModManager | RelhaxModpack/RelhaxModpack/Atlases/RelhaxNvTexLibrary.cs | 5,217 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
... | 46.75 | 145 | 0.752941 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | sources/Interop/Windows/Windows/um/MsHTML/styleTextSizeAdjust.cs | 937 | C# |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Rocket.API;
using Rocket.Core.Assets;
using Rocket.Unturned.Player;
namespace AdminWarnings.Helpers
{
public class WarningLogger
{
private static string filePath = $"{Environment.CurrentDirectory}/Plugins/AdminWarnin... | 27.216216 | 113 | 0.573486 | [
"MIT"
] | sharkbound/AdminWarnings | Helpers/WarningLogger.cs | 2,016 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.UI.ViewModels.PropertyWindow.Descriptors
{
using Microsoft.Data.Entity.Design.Model.Entity;
internal class EFSEntityContainerD... | 29.4 | 144 | 0.678912 | [
"MIT"
] | dotnet/ef6tools | src/EFTools/EntityDesign/UI/ViewModels/PropertyWindow/Descriptors/EFSEntityContainerDescriptor.cs | 735 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Cs
{
/// <summary>Properties for defining a `ALIYUN::CS::KubernetesCluster`.</summary>
[JsiiInterface(nativeType: typeof(IRosKubernetesClusterProps), fullyQualifiedName: "@alicloud/ros-cdk-cs.RosK... | 50.582843 | 366 | 0.55654 | [
"Apache-2.0"
] | aliyun/Resource-Orchestration-Service-Cloud-Development-K | multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Cs/AlibabaCloud/SDK/ROS/CDK/Cs/IRosKubernetesClusterProps.cs | 60,143 | C# |
using System;
using System.Reflection.Emit;
namespace FluentMethods.UnitTests
{
public partial class ILGeneratorFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void BranchIfTrue()
{
var method = new DynamicMethod("x", type... | 31.440678 | 90 | 0.536388 | [
"MIT"
] | edwardmeng/FluentMethods | test/Core/System.Reflection.Emit.ILGenerator/Branch/IfTrue.cs | 1,857 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.CloudformationStackSetInstanceConfig")]
public class CloudformationStackSetInstanceConfig : aws.ICloudformationStackSetInstanceConfig
{
[JsiiPro... | 32.085714 | 185 | 0.55981 | [
"MIT"
] | scottenriquez/cdktf-alpha-csharp-testing | resources/.gen/aws/aws/CloudformationStackSetInstanceConfig.cs | 3,369 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using PropertyDataMut = Microsoft.PowerShell.CrossCompatibility.Data.Types.PropertyData;
namespace Microsoft.PowerShell.CrossCompatibility.Query
{
/// <summary>
/// Readonly query ... | 31.860465 | 88 | 0.621168 | [
"MIT"
] | ConnectionMaster/PSScriptAnalyzer | PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Query/Types/PropertyData.cs | 1,370 | C# |
using System;
using System.Xml.Serialization;
using Top.Api.Domain;
namespace Top.Api.Response
{
/// <summary>
/// DdMenuDetailResponse.
/// </summary>
public class DdMenuDetailResponse : TopResponse
{
/// <summary>
/// 点菜单订单详情
/// </summary>
[XmlElement("result")]
... | 20.052632 | 53 | 0.593176 | [
"MIT"
] | objectyan/MyTools | OY.Solution/OY.TopSdk/Response/DdMenuDetailResponse.cs | 395 | C# |
namespace Orchard.ContentManagement.Handlers {
public class InitializingContentContext {
public string ContentType { get; set; }
public ContentItem ContentItem { get; set; }
}
} | 33.666667 | 52 | 0.69802 | [
"BSD-3-Clause"
] | 1996dylanriley/Orchard | src/Orchard/ContentManagement/Handlers/InitializingContentContext.cs | 204 | C# |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | 47.494069 | 98 | 0.491239 | [
"MIT"
] | rifraf/IronRuby_Framework_4.7.2 | Runtime/Microsoft.Dynamic/Runtime/Cast.Generated.cs | 80,075 | 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.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAna... | 42.622754 | 198 | 0.62349 | [
"Apache-2.0"
] | Unknown6656/roslyn | src/Features/CSharp/Portable/CodeFixes/Async/CSharpAddAwaitCodeFixProvider.cs | 7,118 | C# |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 appli... | 32.626866 | 110 | 0.655078 | [
"Apache-2.0"
] | jeanluctritsch/CommunityServer | web/studio/ASC.Web.Studio/Products/CRM/Controls/Settings/VoipSettings/VoipCommon.ascx.cs | 2,186 | C# |
namespace CoffeeCard.Models.DataTransferObjects
{
/// <summary>
/// Simple response class with a string message
/// </summary>
/// <example>
/// {
/// "message": "Successful completion"
/// }
/// </example>
public class MessageResponseDto
{
/// <summary>
/// ... | 25.45 | 52 | 0.546169 | [
"MIT"
] | AnalogIO/Analog_Core | coffeecard/CoffeeCard.Models/DataTransferObjects/MessageResponseDto.cs | 511 | 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 ... | 40.613636 | 94 | 0.70845 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Talent.V4/Google.Cloud.Talent.V4.GeneratedSnippets/TenantServiceClient.CreateTenantResourceNamesAsyncSnippet.g.cs | 1,787 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace AspNetCore.Security.JwsDetached.Example
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHost... | 29.136364 | 94 | 0.602184 | [
"MIT"
] | nigma143/AspNetCore.Security.JwsDetached | AspNetCore.Security.JwsDetached.Example/Program.cs | 641 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using FootballBookmaker.Data;
using FootballBookmaker.Models;
name... | 23.621849 | 76 | 0.481679 | [
"MIT"
] | NikolayKostov-IvayloKenov/2014-05-SoftUniConf | PreparedSolution/FootballBookmaker.Web/Controllers/TeamApiController.cs | 2,813 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore;
namespace swapiclient
{
/// <summary>
/// Program
/// </summary>
public class Program
{
/// <summary>
/// Main
/// </summary>
/// <param name="args"></param>
public static void Main(string[] args... | 24.733333 | 76 | 0.540431 | [
"MIT"
] | donPabloNow/Chuck-SWAPI | src/swapiclient/Program.cs | 742 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Obecné informace o sestavení se řídí přes následující
// sadu atributů. Změnou hodnot těchto atributů se upraví informace
// přidružené k sestavení.
[assembly: AssemblyTitle("Pokladna")]
[assembly: AssemblyDescrip... | 37.555556 | 94 | 0.755917 | [
"MIT"
] | N3pr0Hack3r/Pokladna | Pokladna/Properties/AssemblyInfo.cs | 1,411 | 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("Te... | 37.756757 | 84 | 0.745168 | [
"MIT"
] | eyupgevenim/TeknikServis | TeknikServis/Properties/AssemblyInfo.cs | 1,400 | C# |
using System.Threading.Tasks;
using Fractum;
using Fractum.WebSocket.EventModels;
namespace Fractum.WebSocket.Hooks
{
internal sealed class UserUpdateHook : IEventHook<EventModelBase>
{
public Task RunAsync(EventModelBase args, GatewayCache cache, GatewaySession session)
{
var even... | 29.433333 | 93 | 0.571914 | [
"MIT"
] | trinitrot0luene/Fractum | src/Fractum/WebSocket/Hooks/UserUpdateHook.cs | 885 | C# |
namespace MSIXtractApplication
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 33.87037 | 140 | 0.576271 | [
"MIT"
] | eddyuk/MSIXtract | MSIXtractApplication/FormMain.Designer.cs | 1,831 | C# |
using RaftCore.Models;
using TinyFp;
namespace RaftCore.Adapters
{
public interface IMessageSender
{
Unit Start(int nodeId);
Unit Stop();
Unit SendMessage(Message message);
}
}
| 17.461538 | 43 | 0.612335 | [
"MIT"
] | FrancoMelandri/raft | src/core/Adapters/IMessageSender.cs | 229 | C# |
/*
* 2015 Sizing Servers Lab, affiliated with IT bachelor degree NMCT
* University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en)
*
* Author(s):
* Dieter Vandroemme
*/
using System;
using System.Drawing;
namespace Lupus_Titanium {
public class C... | 41.205882 | 118 | 0.668808 | [
"MIT"
] | sizingservers/Lupus-Titanium | Lupus-Titanium/Controls and dialogs/CaptureUserActionKVPControl.cs | 1,403 | 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: Assem... | 40.756757 | 106 | 0.764589 | [
"MIT"
] | TINF20C/Team_3_OMLOX_als_PC-Dienst | SOURCECODE/OmloxBackend/OmloxBackend/Properties/AssemblyInfo.cs | 1,523 | 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.329949 | 288 | 0.614094 | [
"Apache-2.0"
] | jasoncwik/aws-sdk-net | sdk/src/Services/ElasticBeanstalk/Generated/Model/CreateApplicationVersionRequest.cs | 7,748 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EntityProperty.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 ... | 45.798186 | 135 | 0.601376 | [
"Apache-2.0"
] | chinnurtb/OpenAdStack | DataAccessCommon/DataAccessLayer/EntityProperty.cs | 20,197 | C# |
namespace GetFile
{
class Program
{
static void Main()
{
string urlAddress = "http://2016.eicar.org/download/eicar.com";
System.Net.WebClient client = new System.Net.WebClient();
client.DownloadFile(urlAddress, @"eicar.com");
}
}
}
| 23.384615 | 75 | 0.5625 | [
"Unlicense"
] | AlexJPawlak/PSBits | WinDefend/getfile.cs | 304 | C# |
using System;
using Microsoft.AspNetCore.Builder;
namespace LimitsMiddleware.Extensions
{
public static partial class ApplicationBuilderExtensions
{
/// <summary>
/// Sets a minimum delay in miliseconds before sending the response.
/// </summary>
/// <param name="app">The I... | 42.242718 | 158 | 0.593197 | [
"MIT"
] | JosephWoodward/LimitsMiddleware.aspnetcore | src/LimitsMiddleware.AspNetCore/Extensions/ApplicationBuilderExtensions.MinResponseDelay.cs | 4,353 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Beetle;
using System.Runtime.Remoting;
using System.Runtime;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Net;
using System.Net.Sockets;
namespace ChatRoom.Server
{
class Program
{
stat... | 33.347826 | 111 | 0.550196 | [
"MIT"
] | corefan/IKendeLib | BeetleDemo/Examples/ChatRoom/ChatRoom.Server/ChatRoom.Server/Program.cs | 3,837 | 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... | 40.981132 | 109 | 0.615562 | [
"MIT"
] | Andrean/azure-powershell | src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzurePublicIP.cs | 2,122 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.FileProviders;
using ApacheOrcDotNet.Infrastructure;
namespace ApacheOrcDotNet.Test.TestHelpers
{
public class DataFileHelper : IDisposable
{
... | 24.836066 | 94 | 0.741914 | [
"MIT"
] | ddrinka/ApacheOrcDotNet | test/ApacheOrcDotNet.Test/TestHelpers/DataFileHelper.cs | 1,517 | 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;
using System.Windows.Forms;
using WmiFramework.Assistant.Components;
using WmiFramework.Assistant.Models;
namespace WmiFramework.Assistant... | 37.158273 | 167 | 0.583349 | [
"Apache-2.0"
] | gugu2234/WmiFramework | WmiFramework.Assistant/UserInterface/FormExplorer.cs | 5,239 | C# |
using org.mariuszgromada.math.mxparser;
using org.mariuszgromada.math.mxparser.mathcollection;
using org.mariuszgromada.math.mxparser.regressiontesting;
using System;
namespace mxparser.runtests {
class RunTestsWorking {
static void Main(string[] args) {
/*
mXparser.disableUlpRounding();
String expStr = "... | 35.16 | 83 | 0.7281 | [
"BSD-2-Clause"
] | ARLM-Attic/mxparser | CURRENT/c-sharp/exe-lib-tests/Run-Tests-Working/RunTestsWorking.cs | 881 | C# |
using System;
using System.Reflection;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.InteropExtension;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
usin... | 42.700957 | 204 | 0.650513 | [
"MIT"
] | JTMBarry/rhino.inside-revit | src/RhinoInside.Revit/Samples/Sample8.cs | 17,875 | C# |
namespace AngleSharp.Xml
{
using AngleSharp.Dom;
using System;
using System.Collections.Generic;
/// <summary>
/// Represents the list of all Xml entities.
/// </summary>
public sealed class XmlEntityProvider : IEntityProvider
{
#region Fields
private readonly Dictionar... | 22.765625 | 94 | 0.507893 | [
"MIT"
] | AngleSharp/AngleSharp.Xml | src/AngleSharp.Xml/XmlEntityProvider.cs | 1,457 | C# |
using System.Runtime.Serialization;
namespace I8Beef.Ecobee.Protocol.Objects
{
[DataContract]
public class LimitSetting
{
/// <summary>
/// The value of the limit to set. For temperatures the value is expressed as degrees
/// Fahrenheit, multipled by 10. For humidity values are ex... | 35.078947 | 94 | 0.603901 | [
"MIT"
] | k-rol/EcobeeLib | src/I8Beef.Ecobee/Protocol/Objects/LimitSetting.cs | 1,335 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 44.405405 | 224 | 0.628728 | [
"MIT"
] | GeertVL/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/ReportRootGetSkypeForBusinessParticipantActivityCountsCollectionPage.cs | 1,643 | C# |
using System.Data.Entity;
namespace TM.Data
{
public class DbContextFactory<TContext> : IDbContextFactory<TContext>
where TContext : DbContext, new()
{
public TContext CreateDbContext()
{
return new TContext();
}
}
} | 19.923077 | 72 | 0.644788 | [
"MIT"
] | ssh-git/training-manager | src/TM.Data/DbContextFactory.cs | 259 | C# |
/**
* Autogenerated by Thrift Compiler (0.13.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Thrift.Collections;
using Thrift.Protocol;
using Thrift.Protocol.En... | 34.34 | 111 | 0.465929 | [
"MIT"
] | clearbank/SparkSqlClient | src/SparkSqlClient/generated/TRow.cs | 5,151 | C# |
namespace TeleSharp.TL
{
public abstract class TLAbsInputMedia : TLObject
{
}
}
| 13.142857 | 52 | 0.673913 | [
"MIT"
] | cobra91/TelegramCSharpForward | TeleSharp.TL/TL/TLAbsInputMedia.cs | 92 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.Host;
namespace ShaderTools.CodeAnalysis.Host.Mef
{
internal class MefLanguageServices : HostLanguageServices
{
private readonly MefWorkspaceServices _workspace... | 41 | 165 | 0.637398 | [
"Apache-2.0"
] | BigHeadGift/HLSL | src/ShaderTools.CodeAnalysis.Workspaces/Workspace/Host/Mef/MefLanguageServices.cs | 3,003 | C# |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... | 32.542857 | 185 | 0.518174 | [
"MIT"
] | F-V-L/platform-client-sdk-dotnet | build/src/PureCloudPlatform.Client.V2/Model/SessionLastEvent.cs | 5,695 | C# |
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
// 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 restrictio... | 41.307692 | 98 | 0.706238 | [
"MIT"
] | ForNeVeR/YamlDotNet | YamlDotNet.Test/RepresentationModel/BinarySerlializationTests.cs | 2,150 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Variables
{
class Program
{
static void Main(string[] args)
{
/*
int x;
int y;
x = 7;
y = x + 3;
... | 20.634146 | 73 | 0.498818 | [
"MIT"
] | rjohar1/CSharpBeginners | Variables/Variables/Program.cs | 848 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MigrationsExample.Migrations
{
public partial class NavigationProperties : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Du... | 32.740741 | 87 | 0.484163 | [
"MIT"
] | V0ldek/Sorcery-CSharp-Notebooks | 06-EntityFramework/MigrationsExample/Migrations/20220511055704_NavigationProperties.cs | 4,422 | C# |
using UnityEngine;
using UnityEngine.EventSystems;
namespace UFZ.UI
{
// Works but can be improved, maybe
// https://docs.unity3d.com/ScriptReference/EventSystems.IDragHandler.html
public class PanelDragBehavior : MonoBehaviour, IBeginDragHandler, IDragHandler
{
public Transform DragObject;
... | 34.833333 | 102 | 0.627478 | [
"MIT"
] | bilke/unity | UI/Scripts/PanelDragBehavior.cs | 1,465 | C# |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------... | 52.769231 | 97 | 0.523324 | [
"MIT"
] | Agazoth/azure-powershell | src/ApplicationInsights/ApplicationInsights.Autorest/generated/runtime/Conversions/Instances/SingleConverter.cs | 676 | C# |
// 練習モード用コントロール
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace TrainingFXChart
{
public partial class PracticeModeContro... | 39.57971 | 149 | 0.523435 | [
"MIT"
] | Chiakikun/TrainingFXChart | PracticeModeControl.cs | 17,460 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eLibrary.ModelForMobile
{
public class Pisac
{
public int Pisac_ID { get; set; }
public string? Ime { get; set; }
p... | 24.035714 | 55 | 0.607727 | [
"MIT"
] | AlmirJusic/eLibrary | eLibrary/eLibrary.ModelForMobile/Pisac.cs | 675 | 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("Ge... | 38.527778 | 84 | 0.754146 | [
"MIT"
] | jdm7dv/financial | windows/practical-.net-for-financial-markets/CodeExample/Chpt9/RemotingGenerics/GenericsShared/GenericsShared/Properties/AssemblyInfo.cs | 1,390 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShellScript : MonoBehaviour
{
public GameObject parent;
public TankHP tankHP;
public GameObject particle;
// Start is called before the first frame update
void Start()
{
if (parent) tankHP = pare... | 27.8 | 96 | 0.591527 | [
"MIT"
] | UriKurae/AssignmentTanks | Tanks/Assets/Assets/Scripts/Tanks/ShellScript.cs | 1,251 | C# |
#if !ZEN_NOT_UNITY3D
using System;
using System.Collections.Generic;
using ModestTree;
using System.Linq;
using UnityEngine;
namespace Zenject
{
public class MonoBehaviourSingletonLazyCreator
{
readonly DiContainer _container;
readonly MonoBehaviourSingletonProviderCreator _owner;
read... | 26.946237 | 160 | 0.577813 | [
"MIT"
] | hinshun/mist-ridge | Assets/Scripts/Vendor/Zenject/Providers/Singleton/MonoBehaviour/MonoBehaviourSingletonLazyCreator.cs | 2,506 | C# |
namespace KS3P.Operators
{
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public sealed class MainMenuOperator : PostProcessingOperator
{
protected override void Process()
{
KS3P.currentScene = KS3P.Scene.MainMenu;
Patch(false, KS3P.Scene.MainMenu);
}
}
}
| 24.538462 | 65 | 0.630094 | [
"MIT"
] | jrodrigv/KS3P | KS3Code/Operators/MainMenuOperator.cs | 321 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
namespace CodeGenerator
{
public class Options
{
[Option('p', "path", HelpText = "Base path for processing sources, reference... | 36.769231 | 115 | 0.638773 | [
"MIT"
] | zestylife/EuNet | src/EuNet.CodeGenerator/Options.cs | 1,436 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Management.Automation;
using System.Collections.Generic;
using NuGet.Configuration;
using NuGet.Common;
using NuGet.Protocol;
using NuGet.Protocol.Core.Types;
using Sys... | 45.188806 | 282 | 0.514168 | [
"MIT"
] | SteveL-MSFT/PowerShellGet | src/FindPSResource.cs | 67,017 | C# |
// Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
using System;
namespace NBB.Messaging.Abstractions
{
public interface ITopicRegistry
{
string GetTopicForMessageType(Type messageType, bool includePrefix = true);
string GetTopicForName(string topicNa... | 26.466667 | 84 | 0.692695 | [
"MIT"
] | VCuzmin/nbb | src/Messaging/NBB.Messaging.Abstractions/ITopicRegistry.cs | 399 | C# |
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.Constants;
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.TemplateModels;
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Creator.Models;
namespace Microsoft.Azure.Management.ApiManagement.ArmTemplates.Custom.Creator.Te... | 51.472222 | 248 | 0.665947 | [
"MIT"
] | ajaysoni-cap/azure-api-management-devops-resource-kit | src/ArmTemplates.Custom/Creator/TemplateCreators/DiagnosticTemplateCreator.cs | 1,855 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AVLTree
{
interface IFirstLastList
{
}
}
| 13.923077 | 33 | 0.740331 | [
"MIT"
] | tonkatawe/Data-structure | 07. Data-Structures-AVL-Trees-AA-Trees/AVLTree/IFirstLastList.cs | 183 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.