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.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("Machine.Specifications.FailingExa... | 39.666667 | 85 | 0.758703 | [
"MIT"
] | rho24/machine.specifications | Source/Machine.Specifications.FailingExample/Properties/AssemblyInfo.cs | 835 | C# |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Text;
namespace Markdig.Helpers
{
public static class StringBuilderCache
{
/// <summary>
... | 29.83871 | 119 | 0.577297 | [
"BSD-2-Clause"
] | lellid/markdig | src/Markdig/Helpers/StringBuilderCache.cs | 925 | C# |
using UnityEngine;
using System.Collections;
public class EnemySpawnerController : MonoBehaviour {
public int delay;
public Transform instancier;
public GameObject enemy;
private int charge = 1;
void Update ()
{
if (charge == 1)
{
StartCoroutine(enemyInstancier()... | 20.724138 | 69 | 0.620632 | [
"MIT"
] | Mario40000/Heroic_Adventure | Assets/Scripts/Enemy/EnemySpawnerController.cs | 603 | C# |
using System;
using System.Drawing;
using NAudio.Wave;
namespace NAudio.WaveFormRenderer
{
public class WaveFormRenderer
{
public Image Render(string selectedFile, WaveFormRendererSettings settings)
{
return Render(selectedFile, new MaxPeakProvider(), settings);
}
... | 43.058252 | 153 | 0.560992 | [
"MIT"
] | quellatalo/NAudio.WaveFormRenderer | WaveFormRendererLib/WaveFormRenderer.cs | 4,437 | 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... | 28.03125 | 88 | 0.586957 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-alicloud | sdk/dotnet/Ess/Outputs/GetScalingConfigurationsConfigurationDataDiskResult.cs | 1,794 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
namespace JRunner.Panels
{
public partial class XeBuildPanel : UserControl
{
List<String> patches = new List<string>(new ... | 38.197166 | 252 | 0.510549 | [
"MIT"
] | X360Tools/J-Runner-Pro | J-Runner/Panels/XeBuildPanel.cs | 61,996 | 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... | 27.441176 | 88 | 0.675241 | [
"ECL-2.0",
"Apache-2.0"
] | davide-talesco/pulumi-keycloak | sdk/dotnet/OpenId/Outputs/ClientPermissionsMapRolesScope.cs | 933 | C# |
using ScriperLib.Configuration;
namespace Scriper.TimeSchedule
{
public interface IScriptSchedulerManagerAdapter
{
void Add(IScriptConfiguration scriptConfiguration);
void Remove(string scriptName);
void Replace(IScriptConfiguration scriptConfiguration);
}
}
| 24.75 | 63 | 0.750842 | [
"MIT"
] | Gramli/Scriper | ScriperSol/Scriper/TimeSchedule/IScriptSchedulerManagerAdapter.cs | 299 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BinarySqlDataTypeRepresentation.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ----------------------------------------... | 39 | 173 | 0.561637 | [
"MIT"
] | NaosProject/Naos.SqlServer | Naos.SqlServer.Domain/Model/DataTypeRepresentation/BinarySqlDataTypeRepresentation.cs | 2,030 | C# |
using System;
using System.Collections.Generic;
using Traces.Web.Models.Files;
namespace Traces.Web.Models
{
public class CreateTraceItemModel
{
public CreateTraceItemModel()
{
DueDate = DateTime.Now;
}
public string Title { get; set; }
public string Descri... | 23.242424 | 73 | 0.645372 | [
"MIT"
] | apaleo/oss-traces | src/Traces.Web/Models/CreateTraceItemModel.cs | 767 | 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 System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Text;
using Microsoft.AspNetCore.H... | 30.701923 | 128 | 0.573598 | [
"Apache-2.0"
] | Elfocrash/Mvc | test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/ApiControllerTest.cs | 12,772 | C# |
using Amazon.Lambda.Core;
using MailCheck.Common.Messaging.Sqs;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.Json.JsonSerializer))]
namespace MailCheck.Spf.Poller
{
public class SpfPollerLambdaEnt... | 29.125 | 99 | 0.744635 | [
"Apache-2.0"
] | ukncsc/MailCheck.Public.Spf | src/MailCheck.Spf.Poller/SpfPollerLambdaEntryPoint.cs | 466 | C# |
using UnityEngine;
#if UNITY_2019_1 || UNITY_2019_2 //HDRP 5.x, 6.x
using UnityEngine.Experimental.Rendering.HDPipeline;
#else //HDRP 7.x and above
using UnityEngine.Rendering.HighDefinition;
#endif
[RequireComponent(typeof(Camera), typeof(HDAdditionalCameraData))]
public class HDRPRenderTextureBlitter : Mo... | 33.195122 | 120 | 0.565026 | [
"MIT"
] | JesusGarciaValadez/UnityRenderStreaming | Assets/RenderPipeline/HDRP/Scripts/HDRPRenderTextureBlitter.cs | 1,363 | C# |
// <auto-generated />
using EstateManagement.Models;
using EstateManagement.Models.DataBase;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage... | 32.791531 | 117 | 0.467269 | [
"MIT"
] | zbikowskiL/EstateManagement | EstateManagement/Migrations/20180122001858_test3.Designer.cs | 10,069 | C# |
using System.Threading.Tasks;
using ReduxSharp;
namespace Counter
{
public class AppReducer : IReducer<AppState>
{
public AppState Invoke<TAction>(AppState state, TAction action)
{
if (action is CountUpAction)
{
return new AppState
{
... | 23.431373 | 80 | 0.446025 | [
"MIT"
] | tnakamura/ReduxSharp | examples/Counter/AppReducer.cs | 1,197 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Drawing.Inter... | 36.05312 | 137 | 0.520358 | [
"MIT"
] | belav/runtime | src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.Windows.cs | 42,759 | C# |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | 52.428571 | 382 | 0.827657 | [
"Apache-2.0"
] | 113771169/PTVS | Python/Product/TestAdapter/Properties/AssemblyInfo.cs | 1,468 | 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 ... | 18.458824 | 63 | 0.643085 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-cloudphoto/CloudPhoto/Model/V20170711/RenameAlbumResponse.cs | 1,569 | C# |
using Tempus.Abstractions.Events;
using Tempus.Abstractions.Exceptions;
namespace Tempus.Aggregates
{
public abstract class AggregateRoot
{
private readonly List<IEvent> _changes = new List<IEvent>();
public AggregateState State { get; set; }
public Guid AggregateIdentifier { get; se... | 27 | 102 | 0.505902 | [
"MIT"
] | andrewbroekman/Tempus | src/Tempus/Aggregates/AggregateRoot.cs | 2,459 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class ATests
{
[TestMethod]
public void TestMethod1()
{
var input = @"2 3 4";
var output = @"52";
Tester.InOutTest(() => Tasks.A.Solve(), input, output);
... | 23.707317 | 67 | 0.467078 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | ABC/ABC039/Tests/ATests.cs | 972 | C# |
using System;
using System.Collections.Generic;
namespace BitFab.KW1281Test.Blocks
{
class NakBlock : Block
{
public NakBlock(List<byte> bytes) : base(bytes)
{
Dump();
}
private void Dump()
{
Logger.WriteLine("Received NAK block");
}
... | 17.105263 | 55 | 0.538462 | [
"MIT"
] | IJskonijn/kw1281test | Blocks/NakBlock.cs | 327 | C# |
using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Threading;
namespace Neat_Note
{
public partial class DF : Window
{
MainWindow ma... | 32.091787 | 126 | 0.54072 | [
"MIT"
] | farhin00farhin/NeatNote | Neat Note/DF.xaml.cs | 6,645 | 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.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.DataAnnotations;
using Microsoft.Extensions.Localization;
namespace Mvc.Lo... | 33.771429 | 111 | 0.666667 | [
"Apache-2.0"
] | GhalamborM/Entropy | samples/Mvc.LocalizationSample.Web/CustomValidationAttributeAdapterProvider.cs | 1,184 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.DotNet.UpgradeAssistant.Dependencies;
using Microsoft.Extensions.Logging;
usin... | 43.338235 | 215 | 0.667798 | [
"MIT"
] | johanbenschop/upgrade-assistant | src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Packages/Analyzers/UpgradeAssistantReferenceAnalyzer.cs | 2,949 | C# |
using System.Reflection;
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("AWSSDK.CloudHSM")]
[assembly: AssemblyDesc... | 52.15625 | 397 | 0.761534 | [
"Apache-2.0"
] | phillip-haydon/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/CloudHSM/Properties/AssemblyInfo.cs | 1,669 | C# |
using System;
namespace SsitEngine.Unity.WebRequest
{
/// <summary>
/// Web 请求管理器接口。
/// </summary>
public interface IWebRequestManager
{
/// <summary>
/// 获取 Web 请求代理总数量。
/// </summary>
int TotalAgentCount { get; }
/// <summary>
/// 获取可... | 32.364341 | 109 | 0.529102 | [
"BSD-2-Clause"
] | jojo-WJ/SsitEngine | Assets/SsitFramework/SsitEngine.Unity/Manager/WebRequestManager/Interface/IWebRequestManager.cs | 4,991 | 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 ... | 24.601307 | 134 | 0.674548 | [
"Apache-2.0"
] | bbs168/aliyun-openapi-net-sdk | aliyun-net-sdk-slb/Slb/Model/V20140515/ModifyVServerGroupBackendServersRequest.cs | 3,764 | C# |
namespace Moviq.Domain.Auth.Tests
{
using Couchbase;
using Enyim.Caching.Memcached;
using Enyim.Caching.Memcached.Results;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Moviq.Interfaces.Factories;
using Moviq.Interfaces.Models;
using Mo... | 33.142857 | 127 | 0.609298 | [
"MIT"
] | pomonav/Heinz95729 | dotnet/Moviq.Domain.Auth.Tests/UserRepositoryFixture.cs | 3,250 | C# |
using System;
using Xamarin.Forms;
using System.Collections.Generic;
namespace GlowingBrain.DataCapture.Views
{
public class SimpleListView : StackLayout
{
public static readonly BindableProperty ItemsProperty = BindableProperty.Create<SimpleListView, IList<View>> (
p => p.Items,
new List<View> (),
Bindin... | 23.115385 | 112 | 0.674709 | [
"MIT"
] | davidjcaton/glowingbrain-data-capture | src/GlowingBrain.DataCapture/Views/SimpleListView.cs | 1,202 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | 40.974843 | 494 | 0.610284 | [
"MIT"
] | AzureAutomationTeam/azure-sdk-for-net | src/SDKs/DataLake.Analytics/Management.DataLake.Analytics/Generated/Models/JobInnerError.cs | 6,515 | C# |
//创建者:Icarus
//手动滑稽,滑稽脸
//ヾ(•ω•`)o
//https://www.ykls.app
//2019年06月14日-02:55
//Assembly-CSharp
using System;
using Shader.MessageObjects;
using UnityEngine;
namespace Chat.Component
{
public partial class ChatComponent
{
public static event Action<SendMesgResponses> SendMessageEve;
}
} | 17.166667 | 69 | 0.718447 | [
"MIT"
] | yika-aixi/MagicOnionDemo | Assets/Scripts/Chat/Component/ChatEvents.cs | 342 | C# |
/*
* OANDA v20 REST API
*
* The full OANDA v20 REST API Specification. This specification defines how to interact with v20 Accounts, Trades, Orders, Pricing and more.
*
* OpenAPI spec version: 3.0.15
* Contact: api@oanda.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
u... | 34.9375 | 141 | 0.564699 | [
"Apache-2.0"
] | 3ai-co/Lean | Brokerages/Oanda/RestV20/Model/CalculatedTradeState.cs | 5,031 | 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.745 | 110 | 0.591083 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/QuickSight/Generated/Model/UpdateDataSetRequest.cs | 6,549 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebPubSub.Common;
using Microsoft.Exten... | 46.164319 | 230 | 0.574291 | [
"MIT"
] | daniellezhang/azure-sdk-for-net | sdk/webpubsub/Microsoft.Azure.WebPubSub.AspNetCore/src/Internal/ServiceRequestHandlerAdapter.cs | 9,835 | C# |
using NUnit.Framework;
using Problems.Leetcode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProblemTest
{
[TestFixture]
public class TwoSumTest
{
private List<Tuple<int[], int>> _inputData;
private Random _r... | 28.26087 | 118 | 0.447179 | [
"MIT"
] | MaxIakovliev/Problems | ProblemTest/TwoSumTest.cs | 1,952 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.Collections.Generic;
using System.Runtime.Comp... | 37.103654 | 234 | 0.537352 | [
"MIT"
] | MRW-Eric/MixedRealityToolkit-Unity | Assets/MRTK/SDK/Features/UX/Scripts/BoundingBox/BoundingBox.cs | 99,514 | C# |
using System.Collections.Generic;
using System.IO;
using PizzaBox.Domain.Abstracts;
using PizzaBox.Domain.Models;
using PizzaBox.Storing;
namespace PizzaBox.Domain.Singletons
{
/// <summary>
///
/// </summary>
public class StoreSingleton
{
readonly private string _storesPath = "Stores.xml"... | 25.545455 | 87 | 0.508897 | [
"MIT"
] | Kugelsicher/pizzabox_p1 | PizzaBox.Domain/Singletons/StoreSingleton.cs | 1,405 | C# |
using AutoFixture;
using FluentAssertions;
using TramsDataApi.DatabaseModels;
using TramsDataApi.Factories;
using Xunit;
namespace TramsDataApi.Test.Factories
{
public class AcademyConversionProjectNoteResponseFactoryTests
{
private readonly Fixture _fixture;
public AcademyConversionProjectNot... | 30.967742 | 103 | 0.698958 | [
"MIT"
] | DFE-Digital/trams-data-api | TramsDataApi.Test/Factories/AcademyConversionProjectNoteResponseFactoryTests.cs | 960 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SEIDR.Test
{
[TestClass]
public class DocRandTest
{
Doc.DocValueRandom r = new Doc.DocValueRandom();
[TestMethod... | 31.364706 | 126 | 0.52138 | [
"MIT"
] | maron6/SEIDR | SEIDR.Test/DocRandTest.cs | 2,668 | C# |
using AutoMapper;
using EasyManager.Application.Interfaces;
using EasyManager.Application.ViewModels;
using EasyManager.Domain.Commands;
using EasyManager.Domain.Core.Bus;
using EasyManager.Domain.Interfaces;
using EasyManager.Infra.Data.Repository.EventSourcing;
namespace EasyManager.Application.Services
{
public... | 38.642857 | 134 | 0.625693 | [
"Apache-2.0"
] | fahelmoreira/EasyManagerERP | src/EasyManager.Application/Services/BankAccountAppService.cs | 1,082 | C# |
using System;
using System.Collections.ObjectModel;
namespace S22.Mail
{
[Serializable]
public class SerializableAttachmentCollection : Collection<SerializableAttachment>, IDisposable
{
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged reso... | 24.3125 | 114 | 0.717224 | [
"MIT"
] | castle-it/S22.Mail | SerializableMailMessage/SerializableAttachmentCollection.cs | 391 | C# |
using System;
using Xamarin.Forms;
namespace MicrosoftHouse
{
public class CustomEntry : Entry
{
/// <summary>
/// The font property
/// </summary>
public static readonly BindableProperty FontProperty =
BindableProperty.Create("Font", typeof(Font), typeof(CustomEntry), new Font());
/// <summary>
///... | 25.915493 | 102 | 0.691848 | [
"MIT"
] | Menne/Microsoft-House | App/MicrosoftHouse/MicrosoftHouse/Controls/CustomEntry.cs | 1,842 | 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>
//---------------------------------... | 36.916968 | 100 | 0.537942 | [
"Apache-2.0",
"BSD-3-Clause"
] | nguyenppt/biscorebanksys | DesktopModules/TrainingCoreBanking/BankProject/OpenCustomerAccount.ascx.designer.cs | 10,228 | C# |
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.EKS.Cluster
{
/// <summary>
/// AWS::EKS::Cluster
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html
/// </summary>
public class ClusterResourc... | 47.091837 | 194 | 0.624702 | [
"MIT"
] | stanb/Comformation | src/Comformation/Generated/EKS/Cluster/ClusterResource.cs | 4,615 | C# |
using Chloe.Core;
using Chloe.Core.Visitors;
using Chloe.DbExpressions;
using Chloe.Descriptors;
using Chloe.Entity;
using Chloe.Exceptions;
using Chloe.Infrastructure;
using Chloe.InternalExtensions;
using Chloe.Utility;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Syste... | 34.776119 | 154 | 0.645064 | [
"MIT"
] | 1163891508/Chloe | src/Chloe.PostgreSQL/PostgreSQLContext_Helper.cs | 2,332 | C# |
// <developer>niklas@protocol7.com</developer>
// <completed>100</completed>
using System;
using System.Xml;
namespace SharpVectors.Dom.Css
{
/// <summary>
/// This interface represents a CSS view. The getComputedStyle
/// method provides a read only access to the computed values of
/// an element. ... | 31.291667 | 106 | 0.687084 | [
"BSD-3-Clause"
] | GuillaumeSmartLiberty/SharpVectors | Main/Source/SharpVectorCore/Css/ICssView.cs | 751 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.StudentRecords
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrou... | 21.918033 | 136 | 0.732984 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.StudentRecords/Student_GradeObjectType.cs | 1,337 | C# |
using System;
using System.Collections.Generic;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using Akavache;
using GitHub.Caches;
using GitHub.Factories;
using GitHub.Services;
using NSubstitute;
using R... | 46.5625 | 160 | 0.659304 | [
"MIT"
] | Acidburn0zzz/Github-io-VisualStudio | src/UnitTests/GitHub.App/Caches/ImageCacheTests.cs | 8,197 | C# |
namespace SampleProject.Application.Customers.IntegrationHandlers
{
using Configuration.DomainEvents;
using Domain.Customers;
using Newtonsoft.Json;
public class CustomerRegisteredNotification : DomainNotificationBase<CustomerRegisteredEvent>
{
public CustomerRegisteredNotification(Custome... | 29.954545 | 102 | 0.698027 | [
"MIT"
] | gabrielesteveslima/net-public-sample-dotnet-core-cqrs-api | src/SampleProject.Application/Customers/IntegrationHandlers/CustomerRegisteredNotification.cs | 661 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace HelpScoutSharp
{
public class Thread : IHasId
{
public class Action
{
public string type { get; set; }
public string text { get; set; }
//public associatedEntities
}
... | 21.512605 | 57 | 0.497656 | [
"MIT"
] | better-reports/HelpScoutSharp | HelpScoutSharp/Conversations/Threads/Thread.cs | 2,562 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EmitLogDirect")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Asse... | 25.810811 | 56 | 0.713089 | [
"Apache-2.0"
] | luoyefeiwu/Jerry | Jerry/RabbitMQ/Routing/EmitLogDirect/Properties/AssemblyInfo.cs | 1,314 | C# |
using System;
using System.IO;
using System.Xml;
namespace xharness
{
static class PListExtensions
{
public static void LoadWithoutNetworkAccess (this XmlDocument doc, string filename)
{
using (var fs = new FileStream (filename, FileMode.Open, FileAccess.Read)) {
var settings = new XmlReaderSettings ()
... | 31.432432 | 111 | 0.715105 | [
"BSD-3-Clause"
] | ludovic-henry/xamarin-macios | tests/xharness/PListExtensions.cs | 3,491 | C# |
namespace Shared.Group_003
{
using Xunit;
public class Benchmark048Tests
{
[Fact] public void Test_001() { }
[Fact] public void Test_002() { }
[Fact] public void Test_003() { }
[Fact] public void Test_004() { }
[Fact] public void Test_005() { }
[Fact] public ... | 37.220339 | 41 | 0.529144 | [
"MIT"
] | chan18/fixie.benchmark | src/Shared/Group_003/Benchmark048Tests.cs | 2,196 | C# |
using System;
using System.IO;
using Dapper;
using FewBox.Core.Persistence.Orm;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace FewBox.Core.Persistence.UnitTest
{
[TestClass]
public class OrmSessionUnitTest
{
private ICurrentUser<Guid> CurrentUser { get; set; }
pri... | 39.229008 | 239 | 0.535707 | [
"Apache-2.0"
] | FewBox/FewBox.Core.Persistence | FewBox.Core.Persistence.UnitTest/OrmSessionUnitTest.cs | 5,141 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 54.217173 | 282 | 0.578229 | [
"MIT"
] | SebastianBienert/AdvancedDatabase | ChinookDatabase/DataSources/_Xml/Schema/ChinookDataSet.Designer.cs | 335,281 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Stencil.SDK
{
public class ListResult<T> : ActionResult
{
public ListResult()
{
this.items = new List<T>();
}
public ListResult(List<T> items)
{
this.... | 24.327586 | 70 | 0.532955 | [
"MIT"
] | DanMasterson1/stencil | Source/Stencil.Server/Stencil.SDK.Shared/ListResult.cs | 1,413 | C# |
// <copyright file="SqlServerNaturalKeyRepository.cs" company="dddlib contributors">
// Copyright (c) dddlib contributors. All rights reserved.
// </copyright>
namespace dddlib.Persistence.SqlServer
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlCli... | 45.453901 | 146 | 0.579342 | [
"MIT"
] | cameronfletcher/dddlib | src/dddlib.Persistence/SqlServer/SqlServerNaturalKeyRepository.cs | 6,411 | C# |
namespace Infrastructure.EntityFrameworkDataAccess.Migrations
{
using System;
using Microsoft.EntityFrameworkCore.Migrations;
public partial class ExternalUserIdAdded : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<str... | 38.762712 | 102 | 0.54613 | [
"Apache-2.0"
] | phmatray/clean-architecture-manga | src/Infrastructure/EntityFrameworkDataAccess/Migrations/20191116221510_ExternalUserIdAdded.cs | 2,287 | C# |
using System;
using System.Collections.Generic;
namespace OneSignalSDK_WP_WNS {
public class OneSignal {
public const string VERSION = "010100";
public delegate void NotificationReceived(string message, IDictionary<string, string> additionalData, bool isActive);
public static NotificationRecei... | 26.918033 | 123 | 0.693666 | [
"MIT"
] | Festyk/OneSignal-WindowsPhone-SDK | Source/OneSignalWP_WNS_UnityShell/OneSignal.cs | 1,644 | C# |
/*
Copyright 2018 Digimarc, 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 35.175 | 120 | 0.711443 | [
"Apache-2.0"
] | abowergroup/whalerator | lib/Whalerator.Integration/TestSettings.cs | 1,409 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmddi.h(2843,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _DXGK_POWER_RUNTIME_COMPONENT
{
public uint StateCount;
[MarshalAs(Un... | 34.73913 | 89 | 0.709637 | [
"MIT"
] | bbday/DirectN | DirectN/DirectN/Generated/_DXGK_POWER_RUNTIME_COMPONENT.cs | 801 | C# |
using System;
using System.Diagnostics;
using System.Collections.Generic;
using Fizz.Chat;
namespace Fizz.Common
{
public static class FizzUtils
{
public static void DoCallback (Action callback)
{
if (callback != null)
{
try
{
... | 29.437086 | 122 | 0.468391 | [
"MIT"
] | FizzCorp/Fizz-Unity-Client | Assets/FizzClient/Scripts/Common/FizzUtils.cs | 4,447 | C# |
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 33.247113 | 121 | 0.533968 | [
"Apache-2.0"
] | Jonathan435/Tizen-CSharp-Samples | Mobile/BasicCalculator/src/BasicCalculator/BasicCalculator/ViewModels/CalculatorViewModel.cs | 14,401 | C# |
using Microsoft.VisualStudio.Modeling;
using nHydrate.Dsl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace nHydrate.DslPackage.Forms
{
public partial class IndexesForm : Form
{
private object _lockObject = new object();
privat... | 32.55 | 98 | 0.423195 | [
"MIT"
] | aTiKhan/nHydrate | Source/nHydrate.DslPackage/Forms/IndexesForm.cs | 5,208 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Module.Core.Data;
namespace WebHost.Migrations
{
[DbContext(typeof(SimplDbContext))]
partial class SimplDbC... | 31.830498 | 117 | 0.438226 | [
"Apache-2.0"
] | JuRogn/BaseProject | src/WebHost/Migrations/SimplDbContextModelSnapshot.cs | 52,395 | C# |
using System.ComponentModel.DataAnnotations;
namespace CustomerQuery.Models
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[Display(Name = "User name")]
public string UserName { get; set; }
}
public class ManageUserViewModel
{
[Required]
[Da... | 30.71875 | 110 | 0.604781 | [
"MIT"
] | azurechamp/AppServiceCamp | Presentation/Web/Demo2 - Cache Azure Table Storage/source/CustomerQuery/Models/AccountViewModels.cs | 1,968 | C# |
using Domain.Primary.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Persistence.Primary.Configurations
{
public class CommentRateConfig : IEntityTypeConfiguration<CommentRate>
{
public void Configure(EntityTypeBuilder<CommentRate> builde... | 29 | 74 | 0.550792 | [
"Apache-2.0"
] | BobMakhlin/XNews-backend | src/Persistence.Primary/Configurations/CommentRateConfig.cs | 1,075 | C# |
using Sabio.Web.Domain;
using Sabio.Web.Models.Responses;
using Sabio.Web.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Sabio.Web.Controllers.Api
{
[RoutePrefix("api/squadssquadTags")]
public class SquadsS... | 31.424242 | 72 | 0.679846 | [
"MIT"
] | entrotech/deployapp | Sabio.Web/Controllers/Api/SquadsSquadTagsAPIController.cs | 1,039 | C# |
using Moq;
using NUnit.Framework;
using System;
using TestStack.FluentMVCTesting;
using ToDoList.Models;
using ToDoList.Models.Enums;
using ToDoList.Services.Contracts;
using ToDoList.Web.Areas.User.Controllers;
using ToDoList.Web.Models.TaskViewModels;
namespace ToDoList.Web.Tests.Controllers.ToDoListControllerTests... | 38.081395 | 136 | 0.641832 | [
"MIT"
] | mkjordanov/ToDoList | ToDoList.Web.Tests/Controllers/ToDoListControllerTests/EditListSould.cs | 3,277 | C# |
// <auto-generated />
using System;
using MaestroApp.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Met... | 31.920028 | 108 | 0.440436 | [
"MIT"
] | dviltres18/MaestroApp | aspnet-core/src/MaestroApp.EntityFrameworkCore/Migrations/20190727204054_addcampoviajeorigen.Designer.cs | 45,105 | 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... | 28.210526 | 104 | 0.652985 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Shield/Generated/Model/DescribeAttackResponse.cs | 1,608 | C# |
namespace SentimentAnalyzer.Services.Data
{
using System.Linq;
using MovieMind.Data.Common;
using SentimentAnalyzer.Data.Models;
public class WordsOccurrencesService : IWordsOccurrencesService
{
private readonly IDbRepository<WordOccurrences> wordOccurrences;
public WordsOccurrenc... | 26.586207 | 86 | 0.639429 | [
"MIT"
] | gbelcheva/MovieMind | Source/Services/SentimentAnalyzer.Services.Data/WordsOccurrencesService.cs | 773 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 33.789474 | 152 | 0.575234 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Antiddos/V20200309/Models/BGPIPInstance.cs | 7,586 | C# |
namespace doorman_db_api.data.interfaces
{
using entities;
using implementations.entities;
using System;
using System.Data.Entity;
public interface IContext : IDisposable
{
DbSet<CardEntity> Cards { get; }
int SaveChanges();
void SetModified(IEntity entity);
}
}
| 21.133333 | 43 | 0.659306 | [
"MIT"
] | pandawan91/doorman-db-api | doorman-db-api/doorman-db-api-data/interfaces/IContext.cs | 319 | C# |
using BattleTech;
using Harmony;
using System;
using System.Collections.Generic;
using UnityEngine;
using us.frostraptor.modUtils;
namespace AurasHelper {
[HarmonyPatch(typeof(AuraCache), "UpdateAura")]
[HarmonyPatch(new Type[] { typeof(AbstractActor), typeof(AbstractActor), typeof(Vector3), typeof(Ability),... | 54.643192 | 181 | 0.611822 | [
"MIT"
] | IceRaptor/AurasHelper | AurasHelper/AurasHelper/Patches/Patches.cs | 11,641 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace TenisKortProjesi
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.ax... | 24.333333 | 99 | 0.590753 | [
"MIT"
] | erhan11040/Csharp-MVC-TennisCourt-RentApp | TenisKortProjesi/TenisKortProjesi/App_Start/RouteConfig.cs | 586 | C# |
using CandyFramework.Core.Interface.BusinessLayer;
using CandyFramework.Entity.Entity.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CandyFramework.BusinessLayer.Interface
{
public interface ISettingService : IBaseService<Se... | 23.375 | 64 | 0.786096 | [
"MIT"
] | fatihgurdal/CandyFramework | CandyFramework.BusinessLayer/Interface/ISettingService.cs | 376 | C# |
/*
* Copyright (c) 2011-2014, Longxiang He <helongxiang@smeshlink.com>,
* SmeshLink Technology Co.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY.
*
* This file is part of the CoAP.NET, a CoAP framework in C#.
* Please see README for more information.
*/
name... | 41.04 | 126 | 0.688109 | [
"BSD-3-Clause"
] | Com-AugustCellars/CoAP-CSharp | CoAP.NET/Util/Delegates.cs | 1,028 | C# |
using NUnit.Framework;
namespace SFA.DAS.Data.Application.UnitTests.Gateways.RoatpGatewayTests
{
[TestFixture]
public class WhenIGetProvider : RoatpGatewayTestsBase
{
[Test]
public void WithNullUkPrnReturnsNull()
{
var provider = RoatpGateway.GetProvider(null);
... | 25.666667 | 71 | 0.625 | [
"MIT"
] | SkillsFundingAgency/das-data | src/SFA.DAS.Data.Application.UnitTests/Gateways/RoatpGatewayTests/WhenIGetProvider.cs | 618 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Planets
{
class Physics
{
//Gravitational constant for use in Newton's law of universal gravitation
private static double GravConst = .00000000006673;
//Lists to keep track of all the objects created by the user
private Li... | 28.436482 | 83 | 0.646392 | [
"MIT"
] | JohnAChoi/Planets | Physics.cs | 8,732 | C# |
namespace BESL.Application.Tests.Games.Commands.Create
{
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CloudinaryDotNet;
using Moq;
using Microsoft.AspNetCore.Http;
using Shouldly;
using Xunit;
using BESL.Appl... | 54.666667 | 928 | 0.682023 | [
"MIT"
] | SonnyRR/BESL | BESL.Application.Tests/Games/Commands/Create/CreateGameCommandTests.cs | 4,442 | C# |
// ------------------------------------------------------------------------------
// <copyright file="CodeCatchClauseCollection.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------... | 47.198675 | 181 | 0.558299 | [
"Unlicense"
] | bestbat/Windows-Server | com/netfx/src/framework/compmod/system/codedom/codecatchclausecollection.cs | 7,127 | C# |
/*
MIT License
Copyright (c) 2019 Digital Ruby, LLC - https://www.digitalruby.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 rights
to ... | 41.313953 | 157 | 0.653251 | [
"MIT"
] | fran1987/IPBan | IPBanCore/IPBanMain.cs | 3,555 | C# |
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using Newtonsoft.Json;
using NPOI.SS.Util;
using NPOI.HSSF.Util;
namespace SummitReports.Objects
{
[Flags]
public enum CellBorder
{
... | 44.534435 | 215 | 0.559879 | [
"MIT"
] | ajoyce-sim/SummitReports | Src/SummitReports.Objects/Classes/NpoiStyles.cs | 16,168 | 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.Linq;
using System.Text;
using Microsoft.Extensions.ObjectPool;
using Microsoft.Extensions.... | 37.848485 | 132 | 0.498685 | [
"Apache-2.0"
] | belav/aspnetcore | src/Middleware/ResponseCaching/src/ResponseCachingKeyProvider.cs | 8,743 | C# |
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Certes;
using LettuceEncrypt.Acme;
using Microsoft.Extensions.Logging;
namespace LettuceEncrypt.Internal
{
internal class AcmeClientFactory
{
private re... | 29.677419 | 111 | 0.698913 | [
"Apache-2.0"
] | ANDDEV-OSS/LettuceEncrypt | src/LettuceEncrypt/Internal/AcmeClientFactory.cs | 920 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 07.12.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 29.801325 | 151 | 0.564222 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Funcs/NullableInt16/SET001/STD/Equals/Complete/Int64/TestSet_001__fields__01__VV.cs | 4,502 | C# |
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 50: SteamVR.dll - Assembly: SteamVR, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 7133-7547
namespace Valve.VR... | 33.5 | 117 | 0.753731 | [
"MIT"
] | TotalJTM/PrimitierModdingFramework | Dumps/PrimitierDumpV1.0.1/Valve/VR/SteamVR_Skeleton_FingerIndexes.cs | 940 | C# |
using CourtTask.Interfaces;
using CourtTask.Models.Citizens;
using System;
using System.Collections.Generic;
using System.Text;
namespace CourtTask.Models
{
public interface ILegalEntity : IPerson
{
string Position { get; }
int YearsOfExperience { get; }
int LawsuitsCount { get; set... | 19.545455 | 59 | 0.67907 | [
"MIT"
] | BorislavVladimirov/Microinvest-Academy | MicroinvestOOP/Abstraction/MicrointvestAbstraction/CourtTask/Models/LegalEntities/Interfaces/ILegalEntity.cs | 432 | C# |
namespace SFA.DAS.Support.Shared.SearchIndexModel
{
public enum SearchCategory
{
None,
User,
Account,
Apprentice
}
} | 16.1 | 50 | 0.57764 | [
"MIT"
] | SkillsFundingAgency/das-support-portal | src/SFA.DAS.Support.Shared/SearchIndexModel/SearchCategory.cs | 163 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Uhuru.WindowsIsolation.Cmd
{
class Program
{
static void Main(string[] args)
{
string invokedVerb = null;
object invokedVerbInstance = null;
... | 34.289474 | 100 | 0.47736 | [
"Apache-2.0",
"MIT"
] | UhuruSoftware/vcap-dotnet | src/Uhuru.WindowsIsolation.Cmd/Program.cs | 2,608 | C# |
//------------------------------------------------------------------------------
// <copyright file="CacheOutputQuery.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primar... | 38.779221 | 143 | 0.534829 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/ndp/fx/src/Xml/System/Xml/XPath/Internal/CacheOutputQuery.cs | 2,986 | C# |
namespace DncZeus.Api.ViewModels.Rbac.DncIcon
{
/// <summary>
///
/// </summary>
public class IconImportViewModel
{
/// <summary>
///
/// </summary>
public string Icons { get; set; }
}
}
| 12.047619 | 45 | 0.478261 | [
"MIT"
] | SkyGrass/ttxy | DncZeus.Api/ViewModels/Rbac/DncIcon/IconImportViewModel.cs | 255 | C# |
using System;
using Microsoft.Xna.Framework;
namespace MonoCollisionFramework
{
public interface IWorld
{
Matrix World
{
get;
}
}
}
| 13 | 32 | 0.565934 | [
"MIT"
] | djmacgames/MonoCollisionFramework | MonoCollide/MonoCollisionFramework/IWorld.cs | 184 | C# |
//-----------------------------------------------------------------------------
// <copyright file="MockHttpRequestFactory.cs" company="Amazon.com">
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may... | 36.434783 | 116 | 0.615155 | [
"Apache-2.0"
] | FinanzaPro/aws-xray-sdk-dotnet | sdk/test/UnitTests/Tools/MockHttpRequestFactory.cs | 1,678 | C# |
using AlonsoAdmin.Entities.System;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace AlonsoAdmin.Services.System.Request
{
/// <summary>
/// 添加实体类 要么继承 数据库实体类,要么属性尽量取名一致(除非迁就前端),避免automapper做对应映射处理
/// </summary>
public class GroupAddRequest
... | 19.472973 | 61 | 0.618321 | [
"MIT"
] | alonsoalon/TenantSite.Server | Src/AlonsoAdmin.Services/System/Request/GroupRequest.cs | 1,653 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... | 37.479076 | 168 | 0.542294 | [
"MIT"
] | belav/runtime | src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/ShiftRightLogicalRoundedNarrowingSaturateUpper.Vector128.SByte.1.cs | 25,973 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Windows.Data;
namespace XC.MediaRat {
/// <summary>
/// Converts string to timecode
/// </summary>
public class StringTCConverter : IValueConverter {
#region IValueCo... | 44.09375 | 172 | 0.594614 | [
"MIT"
] | xcrover/MediaRat | MediaRat/Common/StringTCConverter.cs | 2,824 | 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/strmif.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
pub... | 33.714286 | 145 | 0.704802 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/strmif/TVAudioMode.cs | 710 | C# |
//-----------------------------------------------------------------------------
// Filename: RTPSession.cs
//
// Description: Represents an RTP session constituted of a single media stream. The session
// does not control the sockets as they may be shared by multiple sessions.
//
// Author(s):
// Aaron Clauson ... | 46.5919 | 154 | 0.550749 | [
"BSD-3-Clause"
] | salihy/sipsorcery | src/net/RTP/RTPSession.cs | 14,958 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.