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;
namespace sat_dal_mock
{
public class Class1
{
}
}
| 8.777778 | 23 | 0.620253 | [
"MIT"
] | WorthyD/steam-achievement-tracker | tests/sat-dal-mock/Class1.cs | 81 | C# |
var date = new DateTime(2000, 6, 1);
date.ShouldBe(new DateTime(2000, 6, 1, 1, 0, 1), TimeSpan.FromHours(1)); | 54.5 | 72 | 0.678899 | [
"BSD-3-Clause"
] | Lisa3x3x3/shouldly | src/DocumentationExamples/CodeExamples/ShouldBeExamples.DateTime.codeSample.approved.cs | 109 | C# |
using System;
namespace AdventOfCode.Y2021;
class SplashScreenImpl : SplashScreen {
public void Show() {
var color = Console.ForegroundColor;
Write(0xcc00, false, " ▄█▄ ▄▄█ ▄ ▄ ▄▄▄ ▄▄ ▄█▄ ▄▄▄ ▄█ ▄▄ ▄▄▄ ▄▄█ ▄▄▄\n █▄█ █ █ █ █ █▄█ █ █ █ █ █ █▄ ");
Write(0xcc00, ... | 56.521739 | 141 | 0.309423 | [
"MIT"
] | cotenoni/adventofcode | 2021/SplashScreen.cs | 5,374 | C# |
namespace OAuthServer.IdentityServer.Quickstart
{
public class JsonClaim
{
public string Type { get; set; }
public string Value { get; set; }
}
} | 21.75 | 48 | 0.626437 | [
"MIT"
] | yetanotherchris/OAuthServerDocker | OAuthServer.IdentityServer/src/Quickstart/JsonClaim.cs | 176 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PageLayout.Core
{
/// <summary>
/// Represents a double card. It consists of two cards or, in other words, of
/// two double pages. It contains four single pages. Two on the front and
/// two on the back.
... | 24.881356 | 81 | 0.572888 | [
"MIT"
] | jns300/PageLayout | PageLayout/Core/DoubleCard.cs | 1,470 | C# |
using System;
using System.Collections.Generic;
using OalSoft.NET.OpenALSharp;
namespace OalSoft.NET
{
/// <summary>
/// Managed wrapper for an OpenAL Context. A context is attached to a single device. It owns a collection of
/// sources that can be played on the device.
/// </summary>
public seal... | 29.935484 | 112 | 0.56717 | [
"MIT"
] | Jjagg/OalSoft.NET | AlContext.cs | 2,786 | C# |
using System;
using System.Threading.Tasks;
using Coravel.Mailer.Mail.Interfaces;
using Microsoft.AspNetCore.Mvc;
using TestMvcApp.Mailables;
using TestMvcApp.Models;
namespace TestMvcApp.Controllers
{
[Route("Mail")]
public class MailController : Controller
{
private IMailer _mailer;
publ... | 24.85 | 91 | 0.538732 | [
"MIT"
] | Blinke/coravel | Src/IntegrationTests/TestMvcApp/Controllers/MailController.cs | 1,988 | C# |
using System;
using Newtonsoft.Json;
using StoryLine.Rest.Expectations.Services.Expectations;
using StoryLine.Rest.Expectations.Services.Json;
namespace StoryLine.Rest.Expectations.Builders
{
public class JsonBodyExpectationBuilder
{
private readonly HttpResponse _builder;
public JsonBodyExpec... | 35.45614 | 126 | 0.653142 | [
"BSD-3-Clause"
] | DiamondDragon/StoryLine.Rest | StoryLine.Rest/Expectations/Builders/JsonBodyExpectationBuilder.cs | 2,021 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using App.Metrics;
using App.Metrics.Meter;
using MetricsCollector.Abstractions;
using IMeter = MetricsCollector.Abstractions.IMeter;
namespace CodeGeneration.Roslyn.MetricsCollector.AppMetrics
{
public abstract class MetricsCollect... | 33.388889 | 109 | 0.75208 | [
"MIT"
] | as-ivanov/AppBlocks | src/CodeGeneration.Roslyn.MetricsCollector.AppMetrics/MetricsCollectorBase.cs | 1,803 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Reflection.PortableExecutable;
namespace Microsoft.CodeAnalysis.BinaryParsers.PortableExecutable
{
public abstract class ImageHeader
... | 29.48125 | 101 | 0.48781 | [
"MIT"
] | C3rooks/binskim | src/BinaryParsers/PEBinary/PortableExecutable/ImageHeader.cs | 4,719 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WishHeroes.ViewModels;
namespace WishHeroes.Repository.Interfaces
{
public interface IProfile
{
}
}
| 15.8 | 42 | 0.767932 | [
"MIT"
] | TechnicallyWilliams/CoderCamps | WishHeroes/WishHeroes.Repository/Interfaces/IProfile.cs | 239 | 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... | 26.16129 | 81 | 0.657213 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/DocumentDB/V20210315/Outputs/CassandraPartitionKeyResponse.cs | 811 | 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.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Query.Expressions;
namespace Microsoft.E... | 45.735294 | 111 | 0.681029 | [
"Apache-2.0"
] | hqywork/EntityFramework | src/Microsoft.EntityFrameworkCore.SqlServer/Query/ExpressionTranslators/Internal/SqlServerStringReplaceTranslator.cs | 1,555 | C# |
// ReSharper disable InheritdocConsiderUsage
namespace SqlExecuteTests
{
using System;
using System.Collections;
using System.Diagnostics;
using Firefly.SqlCmdParser;
using Firefly.SqlCmdParser.Client;
/// <summary>
/// Concrete argument class for these tests
/// </summary>
/// <s... | 31.038647 | 129 | 0.503969 | [
"MIT"
] | fireflycons/Invoke-SqlExecute | SqlExecuteTests/TestArguments.cs | 6,427 | C# |
using System;
namespace nats_ui.Data.Scripts
{
public interface IScriptCommand : ICheckable
{
string Name { get; }
string ParamName1 { get; }
string ParamName2 { get; }
string Param1 { get; set; }
string Param2 { get; set; }
ExecutionStatus Status { get; set; ... | 25 | 81 | 0.612727 | [
"Unlicense"
] | fremag/nats-ui | Data/Scripts/IScriptCommand.cs | 550 | C# |
namespace DBMS_G15
{
partial class ContractForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... | 57.961207 | 179 | 0.630996 | [
"MIT"
] | HCMUS-Eakan/DBMS-Course | Application/Code/DBMS_G15/DBMS_G15/ContractForm.Designer.cs | 26,957 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Compilation;
namespace Artem.Data.Access.Build {
/// <summary>
///
/// </summary>
public class DalBuildProvider : BuildProvider {
#region Methods //////////////////////////////////////////////////////////////... | 35.413793 | 135 | 0.599805 | [
"MIT"
] | velio/dotnet-data-access | src/Artem.Data.Access/Build/DalBuildProvider.cs | 1,027 | C# |
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
namespace Xlet.Mobile.Views.Dashboard
{
/// <summary>
/// Page to show the health care details.
/// </summary>
[Preserve(AllMembers = true)]
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Heal... | 24.956522 | 82 | 0.621951 | [
"MIT"
] | MattPearce/xlet | Xlet.Mobile/Xlet.Mobile/Xlet.Mobile/Views/Dashboard/HealthCarePage.xaml.cs | 576 | C# |
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4dc2ea6fc4bd045c34a90867a6a72183a3d01323"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAtt... | 82.366013 | 357 | 0.75734 | [
"Apache-2.0"
] | benaadams/AspNetCore-Tooling | src/Razor/test/RazorLanguage.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/DuplicateAttributeTagHelpers_Runtime.codegen.cs | 12,602 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.Extensions.Logging;
using NBitcoin;
using NBitcoin.BuilderExtensions;
using Stratis.Bitcoin.AsyncWork;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.Wallet;
using Stratis.Bitc... | 54.748924 | 220 | 0.65566 | [
"MIT"
] | StratisIain/StratisFullNode | src/Stratis.Bitcoin.Features.ColdStaking/ColdStakingManager.cs | 38,162 | C# |
/*
* The MIT License (MIT)
*
* Copyright (c) 2020 Alistair Leslie-Hughes
*
* 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 ... | 40.27027 | 84 | 0.755034 | [
"MIT"
] | alesliehughes/monoDX | Microsoft.DirectX.DirectPlay/Microsoft.DirectX.DirectPlay/PlayerRemovedFromGroupEventArgs.cs | 1,490 | C# |
#pragma warning disable SA1310 // Field names should not contain underscore
namespace WinSW.Native
{
internal static class Errors
{
internal const int ERROR_ACCESS_DENIED = 5;
internal const int ERROR_INVALID_HANDLE = 6;
internal const int ERROR_INVALID_PARAMETER = 7;
internal ... | 27.846154 | 76 | 0.70442 | [
"MIT"
] | Create-it-cn/winsw | src/Core/WinSWCore/Native/Errors.cs | 364 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace luval.rpa.navigator
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
sta... | 23.08 | 65 | 0.618718 | [
"MIT"
] | Niavart/rpa-navigator | code/luval.rpa.navigator/Program.cs | 579 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Azure.Devices.Client;
usi... | 46.988131 | 155 | 0.628123 | [
"MIT"
] | isabella232/azure-iot-sdk-csharp | e2e/test/iothub/messaging/FaultInjectionPoolAmqpTests.MessageReceiveFaultInjectionPoolAmqpTests.cs | 47,507 | 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.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
{
... | 36.45 | 127 | 0.62332 | [
"Apache-2.0"
] | aneequrrehman/Mvc | test/Microsoft.AspNetCore.Mvc.FunctionalTests/ApplicationModelTest.cs | 7,290 | C# |
namespace AuroraScript.Exceptions
{
public class AuroraScriptException : Exception
{
internal AuroraScriptException(String message) : base(message)
{
}
}
}
| 16.25 | 70 | 0.641026 | [
"MIT"
] | vblegend/AuroraScript | AuroraScript/Exceptions/AuroraScriptException.cs | 197 | C# |
// Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you 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.a... | 42.755725 | 112 | 0.66747 | [
"Apache-2.0"
] | Ben67366/line-bot-sdk-dotnet | tests/LineBot.Tests/Events/Messages/MessageTests.cs | 11,236 | 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... | 38.085714 | 177 | 0.644911 | [
"Apache-2.0"
] | Bynder/aws-sdk-net | sdk/src/Services/DirectConnect/Generated/Model/Internal/MarshallTransformations/AllocatePrivateVirtualInterfaceRequestMarshaller.cs | 3,999 | C# |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq
{
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
public interface IAsyncRemoteQueryProvider : IRemoteQueryProvider
{
... | 30.5 | 114 | 0.75644 | [
"MIT"
] | mrmandrake/maoui | Remote.Linq/IAsyncRemoteQueryProvider.cs | 429 | C# |
namespace YKToolkit.Controls
{
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shell;
/// <summary>
/// YKToolkit.Controls のテーマに則った Window コントロールを... | 39.412081 | 248 | 0.594987 | [
"MIT"
] | Remon-7L/YKToolkit.Controls | YKToolkit.Controls/Themes/Generic.Window.xaml.cs | 32,566 | 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-generated>
//---... | 41.956522 | 344 | 0.586528 | [
"MIT"
] | Joey35233/FoxKit-3 | FoxKit/Assets/FoxKit/Fox/Generated/Fox/PartsBuilder/PartDescription.generated.cs | 3,860 | C# |
//------------------------------------------------------------------------------
// <copyright file="LocateFolderCommand.cs" company="Company">
// Copyright (c) Company. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using Syste... | 36.036036 | 188 | 0.5525 | [
"Apache-2.0"
] | akhilmittal/LocateFileInWindowsExplorer | LocateFolder/Commands/LocateFolderCommand.cs | 4,002 | C# |
using UnityEngine;
public class Background : MonoBehaviour
{
// スクロールするスピード
public float speed = 0.1f;
void Update ()
{
// 時間によってYの値が0から1に変化していく。1になったら0に戻り、繰り返す。
float y = Mathf.Repeat (Time.time * speed, 1);
// Yの値がずれていくオフセットを作成
Vector2 offset = new Vector2 (0, y);
// マテリアルにオフセットを設定する
GetComponent... | 19.6 | 80 | 0.709184 | [
"MIT"
] | z-ohnami/Shooting_sample | Assets/Scripts/Background.cs | 546 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace R5T.Plymouth
{
public static class IWebHostExtensions
{
public static async Task Run(this Task<IWebHost> gettingWebHost)
{
var webHost = await gettingWebHost;
await webHost.RunA... | 18.210526 | 72 | 0.650289 | [
"MIT"
] | SafetyCone/R5T.Plymouth | source/R5T.Plymouth.WebHost/Code/Extensions/IWebHostExtensions.cs | 348 | C# |
using System;
using System.Collections.Generic;
using JetBrains.Metadata.Reader.API;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetB... | 42.555556 | 152 | 0.694778 | [
"Apache-2.0"
] | mfilippov/resharper-unity | resharper/test/src/ShaderLab/Psi/Parsing/ParseThirdPartyShaderTests.cs | 3,830 | C# |
namespace Mapbox.Editor
{
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.SceneManagement;
using UnityEditor;
using System.IO;
using System.Collections;
using Mapbox.Unity;
using Mapbox.Tokens;
using Mapbox.Json;
using Mapbox.Unity.Utilities;
using Mapbox.Unity.Utilities.DebugTools;
u... | 27.690438 | 134 | 0.720339 | [
"Apache-2.0"
] | Anderson-RC/GGJ2018 | Assets/Mapbox/Unity/Editor/MapboxConfigurationWindow.cs | 17,085 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Autofac;
using FluentValidation;
using FluentValidation.Results;
using SmartStore.OfflinePayment.Models;
using SmartStore.OfflinePayment.Settings;
using SmartStore.OfflinePayment.Validators;
using SmartStor... | 30.870201 | 152 | 0.721308 | [
"MIT"
] | jenmcquade/csharp-snippets | SmartStoreNET-3.x/src/Plugins/SmartStore.OfflinePayment/Controllers/OfflinePaymentController.cs | 16,888 | C# |
namespace JsonToEnum.Export {
public enum DestinyRecordCompletionStatus
{
Incomplete = 0,
Complete = 1,
Redeemed = 2
}
} | 18.625 | 46 | 0.624161 | [
"MIT"
] | nine13tech/Destiny-API-Frameworks | C#/Destiny 1/Enum/bin/debug/enums/DestinyRecordCompletionStatus .cs | 149 | C# |
using System.Data.Entity.ModelConfiguration;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace AdventureWorksModel
{
public class EmployeeMap : EntityTypeConfiguration<Employee>
{
public EmployeeMap()
{
// Primary Key
H... | 41.032787 | 106 | 0.567119 | [
"Apache-2.0"
] | NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksModel/Mapping/EmployeeMap.cs | 5,006 | C# |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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 restri... | 40.071429 | 116 | 0.648128 | [
"MIT"
] | Mhtshum/Dnn.Platform | DNN Platform/Library/UI/Skins/Controls/ControlPanel.cs | 2,808 | C# |
using System.Collections.Generic;
using UIForia.Attributes;
using UIForia.Elements;
using UIForia.Layout;
using UIForia.Rendering;
using UIForia.UIInput;
using UnityEngine;
using UnityEngine.PlayerLoop;
namespace SpaceGameDemo.SinglePlayer {
public class ShipData {
public int id;
public string nam... | 31.082803 | 92 | 0.57623 | [
"MIT"
] | criedel/UIForia | Assets/SpaceGameDemo/SinglePlayer/SinglePlayer.cs | 4,882 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleTetris.Display
{
public class ConsoleScreen
{
private StringBuilder _renderBuffer;
public void Init(int width, int height)
{
// Avoid blinking by optimizing the buffering space in console
... | 28.08 | 87 | 0.536562 | [
"Apache-2.0"
] | optiklab/ConsoleTetris | src/Display/ConsoleScreen.cs | 2,108 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 56.132075 | 277 | 0.784202 | [
"Apache-2.0"
] | sudoudaisuke/aws-sdk-net | sdk/src/Services/Rekognition/Properties/AssemblyInfo.cs | 2,975 | C# |
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using Microsoft.Xaml.Behaviors;
namespace Rml.Wpf.Behavior
{
/// <summary>
///
/// </summary>
public class WindowClosingBehavior : Behavior<FrameworkElement>
{
/// <summary>
///
/... | 26.036585 | 114 | 0.507728 | [
"MIT"
] | ryo1988/Rml | Rml.Wpf/Behavior/WindowClosingBehavior.cs | 2,137 | C# |
// <copyright file="RealTimeBuildingAI.cs" company="dymanoid">
// Copyright (c) dymanoid. All rights reserved.
// </copyright>
namespace RealTime.CustomAI
{
using System;
using RealTime.Config;
using RealTime.GameConnection;
using RealTime.Simulation;
using static Constants;
/// <summary>
... | 41.478659 | 162 | 0.602132 | [
"MIT"
] | Louuiss/RealTime | src/RealTime/CustomAI/RealTimeBuildingAI.cs | 13,607 | C# |
//---------------------------------------------------------------------
// This file is part of the CLR Managed Debugger (mdbg) Sample.
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------
using System;
using System.Collections;
usi... | 26.263889 | 77 | 0.483871 | [
"MIT"
] | Inncee81/cs-script.npp | src/Mdbg_v4.0/Mdbg/debugger/corapi/ModuleEnumerator.cs | 1,891 | 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... | 35.811111 | 179 | 0.66708 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/DeleteFieldLevelEncryptionConfigRequestMarshaller.cs | 3,223 | 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection.P... | 41.748603 | 121 | 0.543824 | [
"MIT"
] | AArnott/runtime | src/coreclr/src/tools/crossgen2/ILCompiler.Reflection.ReadyToRun/DebugInfo.cs | 7,473 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Identity
{
internal class EnvironmentVariables
{
public static string Username => Environment.GetEnvironmentVariable("AZURE_USERNAME");
public static string Password =... | 47.238095 | 122 | 0.766129 | [
"MIT"
] | ctstone/azure-sdk-for-net | sdk/identity/Azure.Identity/src/EnvironmentVariables.cs | 994 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... | 26.9125 | 257 | 0.558291 | [
"MIT"
] | Edwardillo/TowerDefenseGame | Doddle Defense/Doddle Defense/Doddle Defense/Effect.cs | 2,155 | 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.Dynamic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Script.Grpc.Mes... | 33.821053 | 103 | 0.574541 | [
"Apache-2.0",
"MIT"
] | AnatoliB/azure-functions-host | src/WebJobs.Script/Workers/Rpc/MessageExtensions/RpcMessageExtensionUtilities.cs | 3,215 | C# |
using System;
using src.Controllers;
using Xunit;
namespace test
{
public class HelloControllerTest
{
private readonly HomeController _homeController;
public HelloControllerTest()
{
_homeController = new HomeController();
}
[Fact]
... | 21.565217 | 57 | 0.552419 | [
"Apache-2.0"
] | azazi-sa/hw-dotnetcore | test/HelloControllerTest.cs | 496 | C# |
using System.IO;
using System.Threading.Tasks;
using NUnit.Framework;
using WebViewControl;
namespace Tests.WebView {
public class ResourcesLoading : WebViewTestBase {
[Test(Description = "Html load encoding is well handled")]
public async Task HtmlIsWellEncoded() {
await Run(async (... | 44.440678 | 163 | 0.610603 | [
"Apache-2.0"
] | danwalmsley/WebView | Tests.WebView/ResourcesLoading.cs | 2,626 | 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 Microsoft.AspNetCore.Builder;
namespace Microsoft.AspNetCore.SpaServices;
internal class DefaultSpaBuilder : ISpaBuilder
{
public IApplicationBuilder Appli... | 29.291667 | 88 | 0.74111 | [
"MIT"
] | AndrewTriesToCode/aspnetcore | src/Middleware/Spa/SpaServices.Extensions/src/DefaultSpaBuilder.cs | 705 | C# |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Drone.Management.AdHoc.TestData;
using Drone.Management.Entities.Interfaces;
using Drone.Management.Migrator.Interfaces;
using Drone.Management.Repository.Interfaces;
using Drone.Management.Repository.Interfaces.RepositoryVa... | 32.247423 | 97 | 0.615409 | [
"MIT"
] | hansehe/Drone.Management | src/Drone.Management.AdHoc/Drone.Management.AdHoc.Migrator/TestDataMigrators/DroneTestDataMigrator.cs | 3,130 | C# |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProjetoFinal.ProdutosMarcas.Dominio;
namespace ProjetoFinal.ProdutosMarcas.Persistencia.EF.Context
{
public class ProdutosMarcasDbContext : DbContext
{
pu... | 34.5 | 99 | 0.648148 | [
"MIT"
] | ariele-fatima/Projeto_Final_C_Sharp | ProjetoFinal.ProdutosMarcas/ProjetoFinal.ProdutosMarcas.Persistencia.EF/Context/ProdutosMarcasDbContext.cs | 1,246 | C# |
using System.Runtime.Serialization;
using CarHist.Cars;
using CarHist.Cars.Events;
using Elders.Cronus;
using Elders.Cronus.Projections;
namespace CarHist.Projections.AllCarsTenant;
[DataContract(Namespace = BC.CarHist, Name = "3b4f8226-8dfc-4b4e-9ff2-96b2f1b3a300")]
public class AllCarsTenantProjection : Projection... | 31.423529 | 122 | 0.622988 | [
"MIT"
] | gshukov98/CarHist | src/CarHist/Projections/AllCarsTenant/AllCarsTenantProjection.cs | 2,673 | C# |
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace DCSoftDotfuscate
{
[ComVisible(false)]
public sealed class GClass286
{
private const string string_0 = "SOFTWARE\\Microsoft\\Internet Explorer";
private const string string_1 = "SOFTWARE\\Microsoft\\W... | 27.18705 | 127 | 0.704684 | [
"MIT"
] | h1213159982/HDF | Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass286.cs | 3,779 | C# |
namespace Quartz.Impl.AdoJobStore
{
/// <summary>
/// Delegate implementation for Firebird.
/// </summary>
public class FirebirdDelegate : StdAdoDelegate
{
/// <summary>
/// Gets the select next trigger to acquire SQL clause.
/// FireBird version with ROWS support.
/... | 32.518519 | 93 | 0.604784 | [
"Apache-2.0"
] | 1508553303/quartznet | src/Quartz/Impl/AdoJobStore/FirebirdDelegate.cs | 880 | C# |
using System;
namespace PipeVision.Domain
{
public interface ITest
{
string Name { get; set; }
string Error { get; set; }
string CallStack { get; set; }
int PipelineJobId { get; set; }
TimeSpan Duration { get; set; }
PipelineJob PipelineJob { get; set; }
}
... | 23.740741 | 56 | 0.578783 | [
"MIT"
] | MHanafy/PipeVision | PipeVision.Domain/Test.cs | 641 | C# |
using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations;
namespace LINGYUN.Abp.FileManagement
{
public class FileUploadDto : FileCreateDto
{
/// <summary>
/// 常规块大小
/// </summary>
[Required]
public int ChunkSize { get; set; }
/// <summary>
... | 23.944444 | 49 | 0.5 | [
"MIT"
] | mysharp/abp-vue-admin-element-typescript | aspnet-core/modules/file-management/LINGYUN.Abp.FileManagement.HttpApi/LINGYUN/Abp/FileManagement/FileUploadDto.cs | 918 | C# |
using YandexDnsAPI.Helpers;
namespace YandexDnsAPI.Models.Request
{
public class GetDnsRequestModel
{
/// <summary>
/// Yandex token
/// </summary>
public string Token { get; set; }
/// <summary>
/// Domain name
/// </summary>
public string Doma... | 21.75 | 61 | 0.551724 | [
"MIT"
] | Silvochka/yandex-dns-api | YandexDnsAPI/YandexDnsAPI/Models/Request/GetDnsRequestModel.cs | 524 | C# |
#pragma checksum "E:\SE\asp_net_exercise\blog\blog\Views\Texts\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "486120f97e3a53cdeb4b6f1f2a81c7fec6bb4b90"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Te... | 57.850829 | 299 | 0.704135 | [
"MIT"
] | Dianaaaa/asp_net_exercise | blog/blog/obj/Debug/netcoreapp2.1/Razor/Views/Texts/Details.g.cshtml.cs | 10,479 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BGE.Forms;
public class ControllableJellyController : CreatureController
{
Boid boid;
public override void Restart()
{
Vector3 newF = Random.insideUnitCircle;
newF.z = newF.y;
newF.y = ... | 19.71875 | 63 | 0.621236 | [
"MIT"
] | skooter500/Forms | Assets/ControllableJellyController.cs | 633 | C# |
using Microsoft.VisualBasic.Activities;
using OpenRPA.Interfaces;
using OpenRPA.Interfaces.Selector;
using System;
using System.Activities;
using System.Activities.Expressions;
using System.Activities.Presentation.Model;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Thr... | 23.6 | 43 | 0.761017 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Mangalya-13/openrpa | OpenRPA/Activities/BreakDesigner.xaml.cs | 592 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace LinqToDB.SqlQuery
{
public class SqlInsertClause : IQueryElement, ISqlExpressionWalkable, ICloneableElement
{
public SqlInsertClause()
{
Items = new List<SqlSetExpression>();
}
public List<SqlSetExpression> Items { get; ... | 21.815217 | 131 | 0.702541 | [
"MIT"
] | FrancisChung/linq2db | Source/LinqToDB/SqlQuery/SqlInsertClause.cs | 2,009 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Scada.Update
{
class Program
{
public static string GetCurrentPath()
{
string p = Assembly.GetExecutingAssembly().Loca... | 20.5 | 94 | 0.444298 | [
"Apache-2.0"
] | luokk/scada | DAQ/Scada.Update/Program.cs | 1,519 | C# |
namespace PnP.Core.Model.Teams
{
/// <summary>
/// The importance of the chat message.
/// </summary>
public enum ChatMessageImportance
{
/// <summary>
/// Normal importance
/// </summary>
Normal,
/// <summary>
/// High importance
/// </summa... | 18.208333 | 43 | 0.466819 | [
"MIT"
] | DonKirkham/pnpcore | src/sdk/PnP.Core/Model/Teams/Public/Enums/ChatMessageImportance.cs | 439 | C# |
using Microsoft.Extensions.DependencyInjection;
using Castle.Windsor.MsDependencyInjection;
using Abp.Dependency;
using LearningBoilerplate.Identity;
namespace LearningBoilerplate.Migrator.DependencyInjection
{
public static class ServiceCollectionRegistrar
{
public static void Register(IIocManager io... | 27.9 | 95 | 0.743728 | [
"MIT"
] | TobiasVargas/LearningBoilerplate | aspnet-core/src/LearningBoilerplate.Migrator/DependencyInjection/ServiceCollectionRegistrar.cs | 560 | C# |
using System.Collections.Generic;
namespace Microsoft.Msagl.Drawing
{
public interface IViewerGraph
{
Graph DrawingGraph
{
get;
}
IEnumerable<IViewerNode> Nodes();
IEnumerable<IViewerEdge> Edges();
}
}
| 13 | 35 | 0.723982 | [
"MIT"
] | Jmerk523/automatic-graph-layout | Drawing/IViewerGraph.cs | 221 | C# |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARR... | 36.873171 | 311 | 0.552322 | [
"Apache-2.0"
] | LiveMirror/Visual-Studio-2010-SDK-Samples | Code Sweep/C#,C++/BuildTask/IgnoreInstance.cs | 7,559 | C# |
#if UNITY_2021_1_OR_NEWER
#define BEE_COMPILATION_PIPELINE
#endif
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Needle.EditorGUIUtility;
using UnityEditor;
using UnityEditor.Build.Player;
using UnityEditor.Compilation;
using UnityEditor.ShortcutMana... | 44.691729 | 218 | 0.535877 | [
"MIT"
] | needle-tools/com.needle.compilation-analysis | Editor/CompilationTimelineWindow.cs | 47,556 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipe... | 47.153846 | 189 | 0.6354 | [
"MIT"
] | BaherAbdullah/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/User.cs | 12,260 | C# |
using Application;
using AspNetCoreRateLimit;
using Infrastructure;
using MediatR;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
usi... | 31.089744 | 106 | 0.549278 | [
"MIT"
] | simplyvinay/api-starter-template | Web/Startup.cs | 2,425 | 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("Si... | 41.138889 | 89 | 0.756246 | [
"Apache-2.0"
] | Access4Learning/sif3-framework-dotnet | Code/Sif3FrameworkDemo/Sif.Framework.Demo.Us.Provider/Properties/AssemblyInfo.cs | 1,484 | C# |
using DrumbleApp.Shared.Messages.Enums;
using DrumbleApp.Shared.Messages.Base;
using DrumbleApp.Shared.ValueObjects;
namespace DrumbleApp.Shared.Messages.Classes
{
public sealed class TwitterAccessMessage : BaseMessage<TwitterAccessMessage>
{
public TwitterAccessMessageReason Reason { get; private set... | 29.758621 | 99 | 0.677868 | [
"MIT"
] | CodeObsessed/drumbleapp | DrumbleApp.Shared/Messages/Classes/TwitterAccessMessage.cs | 865 | 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.md file in the project root for more information.
using System;
using System.Linq;
using Microsoft.Build.Construction;
using Xunit;
namespace Microsoft.VisualSt... | 35.217391 | 201 | 0.587901 | [
"MIT"
] | 77-A/.Net-Project | tests/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/Build/BuildUtilitiesTests.cs | 11,808 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Xb
{
/// <summary>
/// String functions
/// 文字列関連関数群
/// </summary>
/// <remarks></remarks>
public class Str
{
/// <summary>
/// Double-Quote
/// </summary>
private const str... | 32.14164 | 139 | 0.422716 | [
"MIT"
] | ume05rw/Xb.Core | Xb.Core.PCL4.5/Xb/Str.cs | 32,543 | C# |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Configuration;
using PMCommonEntities.Models;
using PMUnifiedAPI.Models;
namespace PMFundManagerConsole
{
public class PseudoMarketsDbContext : DbContext
{
public DbSet<Ps... | 34.714286 | 97 | 0.726337 | [
"MIT"
] | pseudomarkets/PMFundManagerConsole | PMFundManagerConsole/PseudoMarketsDbContext.cs | 974 | C# |
using Expressive.Expressions;
using Expressive.Expressions.Binary.Logical;
namespace Expressive.Operators.Logical
{
internal class OrOperator : OperatorBase
{
#region OperatorBase Members
public override string[] Tags => new[] { "||", "or" };
public override IExpression BuildExpressi... | 26.6 | 126 | 0.666165 | [
"MIT"
] | denispakizh/expressive | Source/CSharp/Expressive/Expressive/Operators/Logical/OrOperator.cs | 667 | C# |
using OpenQA.Selenium;
using OpenQA.Selenium.Appium;
using System.Diagnostics;
using TestWare.Core.Libraries;
using TestWare.Engines.Appium.WinAppDriver.Configuration;
namespace TestWare.Engines.Appium.WinAppDriver.Factory
{
internal static class WindowsDriverFactory
{
private const int _waitFor... | 37.298851 | 160 | 0.614792 | [
"MIT"
] | ctrl-alt-d/net6-automation-testware | src/Engines/TestWare.Engines.WinAppDriver/Factory/WindowsDriverFactory.cs | 3,247 | C# |
using System;
using Microsoft.AspNetCore.Http;
namespace DatingApp.API.Dtos
{
public class PhotoForCreationDto
{
public string Url { get; set; }
public IFormFile File { get; set; }
public string Description { get; set; }
public DateTime DateAdded { get; set; }
public st... | 23.736842 | 48 | 0.596452 | [
"MIT"
] | Fractal-Technology/dateNow | DateNow.API/DatingApp.API/Dtos/PhotoForCreationDto.cs | 451 | C# |
namespace Domains.Core.Subdomains.Battle.Code.Interfaces
{
public interface IChargingMeterView
{
float ChargeValue { get; set; }
}
} | 21.714286 | 56 | 0.690789 | [
"MIT"
] | migus88/Slapality | Assets/Domains/Core/Subdomains/Battle/Code/Interfaces/IChargingMeterView.cs | 152 | 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.Linq.Expressions;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Micro... | 53.213087 | 210 | 0.623708 | [
"Apache-2.0"
] | 1kevgriff/aspnetcore | src/Mvc/Mvc.Core/src/ControllerBase.cs | 155,329 | C# |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A P... | 44.603774 | 129 | 0.554357 | [
"MIT"
] | ayhrgr/Windows-universal-samples | Samples/Geolocation/cs/Scenario1_TrackPosition.xaml.cs | 9,247 | C# |
using MonkeyConfAr.ViewModels;
using Xamarin.Forms;
namespace MonkeyConfAr.Views
{
public partial class PlaneTrackingPage : ContentPage
{
public PlaneTrackingPageViewModel ViewModel
{
get => BindingContext as PlaneTrackingPageViewModel;
}
public PlaneTrackingPage()... | 21.92 | 64 | 0.614964 | [
"MIT"
] | r2d2rigo/MonkeyConfAR | src/MonkeyConfAr/MonkeyConfAr/Views/PlaneTrackingPage.xaml.cs | 550 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "CFM_654",
"name": [
"热心的酒保",
"Friendly Bartender"
],
"text": [
"在你的回合结束时,为你的英雄恢复#1点生命值。",
"At the end of your turn, restore #1 Health to your hero."
],
"cardClass": "NEUTRAL",
"type": "MINION",
"cost": 2,
"rarity": "COMMON",
"set": "GANGS",
"collectib... | 24.170213 | 108 | 0.523768 | [
"MIT"
] | chi-rei-den/Silverfish | cards/GANGS/CFM/Sim_CFM_654.cs | 1,189 | C# |
using TableauCri.Models.Configuration;
namespace TableauCri.Models.Configuration
{
public class TableauApiSettingsSource : TableauApiSettings { }
}
| 21.857143 | 66 | 0.816993 | [
"Apache-2.0"
] | sgchoe/TableauCri | TableauCri/Models/Configuration/TableauApiSettingsSource.cs | 153 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace PSDocs.Models
{
public sealed class Text : DocumentNode
{
public override DocumentNodeType Type => DocumentNodeType.Text;
public string Content { get; set; }
}
}
| 21.384615 | 71 | 0.679856 | [
"MIT"
] | BernieWhite/PSDocs | src/PSDocs/Models/Text.cs | 280 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using ServiceStack.Formats;
using ServiceStack.Html;
using ServiceStack.Markdown;
using ServiceStack.Support.Markdown;
using ServiceStack.Testing;
using ServiceStack.VirtualPath;
namespace ServiceStack.ServiceHost.Tes... | 27.942029 | 127 | 0.5611 | [
"Apache-2.0"
] | MinistryOfMagic/ServiceStack | tests/ServiceStack.ServiceHost.Tests/Formats/IntroductionLayoutTests.cs | 9,298 | C# |
namespace MBran.Components.Models
{
public class RenderOptionsDefinition
{
public string Name { get; set; }
public string Value { get; set; }
public string Description { get; set; }
}
}
| 23.2 | 48 | 0.594828 | [
"MIT"
] | markglibres/mbran-umbraco-components | src/MBran.Components/Models/RenderOptionsDefinition.cs | 234 | C# |
using System;
using System.Drawing;
using DotNet.Highcharts.Enums;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Helpers;
namespace DotNet.Highcharts.Options
{
/// <summary>
/// A wrapper object for all the series options in specific states.
/// </summary>
public class PlotOptionsScatterStates
{
/... | 21.52381 | 68 | 0.736726 | [
"MIT"
] | juniorgasparotto/SpentBook | samples/dotnethighcharts-28017/DotNet.Highcharts/DotNet.Highcharts/Options/PlotOptionsScatterStates.cs | 452 | C# |
using EasyPagination.Core.Extensions;
using Shouldly;
using Xunit;
namespace EasyPagination.Async.Tests;
public class AsyncPageTests
{
private readonly ICollection<Entity> _items;
public AsyncPageTests()
{
_items = EntityGenerator.Create(2500);
}
[Fact]
public async Task Should_prov... | 26.666667 | 84 | 0.637891 | [
"MIT"
] | morozyan/EasyPagination | src/EasyPagination.Async.Tests/AsyncPageTests.cs | 2,562 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Xels.Bitcoin.AsyncWork;
using Xels.Bitcoin.Base;
using Xels.Bitcoin.Utilities;
namespace Xels.Bitcoin.Features.BlockStore.Pruning
{
/// <inheritdoc/>
public sealed class... | 39.857143 | 140 | 0.64727 | [
"MIT"
] | xels-io/SideChain-SmartContract | src/Xels.Bitcoin.Features.BlockStore/Pruning/PruneBlockStoreService.cs | 4,745 | C# |
using EventStore.Core.Exceptions;
using EventStore.Core.TransactionLog.Chunks.TFChunk;
using NUnit.Framework;
namespace EventStore.Core.Tests.TransactionLog
{
[TestFixture]
public class when_opening_tfchunk_from_non_existing_file: SpecificationWithFile
{
[Test]
public void it_should_throw_a... | 32 | 136 | 0.740234 | [
"Apache-2.0"
] | shaan1337/EventStore | src/EventStore.Core.Tests/TransactionLog/when_opening_tfchunk_from_non_existing_file.cs | 512 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Input;
using Prism.Navigation;
using ReactiveUI;
using Samples.Infrastructure;
using Shiny.Notifications;
namespace Samples.Notifications
{
public class ChannelListViewModel : ViewModel
{
public ChannelListViewMod... | 31.964912 | 113 | 0.511526 | [
"MIT"
] | moljac/shinysamples | Samples/Notifications/ChannelListViewModel.cs | 1,824 | C# |
using HotChocolate.Types;
using Snapshooter.Xunit;
using Xunit;
namespace HotChocolate.Data.Filters
{
public class EnumOperationInputTests
{
[Fact]
public void Create_OperationType()
{
// arrange
// act
ISchema schema = SchemaBuilder.New()
... | 28.097826 | 85 | 0.42205 | [
"MIT"
] | damikun/hotchocolate | src/HotChocolate/Data/test/Data.Filters.Tests/Types/EnumOperationInputTypeTests.cs | 2,585 | C# |
////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009, Daniel Kollmann
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted
// provided that the following conditions are met:... | 40.300613 | 318 | 0.6928 | [
"BSD-3-Clause"
] | SVemulapalli/Brainiac-Designer | Brainiac Designer Base/Attributes/DesignerEnum.cs | 6,569 | C# |
namespace FMData.Rest.Responses
{
/// <summary>
/// Authentication Response
/// </summary>
public class AuthResponse : BaseResponse
{
/// <summary>
/// Wrapper for the Response object from FileMaker API.
/// </summary>
public AuthResponseResult Response { get; set; }... | 25.230769 | 63 | 0.591463 | [
"MIT"
] | Chevreuil41/fmdata | src/FMData.Rest/Responses/AuthResponse.cs | 330 | C# |
using System;
using AVFoundation;
using Accelerate;
using AudioToolbox;
using AudioUnit;
using CoreAnimation;
using CoreAudioKit;
using CoreGraphics;
using Foundation;
using GLKit;
using ObjCRuntime;
using UIKit;
namespace EZAudioKit
{
// @interface EZAudioDevice : NSObject
[BaseType(typeof(NSObject))]
inter... | 42.646986 | 261 | 0.761087 | [
"MIT"
] | NashZhou/EZAudioXamarinBinding | EZAudio/EZAudioBinding/EZAudioBinding/ApiDefinition.cs | 68,621 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.