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 |
|---|---|---|---|---|---|---|---|---|
namespace Restract
{
using System;
using Core;
using Restract.Contract;
internal class InterceptorActivator : IInterceptorActivator
{
private readonly ITypeActivator _typeActivator;
public InterceptorActivator(ITypeActivator typeActivator)
{
_typeActivator = typ... | 34.7 | 141 | 0.570605 | [
"MIT"
] | bashiransari/Restract | src/Restract/InterceptorActivator.cs | 1,735 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Shashlik.Utils.Helpers
{
/// <summary>
/// 异步内存锁
/// </summary>
public sealed class AsyncLock
{
private readonly SemaphoreSlim _semaphore = new SemaphoreSlim(1);
/// <summary>
/// lock
//... | 30.039216 | 103 | 0.603786 | [
"MIT"
] | dotnet-shashlik/shashlik | src/Shashlik.Utils/Helpers/AsyncLock.cs | 1,564 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using FakeStorage;
us... | 45.024927 | 233 | 0.654965 | [
"MIT"
] | Anduin2017/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.FunctionalTests/Singleton/SingletonManagerTests.cs | 30,709 | C# |
using Vetuviem.SourceGenerator.Features.Core;
namespace ReactiveUI.WinUI3.VetuviemGenerator
{
/// <summary>
/// UI Platform resolver for WinUI3.
/// </summary>
public sealed class WinUi3PlatformResolver : IPlatformResolver
{
/// <inheritdoc />
public string[] GetAssemblyNames()
... | 23.03125 | 66 | 0.537313 | [
"MIT"
] | dpvreony/Vetuviem | src/ReactiveUI.WinUI3.VetuviemGenerator/WinUi3PlatformResolver.cs | 739 | 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("Ave... | 38.540541 | 84 | 0.753857 | [
"MIT"
] | uagg/SoftwareUniversity | 2. Tech Module/Programming Fundamentals/8. Array and list algorithms/Exercise2/REFACTORED/AverageCharDelimiter/AverageCharDelimiter/Properties/AssemblyInfo.cs | 1,429 | C# |
using System.Data.SqlClient;
using Microsoft.Extensions.Logging;
using Polly;
namespace Infrastructure.Types.Abstracts
{
public abstract class ContextSeedBase<T>
{
protected bool IsStoricized(string line, int columnNumber) => line.Split(';')[columnNumber] == "S";
}
public static class Context... | 34.472222 | 131 | 0.486704 | [
"MIT"
] | ildoc/Extensions | src/Infrastructure/Types/Abstracts/ContextSeedBase.cs | 1,243 | C# |
using Admin.Core.Common.BaseModel;
using FreeSql.DataAnnotations;
namespace Admin.Core.Model.Admin
{
/// <summary>
/// 文档
/// </summary>
[Table(Name = "ad_document")]
[Index("idx_{tablename}_01", nameof(ParentId) + "," + nameof(Label), true)]
public class DocumentEntity : EntityFull, ITenant
{... | 23.394737 | 79 | 0.465129 | [
"MIT"
] | Jafic/Admin.Core | Admin.Core.Model/Admin/DocumentEntity.cs | 1,828 | C# |
namespace Jekov.Nevix.Common.ViewModels
{
using Jekov.Nevix.Common.Models;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Security.Cryptography;
using System.Text;
[DataContract]
public class MediaFolderVi... | 29.3 | 70 | 0.587031 | [
"Apache-2.0"
] | antony-jekov/Nevix | Source/Jekov.Nevix/Common/Jekov.Nevix.Common.ViewModels/MediaFolderViewModel.cs | 1,467 | C# |
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
/// <summary>
/// Rename file operation
/// </summary>
public record RenameFile : IFile
{
/// <summary>
/// A rename
/// </summary>
publi... | 26.55 | 82 | 0.550847 | [
"MIT"
] | SeeminglyScience/csharp-language-server-protocol | src/Protocol/Models/RenameFile.cs | 1,062 | C# |
// Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
using AppBrix.Data.SqlServer.Impl;
using AppBrix.Lifecycle;
using AppBrix.Modules;
using System;
using System.Collections.Generic;
namespace AppBrix.Data.SqlServer... | 32 | 101 | 0.703125 | [
"MIT"
] | MarinAtanasov/AppBrix | Modules/AppBrix.Data.SqlServer/SqlServerDataModule.cs | 1,664 | C# |
using System.Collections.Generic;
namespace AutoFixtureDemo
{
public class DebugMessageBuffer
{
public List<string> Messages { get; set; } = new List<string>();
public int MessagesWritten { get; private set; }
public void WriteMessages()
{
foreach (var message in ... | 21.857143 | 72 | 0.542484 | [
"MIT"
] | mirusser/Learning-dontNet | src/Testing/AutoFixture/AutoFixtureDemo/DebugMessageBuffer.cs | 461 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
using DAL;
using Service;
namespace Repository
{
public class Logininfor
{
TokenTableService tos = new TokenTableService();
SAuthoriza saa = new SAuthoriza();
... | 33.495575 | 90 | 0.34716 | [
"Apache-2.0"
] | xnmmp/yulj | Repository/Logininfor.cs | 3,891 | C# |
namespace Automatonymous
{
/// <summary>
/// Used to create the state machine using a container, should be a single-instance registration
/// </summary>
public interface ISagaStateMachineFactory
{
SagaStateMachine<T> CreateStateMachine<T>()
where T : class, SagaStateMachineInstan... | 27.666667 | 100 | 0.674699 | [
"ECL-2.0",
"Apache-2.0"
] | ArmyMedalMei/MassTransit | src/MassTransit/Automatonymous/ISagaStateMachineFactory.cs | 332 | C# |
using System;
using UnityEngine;
namespace SonarSpaceship.Controllers
{
public class AnimatorParameterControllerScript : MonoBehaviour, IAnimatorParameterController
{
[SerializeField]
private string parameterName = string.Empty;
[SerializeField]
private Animator parameterAnima... | 25.65 | 96 | 0.533138 | [
"MIT"
] | BigETI/SonarSpaceship | Assets/SonarSpaceship/Scripts/Controllers/AnimatorParameterControllerScript.cs | 2,054 | 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... | 29.666667 | 81 | 0.589185 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Synapse/V20201201/Inputs/CmdkeySetupArgs.cs | 1,424 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 39.6 | 153 | 0.606449 | [
"MIT"
] | AzureMentor/msgraph-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/GraphServiceSubscribedSkusCollectionRequestBuilder.cs | 2,574 | C# |
using System;
using System.IO;
using System.Linq;
namespace Day6
{
class Program
{
static void Main(string[] args)
{
var input = File.ReadAllLines("input.txt");
var sumAny = 0;
var sumAll = 0;
bool[] questionsAny = null;
int[] questi... | 26.754717 | 70 | 0.408322 | [
"Unlicense"
] | aalear/Advent-of-Code-2020 | Day6/Program.cs | 1,420 | C# |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; ... | 57.713376 | 226 | 0.809072 | [
"Apache-2.0"
] | luizfbicalho/Camunda.NET | camunda-bpm-platform-net/distro/jbossas7/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.cs | 9,063 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extension... | 32.372093 | 89 | 0.574713 | [
"MIT"
] | shirhatti/EventLogCrashRepro | WebApplication7/Program.cs | 1,392 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable disable
using System;
using System.Xml;
using System.Xml.XPath;
using System.ComponentModel;
namespace System.Xml.Xsl.Runtime
{
/// <summary>
/// Iterators that us... | 31.412698 | 130 | 0.609399 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Private.Xml/src/System/Xml/Xsl/Runtime/XmlIterators.cs | 1,979 | C# |
using System.Reflection;
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 mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("HelpAdvisor")]
[assembly: ... | 39.194444 | 106 | 0.759745 | [
"MIT"
] | truong225/CSharp_Engine | Source/Plugins/EditorModules/HelpAdvisor/Properties/AssemblyInfo.cs | 1,427 | C# |
/* ------------------------------------------------------------------------- *
thZero.NetCore.Library.Asp
Copyright (C) 2016-2021 thZero.com
<development [at] thzero [dot] com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obt... | 30.088235 | 79 | 0.621701 | [
"ECL-2.0",
"Apache-2.0"
] | thzero/thZero.NetCore.Library.Asp | Views/Models/IViewModel.cs | 1,025 | C# |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SimpleCustomFrameApp
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new MainPage();
}
protected override void OnStart()
{
... | 15.827586 | 42 | 0.527233 | [
"MIT"
] | AlexanderIbraimov/CustomFrame | SimpleApp/SimpleCustomFrameApp/SimpleCustomFrameApp/App.xaml.cs | 461 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... | 32.909091 | 84 | 0.527624 | [
"Apache-2.0"
] | leo-leong/wwt-scheduler | Microsoft.Sample.Automation/Scheduling/Entities/SchedulingHandle.cs | 724 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows.Forms;
using Player.Controller;
using Tim... | 27.713415 | 127 | 0.522332 | [
"MIT"
] | efedeniz/Player | Player/Player/Form1.cs | 4,547 | C# |
using System;
using JankyUI.Attributes;
using JankyUI.Nodes.Binding;
using JankyUI.Enums;
using JankyUI.EventArgs;
using UnityEngine;
namespace JankyUI.Nodes
{
[JankyTag("Scrollbar")]
[JankyProperty("type", nameof(Type))]
[JankyProperty("size", nameof(Size))]
[JankyProperty("value", nameof(Value))]
... | 32.264151 | 117 | 0.630994 | [
"MIT"
] | usagirei/JankyUI | JankyUI/Nodes/Widgets/ScrollBarNode.cs | 1,712 | 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... | 47.285393 | 256 | 0.653883 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/IoTEventsData/Generated/_netstandard/AmazonIoTEventsDataClient.cs | 21,042 | 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.Collections.Generic;
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Threading.Tasks;
using Mi... | 39.420875 | 236 | 0.508968 | [
"Apache-2.0"
] | ilonze/aspnetcore | src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs | 23,416 | 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 Cake.Core;
namespace Cake.Frosting.Tests;
public sealed class FakeLifetime : FrostingLifetime
{
public ... | 26 | 78 | 0.707358 | [
"MIT"
] | ecampidoglio/cake | src/Cake.Frosting.Tests/Fakes/FakeLifetime.cs | 600 | C# |
using JRSoftware.Clientes.Core.Abstracao;
using JRSoftware.Clientes.Core.Dominio;
using JRSoftware.Clientes.Core.Repositorio.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
namespace JRSoftware.Clientes.Core.Repositorio
{
public class EnderecoRepository
{
public IConnectionManager Connecti... | 22.725 | 129 | 0.719839 | [
"Apache-2.0"
] | JOHNRAMOSRJ/JRSoftware.AspNetCoreWebAPI | src/JRSoftware.Clientes.Core/Repositorio/EnderecoRepository.cs | 2,729 | C# |
// Copyright (c) Matt Lacey Ltd. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RapidXaml;
namespace RapidXamlToolkit.Tests.AutoFix
{
[TestClass]
public class ProjectTests
... | 41.12 | 190 | 0.692972 | [
"MIT"
] | Microsoft/Rapid-XAML-Toolkit | VSIX/RapidXamlToolkit.Tests.AutoFix/ProjectTests.cs | 8,226 | C# |
using ProtoBuf.Grpc.Configuration;
using System;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using static ProtoBuf.Grpc.Configuration.ServerBinder;
namespace protobuf_net.Grpc.Test
{
[AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = true)]
public class SomethingAttribu... | 32.540984 | 122 | 0.675567 | [
"Apache-2.0"
] | GrantEmpire/protobuf-net.Grpc | tests/protobuf-net.Grpc.Test/AttributeDetection.cs | 1,987 | 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("MSc... | 38.648649 | 84 | 0.751748 | [
"MIT"
] | zbigniewmarszolik/MScResearchTool | MScResearchTool.Mobile/MScResearchTool.Mobile.Services/Properties/AssemblyInfo.cs | 1,433 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Patchwork.Attributes {
/// <summary>
/// You must decorate your <see cref="IPatchInfo"/>-implementing class with this attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class PatchInfoAttribute ... | 21.375 | 92 | 0.74269 | [
"MIT"
] | DankRank/Patchwork | Patchwork.Attributes/Automatic Patching/PatchInfoAttribute.cs | 344 | C# |
using System;
using Castle.MicroKernel.Registration;
using NSubstitute;
using Abp.AutoMapper;
using Abp.Dependency;
using Abp.Modules;
using Abp.Configuration.Startup;
using Abp.Net.Mail;
using Abp.TestBase;
using Abp.Zero.Configuration;
using Abp.Zero.EntityFrameworkCore;
using CallOfShare.EntityFrameworkCore;
using C... | 33.952381 | 142 | 0.693782 | [
"MIT"
] | nguyendiennghia/CallOfShare | aspnet-core/test/CallOfShare.Tests/CallOfShareTestModule.cs | 2,139 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.Annotations;
namespace LinqToDB.Tools
{
[PublicAPI]
public static class SqlExtensions
{
#region In/NotIn
[ExpressionMethod(nameof(InImpl1))]
public static bool In<T>(this T value... | 26.652778 | 106 | 0.638874 | [
"MIT"
] | AndreyAndryushinPSB/linq2db | Source/LinqToDB/Tools/SqlExtensions.cs | 3,697 | C# |
namespace StyleCop.Analyzers.DocumentationRules
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
/// <summary>
/// The documentation text within a C# property's <c><summary></c> tag does not match the accessors within the
/// p... | 41.277273 | 169 | 0.58672 | [
"Apache-2.0"
] | ishisaka/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1623PropertySummaryDocumentationMustMatchAccessors.cs | 9,400 | C# |
using System;
namespace Torch.Utils
{
/// <summary>
/// Indicates that this field should contain the <see cref="System.Reflection.PropertyInfo"/> instance for the given property.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class ReflectedPropertyInfoAttribute : ReflectedMemberAtt... | 33.590909 | 130 | 0.630582 | [
"Apache-2.0"
] | Andargor/Torch | Torch/Utils/Reflected/ReflectedPropertyInfoAttribute.cs | 739 | C# |
namespace Microsoft.AspNetCore.Mvc
{
using Http;
/// <summary>
/// An <see cref="ObjectResult"/> that when executed performs content negotiation, formats the entity body, and
/// will produce a <see cref="StatusCodes.Status412PreconditionFailed"/> response if negotiation and formatting succeed.
//... | 38.714286 | 124 | 0.660517 | [
"MIT"
] | Magicianred/AspNetCore.Mvc.HttpActionResults | src/AspNetCore.Mvc.HttpActionResults.ClientError/PreconditionFailedObjectResult.cs | 815 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using Adic.Util;
namespace Adic.Cache {
/// <summary>
/// Factory for <see cref="IReflectedClass"/>.
/// </summary>
public class ReflectionFactory : IReflectionFactory {
/// <summary>
/// ... | 43.557078 | 126 | 0.556767 | [
"Unlicense"
] | Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020 | csharpwars/frontend/CSharpWars/Assets/External/Adic/Scripts/Framework/Cache/ReflectionFactory.cs | 9,539 | C# |
using System;
namespace Dice
{
public class Dice
{
private int sides;
private Random rnd = new Random();
public int Roll()
{
int rollResult = rnd.Next(1, this.sides + 1);
return rollResult;
}
}
class Program
{
static void M... | 14.615385 | 57 | 0.460526 | [
"MIT"
] | BorislavVladimirov/C-Software-University | C# Advanced May 2019/Defining Classes/Defining Classes/Dice/Program.cs | 382 | C# |
#nullable enable
using System;
using System.Threading;
using NUnit.Framework;
namespace Omnifactotum.Tests
{
[TestFixture(TestOf = typeof(StopwatchElapsedTimeProvider))]
internal sealed class StopwatchElapsedTimeProviderTests
{
private static readonly TimeSpan WaitInterval = TimeSpan.FromMillisec... | 29.678161 | 86 | 0.611929 | [
"MIT"
] | HarinezumiSama/omnifactotum | src/Omnifactotum.Tests/StopwatchElapsedTimeProviderTests.cs | 2,584 | C# |
using System;
using System.Collections.Generic;
namespace ModLib
{
public static class IEnumerableExtensions
{
/// <summary>
/// Applies the action to all elements in the collection.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="enumerable"></para... | 26.740741 | 92 | 0.515235 | [
"MIT"
] | MiCLeal/ModLib | ExtensionMethods/IEnumerableExtensions.cs | 724 | C# |
using MrMatrix.Net.ActorOnServiceBus.ActorSystem.Interfaces;
namespace MrMatrix.Net.ActorOnServiceBus.ActorSystem.Core
{
public interface IActorMetadata
{
Type ActorType { get; }
MessageDirection Direction { get; }
string TopicUri { get; }
IActorMessageHandler CreateActorMessage... | 28.166667 | 60 | 0.713018 | [
"MIT"
] | MariuszKrzanowski/asb-actor-model | src/MrMatrix.Net.ActorOnServiceBus.ActorSystem.Core/IActorMetadata.cs | 338 | C# |
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Agent.Sdk;
using Microsoft.VisualStudio.Services.Agent.Util;
using Microsoft.VisualStudio.Services.WebApi;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.Loader;
using System.Threading;
using Sys... | 48.403561 | 247 | 0.592141 | [
"MIT"
] | ShreyasRmsft/azure-pipelines-agent | src/Agent.Worker/AgentPluginManager.cs | 16,312 | C# |
namespace UglyToad.PdfPig.Fonts.Type1.CharStrings.Commands.PathConstruction
{
using Geometry;
/// <summary>
/// Vertical move to. Moves relative to the current point.
/// </summary>
internal static class VMoveToCommand
{
public const string Name = "vmoveto";
public static read... | 28.146341 | 87 | 0.566724 | [
"Apache-2.0"
] | BenyErnest/PdfPig | src/UglyToad.PdfPig/Fonts/Type1/CharStrings/Commands/PathConstruction/VMoveToCommand.cs | 1,156 | C# |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
namespace SuperRocket.Angular2Core.MultiTenancy.Dto
{
[AutoMapFrom(typeof(Tenant))]
public class TenantListDto : EntityDto
{
public string TenancyName { get; set; }
public string Name { get; set; }
}
} | 22.538462 | 51 | 0.68942 | [
"MIT"
] | AccentureRapid/SuperRocket.Angular2Core | aspnet-core/src/SuperRocket.Angular2Core.Application/MultiTenancy/Dto/TenantListDto.cs | 293 | C# |
using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Web;
namespace Utilities
{
public static class HttpPostedFileExtensions
{
public const int ImageMinimumBytes = 512;
public static bool IsImage(this HttpPostedFileBase postedFile)
{
//-----------------------------------------... | 27.133333 | 128 | 0.546683 | [
"MIT"
] | nzhul/garderob | App/App.Utilities/HttpPostedFileExtensions.cs | 2,444 | C# |
namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
{
public sealed partial class Vic
{
private int _borderPixel;
private int _bufferPixel;
private int _pixel;
private int _pixelCounter;
private int _pixelOwner;
private Sprite _spr;
private int _sprData;
private int _sprIndex;
p... | 24.895397 | 101 | 0.566218 | [
"MIT"
] | Diefool/BizHawk | BizHawk.Emulation.Cores/Computers/Commodore64/MOS/Vic.Render.cs | 5,952 | C# |
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
namespace Dfe.Spi.HistoricalDataPreparer.Infrastructure.SpiApi
{
internal static class OAuthAuthenticator
{
internal static async Task<string> GetBearerTokenAsync(
... | 37.127273 | 124 | 0.624388 | [
"MIT"
] | DFE-Digital/spi-tools | HistoricalDataPreparer/src/Dfe.Spi.HistoricalDataPreparer.Infrastructure.SpiApi/OAuthAuthenticator.cs | 2,042 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using SignalR.Hubs;
namespace SignalR.Samples.Hubs.ConnectDisconnect
{
public class Status : Hub, IDisconnect, IConnected
{
public Task Disconnect()
{
return Clients.leave(Context.ConnectionId, DateTime.N... | 27 | 83 | 0.651852 | [
"MIT"
] | cburgdorf/SignalR | SignalR.Hosting.AspNet.Samples/Hubs/ConnectDisconnect/Status.cs | 677 | C# |
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
using System;
using System.Diagnostics.CodeAnalysis;
namespace TheGrapho.Parser.Syntax
{
public sealed class D... | 36.538462 | 103 | 0.651228 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | ssyp-ru/ssyp-ws09 | TheGrapho.Parser/Syntax/DotStatementSyntax.cs | 1,427 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Globalization;
namespace Crypto
{
internal static class Program
{
static void Main(string[] args)
{
int argsI; string command;
Dictionary<string, string> dictionary = ReadConsoleArguments(a... | 22.976471 | 106 | 0.604199 | [
"CC0-1.0"
] | metadings/Blake2.cs | Program.cs | 3,908 | C# |
using System.Collections.Generic;
namespace Model
{
public class Lodging
{
public int LodgingId { get; set; }
public string Name { get; set; }
public string Owner { get; set; }
public bool IsResort { get; set; }
public decimal MilesFromNearestAirport { get; set; }
public int DestinationId... | 28.894737 | 63 | 0.675774 | [
"MIT"
] | julielerman/ProgrammingEntityFrameworkBook | Programming EF Code First/chapter4/Chapter4/BAGA_FluentAPI/Model/Lodging.cs | 551 | 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.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Security.Authentication;
usi... | 36.841743 | 160 | 0.576916 | [
"Apache-2.0"
] | 1426463237/AspNetCore | src/Servers/HttpSys/src/RequestProcessing/Request.cs | 16,063 | 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.345133 | 155 | 0.635308 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/BatchEnableStandardsRequestMarshaller.cs | 4,220 | C# |
namespace ServicesCars
{
partial class FrmCoorporacao
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 61.465587 | 167 | 0.666908 | [
"Apache-2.0"
] | RaulMatias7/ServicesCar | ServicesCars/Forms/FrmCoorporacao.Designer.cs | 15,184 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | 35.419355 | 152 | 0.566485 | [
"MIT"
] | ajportelli/WAVArrayifier | WAVArrayifier/Properties/Settings.Designer.cs | 1,100 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;... | 37.407453 | 223 | 0.591009 | [
"MIT"
] | Cosifne/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/RecordTests.cs | 61,238 | C# |
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* ... | 34.662447 | 119 | 0.59647 | [
"BSD-3-Clause"
] | Krypton-Suite/Standard-Toolk | Source/Krypton Components/Krypton.Toolkit/Palette Component/KryptonPaletteTMS.cs | 8,218 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
#nullable enable
names... | 49.69863 | 195 | 0.65339 | [
"MIT"
] | Cyberh1/WindowsCommunityToolkit | Microsoft.Toolkit/Diagnostics/ThrowHelper.String.cs | 7,256 | C# |
//
// Recipient.cs
//
// Author: Kees van Spelde <sicos2002@hotmail.com>
//
// Copyright (c) 2015-2018 Magic-Sessions. (www.magic-sessions.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 S... | 46.233463 | 127 | 0.569601 | [
"Unlicense",
"MIT"
] | gohenderson/MsgKit | MsgKit/Recipient.cs | 11,884 | C# |
#if !JSB_UNITYLESS
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace QuickJS.Binding
{
using UnityEngine;
using Native;
public partial class Values
{
public static JSValue NewBridgeClassObject(JSContext ctx, JSValue new_target, Vector2... | 31.101695 | 130 | 0.541689 | [
"MIT"
] | shunfy/unity-jsb | Packages/cc.starlessnight.unity-jsb/Source/Binding/ValueTypes/Values_Vector2Int.cs | 1,835 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Reflection.Tests.AssemblyVersion
{
public class Program_1_1_3_0
{
}
}
| 23.7 | 71 | 0.742616 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Reflection/tests/AssemblyVersion/Program_1_1_3_0.cs | 237 | C# |
using System;
using System.Text;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using SFA.DAS.Reservations.Domain.Interfaces;
using SFA.DAS.Reservations.Infrastructure.Configuration;
namespace SFA.DAS.Reservations.Infrastructure.TagHelpers
{
public class ExternalUrlHelper : IExterna... | 33.652174 | 124 | 0.538243 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.das-reservations | src/SFA.DAS.Reservations.Infrastructure/TagHelpers/ExternalUrlHelper.cs | 7,742 | C# |
using CMEETracker.Core;
using CMEETracker.ViewModels;
using System;
using System.Configuration;
using System.Windows;
using System.Windows.Media;
namespace CMEETracker
{
/// <summary>
/// MainWindow.xaml 的互動邏輯
/// </summary>
public partial class MainWindow : Window
{
private CMEECore _cmee... | 31.369748 | 103 | 0.562818 | [
"MIT"
] | DevTainan/CMEETracker | CMEETracker/MainWindow.xaml.cs | 3,745 | C# |
using FluentAssertions;
using Xer.Cqrs.CommandStack;
using Xer.Cqrs.CommandStack.Tests.Entities;
using Xer.Delegator;
using Xer.Delegator.Registration;
using Xunit;
using Xunit.Abstractions;
namespace Xer.Cqrs.CommandStack.Tests.Registration
{
public class SimpleRegistrationTests
{
#region RegisterCom... | 37.3 | 116 | 0.667177 | [
"MIT"
] | XerProjects/Xer.Cqrs.CommandStack | Tests/Xer.Cqrs.CommandStack.Tests/Registration/SimpleRegistrationTests.cs | 2,613 | C# |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using AngleSharp;
using AngleSharp.Dom;
using AngleSharp.Dom.Events;
using AngleSharp.Html.Dom;
using AngleSharp.Io;
namespace AngleSharpWrappers
{
#nullable enable
/// <summary>
/// Represents a wrapper class around <se... | 53.849206 | 165 | 0.649116 | [
"MIT"
] | egil/razor-component-testing-library | src/AngleSharpWrappers/Generated/HtmlFormElementWrapper.g.cs | 27,140 | C# |
using NittyGritty.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NittyGritty.Uwp.Activation.Operations.Configurations
{
public class ActionLaunchConfiguration
{
public ActionLaunchConfiguration(string action, MultiV... | 27.857143 | 107 | 0.666667 | [
"MIT"
] | MarkIvanDev/NittyGritty | NittyGritty/NittyGritty.Uwp.Activation/Operations/Configurations/ActionLaunchConfiguration.cs | 782 | C# |
using Nursery.Utility;
using System;
using System.Threading.Tasks;
namespace Nursery {
delegate void TickHandler();
class Timer {
public int TickMilliSeconds { get; set; } = 100;
private bool Watching = false;
private TickHandler Handler = null;
public Timer(TickHandler handler) {
this.Han... | 21.911111 | 62 | 0.600406 | [
"MIT"
] | noonworks/Nursery | Nursery/Timer.cs | 988 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace UnoContoso.Service
{
public class Program
{
pu... | 25.925926 | 70 | 0.647143 | [
"Apache-2.0"
] | MartinZikmund/Uno.Samples | UI/UnoContoso/UnoContoso.Service/Program.cs | 700 | C# |
using System;
using System.Collections.Generic;
namespace ParkingLot
{
class Program
{
static void Main(string[] args)
{
HashSet<string> cars = new HashSet<string>();
while (true)
{
string input = Console.ReadLine();
if (input... | 23.840909 | 58 | 0.341277 | [
"MIT"
] | Siafarikas/SoftUni | Advanced/SetsAndDictionaries/ParkingLot/Program.cs | 1,051 | 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;
usi... | 54.906824 | 231 | 0.625158 | [
"MIT"
] | BaherAbdullah/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/RestOperations/KubeEnvironmentsRestOperations.cs | 41,839 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Xml;
using System.IO;
using Xamarin.Android.Binder;
namespace MonoDroid.Generation {
public class ParameterList : IEnumerable<Parameter> {
public static bool Equals (ParameterList l1, Parameter... | 22.737931 | 124 | 0.631483 | [
"MIT"
] | dellis1972/Java.Interop | tools/generator/Java.Interop.Tools.Generator.ObjectModel/ParameterList.cs | 6,594 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using NewLife.Data;
using NewLife.Net.Sockets;
using System.Linq;
namespace NewLife.Net.Stun
{
/// <summary>Stun客户端。Simple Traversal of UDP over NATs,NAT 的UDP简单穿越。RFC 3489</summary>
/// <remarks>
/// <a... | 38.76392 | 190 | 0.42867 | [
"MIT"
] | NewLifeX/NewLife.Net | NewLife.Net/Stun/StunClient.cs | 18,453 | C# |
namespace LambdaText
{
partial class GotoForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 41.747126 | 162 | 0.568282 | [
"MIT"
] | Xangis/ZetaWord | GotoForm.Designer.cs | 3,634 | 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;... | 24.906977 | 73 | 0.602241 | [
"MIT"
] | InochiPM/YomiageLibrary | Yomiage.GUI/Dialog/Views/PauseEditDialog.xaml.cs | 1,091 | C# |
// Note: this script has to be on an always-active UI parent, so that we can
// always find it from other code. (GameObject.Find doesn't find inactive ones)
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public partial class UILoot : MonoBehaviour
{
public GameObject... | 39.726027 | 104 | 0.573103 | [
"MIT"
] | thoang126/RPG2D-10-6-18-Morning-Working-Saved | Assets/uMMORPG/Scripts/_UI/UILoot.cs | 2,902 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Localization;
using Newtonsoft.Json.Linq;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display;
using OrchardCore.ContentManagement.Metadata.Se... | 33.013468 | 127 | 0.580316 | [
"BSD-3-Clause"
] | codeyu/OrchardCore | src/OrchardCore.Modules/OrchardCore.Menu/Controllers/AdminController.cs | 9,805 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Don.SportsStoreCore.Authorization.Roles;
using Abp.Authorization.Roles;
namespace Don.SportsStoreCore.Roles.Dto
{
[AutoMapTo(typeof(Role))]
public class CreateRoleDto
{
[Required]
[St... | 26.6 | 56 | 0.666667 | [
"MIT"
] | antgerasim/Don.SportsStoreCore | aspnet-core/src/Don.SportsStoreCore.Application/Roles/Dto/CreateRoleDto.cs | 798 | C# |
/*
* Created by: Miguel Angel Medina Pérez (migue.cu@gmail.com)
* Created: June 8, 2010
* Comments by: Miguel Angel Medina Pérez (migue.cu@gmail.com)
*/
using System;
using System.IO;
namespace PatternRecognition.FingerprintRecognition.Core
{
/// <summary>
/// Allows saving and retrieving... | 44.672269 | 361 | 0.518811 | [
"MIT"
] | dbayoxy/keyGenApp | KeygenApp/KeygenApp/bin/Debug/FR.Core/SkeletonImageSerializer.cs | 5,320 | C# |
using System;
using NUnit.Framework;
using Unity.Collections;
using Unity.Jobs;
namespace Unity.Entities.Tests
{
[TestFixture]
public class ComponentGroupDelta : ECSTestsFixture
{
// * TODO: using out of date version cached ComponentDataArray should give exception... (We store the System order ver... | 36.898361 | 146 | 0.569531 | [
"MIT"
] | renBuWen/UnityMMO | Packages/com.unity.entities/Unity.Entities.Tests/ComponentGroupDelta.cs | 22,510 | C# |
namespace Mccole.Geodesy
{
/// <summary>
/// Represents 2 dimensional a point on the earth's surface.
/// </summary>
public interface ICoordinate
{
/// <summary>
/// The angular distance of a place north or south of the earth's equator.
/// </summary>
double Latitude... | 28.388889 | 83 | 0.569472 | [
"MIT"
] | dungeym/Mccole.Geodesy | Mccole.Geodesy/_Interface/ICoordinate.cs | 513 | C# |
using System;
namespace RBS.Messages.actionlib
{
[System.Serializable]
public class TwoIntsFeedback : ExtendMessage
{
public override string Type() { return "actionlib/TwoIntsFeedback"; }
public TwoIntsFeedback()
{
}
}
} | 20.692308 | 77 | 0.639405 | [
"MIT"
] | yuyaushiro/ARviz_unity | Assets/ROSBridgeSharp/Assets/RBSocket/Message/DefaultMsgs/actionlib/TwoIntsFeedback.cs | 269 | 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.965909 | 153 | 0.659083 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/SimpleEmailV2/Generated/Model/Internal/MarshallTransformations/ListTagsForResourceRequestMarshaller.cs | 2,989 | C# |
using AsmResolver.PE.DotNet.Metadata;
using AsmResolver.PE.DotNet.Metadata.Tables;
using AsmResolver.PE.DotNet.Metadata.Tables.Rows;
namespace AsmResolver.DotNet.Builder.Metadata.Tables
{
/// <summary>
/// Provides a mutable buffer for building up a tables stream in a .NET portable executable.
/// </summa... | 44.892683 | 131 | 0.615017 | [
"MIT"
] | CrackerCat/AsmResolver | src/AsmResolver.DotNet/Builder/Metadata/Tables/TablesStreamBuffer.cs | 9,205 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Subjects;
using System.Text;
using System.Threading.Tasks;
namespace Samples.Services.Impl
{
public class AppStateImpl : IAppState, IAppLifecycle
{
readonly Subject<object> resumeSubject = new Subject<object>();
... | 20.948718 | 71 | 0.614443 | [
"MIT"
] | alexstrong29/BluetoothTesting | Samples/Samples/Services/Impl/AppStateImpl.cs | 819 | 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... | 42.880208 | 186 | 0.592251 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/DescribeThingRegistrationTaskResponseUnmarshaller.cs | 8,233 | C# |
namespace Nancy.Testing
{
using System;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// Defines the context that a <see cref="Browser"/> instance should run under.
/// </summary>
public class BrowserContext : IBrowserContextValues
{
/// <summary>... | 36.027211 | 147 | 0.532666 | [
"MIT"
] | bendetat/Nancy | src/Nancy.Testing/BrowserContext.cs | 5,298 | C# |
using System;
using System.Text.RegularExpressions;
namespace DotJEM.Json.Index.Util
{
public class AdvConvert
{
private static readonly Regex timeSpanExpression = new Regex(@"((?'d'[0-9]+)\s?d(ay(s)?)?)?\s?" +
@"((?'h'[0-9]+)\s?h(ou... | 51.919463 | 172 | 0.540977 | [
"MIT"
] | dotJEM/json-index | DotJEM.Json.Index/Util/AdvConvert.cs | 7,738 | C# |
using Dna;
using Fasetto.Word.Core;
namespace Fasetto.Word
{
/// <summary>
/// A shorthand access class to get DI services with nice clean short code
/// </summary>
public static class DI
{
/// <summary>
/// A shortcut to access the <see cref="IUIManager"/>
/// </summary>
... | 33.1875 | 109 | 0.626177 | [
"MIT"
] | Drumahota/fasetto-word | Source/Fasetto.Word/DI/DI.cs | 1,064 | C# |
/*<copyright>
Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process.
Copyright (C) 2013 Dave Clemmer, Intelligent Coding Solutions, LLC
This program is free software: you can redistribute it and/or... | 46.729323 | 244 | 0.586967 | [
"BSD-2-Clause"
] | moplus/modelorientedplus | MoPlus.SolutionBuilder.WpfClient/Library/EditControl.cs | 6,217 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SystemIntegrated.Controllers.Operacao
{
public class OperEstornoVendaController : Controller
{
// GET: OperEstornoVenda
public ActionResult Index()
{
return ... | 20.294118 | 56 | 0.663768 | [
"MIT"
] | NilsonFPereira/SystemIntegrated | SystemIntegrated/Controllers/Operacao/OperEstornoVendaController.cs | 347 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsharpGame.Engine.Base
{
/// <summary>
/// This is a layer to draw sprites in it
/// Every scene have at least one layer
/// </summary>
public class Layer
{
pub... | 24.666667 | 86 | 0.541963 | [
"MIT"
] | MohKamal/CsharpGame | src/CsharpGame.Engine/Base/Layer.cs | 1,408 | C# |
using System;
namespace HanumanInstitute.OntraportApi.Converters
{
/// <summary>
/// Converts a "0" or "1" field into a boolean property.
/// </summary>
public class JsonConverterIntBool : JsonConverterBase<bool?>
{
public override bool? Parse(string? value)
{
// Differ... | 29.818182 | 98 | 0.494919 | [
"BSD-2-Clause"
] | mysteryx93/OntraportApi.NET | OntraportApi/Converters/JsonConverterIntBool.cs | 986 | C# |
namespace TemporalTwist.Model
{
using System.Collections.Generic;
using TagLib;
public class Preset : IPreset
{
private string customExtension;
public Preset()
: this("New Preset")
{
}
public Preset(string name)
{
this.TagTypes... | 22.534884 | 106 | 0.48194 | [
"BSD-3-Clause"
] | blacktau/temporaltwist | TemporalTwist/Model/Preset.cs | 1,940 | C# |
using System;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Reflection;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using FluentFTP.Proxy;
using SysSslProtocols = System.Security.Authentication.SslProtocols;
using FluentFTP.Servers;
using... | 31.25943 | 173 | 0.692016 | [
"MIT"
] | DevDigiAcademy/FluentFTP | FluentFTP/Client/FtpClient_Connection.cs | 33,979 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 31.756098 | 81 | 0.564516 | [
"MIT"
] | BryanSoltis/KenticoMVCWidgetShowcase | CMS/CMSModules/WebAnalytics/Controls/SelectGraphPeriod.ascx.designer.cs | 1,304 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace PocketBar.Views
{
// Learn more about making custom code visible in the Xamarin.Forms previewer
// by visiting https://aka.ms/xamarinf... | 23.681818 | 81 | 0.706334 | [
"MIT"
] | BaristaStudio/PocketBar | PocketBar/PocketBar/Views/PlaygroundPage.xaml.cs | 523 | C# |
namespace Netfox.Core.Interfaces.Model.Exports
{
/// <summary> Distinguishes between different email types behind common interface.</summary>
public enum EMailType
{
/// <summary> An enum constant representing the unknown option.</summary>
Unknown,
/// <summary> An enum constant re... | 33.666667 | 98 | 0.625326 | [
"Apache-2.0"
] | pokornysimon/NetfoxDetective | NetfoxCore/Common/Core/Interfaces/Model/Exports/IEMail.cs | 1,921 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.