content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 33.785714 | 152 | 0.734672 | [
"ECL-2.0",
"Apache-2.0"
] | chivandikwa/pulumi-aws | sdk/dotnet/WafV2/Outputs/WebAclRuleStatementOrStatementStatementAndStatementStatementAndStatementStatementByteMatchStatementFieldToMatchSingleHeader.cs | 946 | C# |
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 4339-9572
namespace wind
{... | 25.111111 | 133 | 0.738938 | [
"Unlicense"
] | tech-ticks/RTDXTools | Assets/Scripts/Stubs/Generated/Assembly-CSharp/wind/WindowUGuiXXX5.cs | 454 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EncantosSalao.Dado.Modelos;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace EncantosSalao.Web.Areas.Ident... | 25.125 | 67 | 0.656716 | [
"MIT"
] | jucdesarlima/EncantosSalao | Web/EncantosSalao.Web/Areas/Identity/Pages/Account/Manage/ShowRecoveryCodes.cshtml.cs | 806 | C# |
using System.Collections.Generic;
using System.Diagnostics;
namespace Xacor.Graphics.Api
{
public abstract class Shader : IShader
{
public IInputLayout InputLayout { get; protected set; }
protected Dictionary<string, string> Macros { get; }
public void AddMacro(string name, string va... | 29.857143 | 119 | 0.64673 | [
"MIT"
] | deccer/Xacor | Xacor.Graphics.Api/Shader.cs | 1,256 | 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... | 41.945513 | 150 | 0.63139 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CloudSearch/Generated/ServiceEnumerations.cs | 26,174 | C# |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 50.25 | 189 | 0.717662 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/FeaturestoreServiceClient.BatchCreateFeaturesResourceNamesAsyncSnippet.g.cs | 3,216 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Convey.Auth;
public class AccessTokenValidatorMiddleware : IMiddleware
{
private readonly IAccessTokenService _accessTokenService;
private readonly IEnumerable<string... | 28 | 101 | 0.698718 | [
"MIT"
] | CJ99/Convey | src/Convey.Auth/src/Convey.Auth/AccessTokenValidatorMiddleware.cs | 1,092 | 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... | 30.64878 | 164 | 0.56438 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Automation/GetRunbook.cs | 6,283 | C# |
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
//
// Purpose: Utilities for working with SteamVR
//
//=============================================================================
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
using Valve.VR;
publi... | 25.463333 | 158 | 0.629336 | [
"MIT"
] | IantheFlyingHawaiian/CVRLabSJSU | Assets/SteamVR/Scripts/SteamVR_Utils.cs | 15,280 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Analyzer.Utilities;... | 51.123711 | 203 | 0.689655 | [
"MIT"
] | AndreasVolkmann/roslyn-analyzers | src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumWithFlagsAttribute.Fixer.cs | 4,959 | C# |
using GraphQL.EntityFramework;
using Xunit;
public class WithManyChildrenGraph :
EfObjectGraphType<WithManyChildrenEntity>
{
public WithManyChildrenGraph(IEfGraphQLService graphQlService) :
base(graphQlService)
{
Field(x => x.Id);
AddNavigationField(name: "child1",
reso... | 29.25 | 68 | 0.6 | [
"MIT"
] | timvandesteeg/GraphQL.EntityFramework | src/Tests/IntegrationTests/Graphs/WithManyChildrenGraph.cs | 587 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.Graphics.Drawables;
using Android.OS;
using Android.Runtime;
using Android.Text;
using Android.Text.Method;
usin... | 27.55653 | 217 | 0.738797 | [
"MIT"
] | APopatanasov/maui | src/Compatibility/ControlGallery/src/Android/CustomRenderers.cs | 28,275 | C# |
using System;
using System.Threading.Tasks;
namespace Jane.Runtime.Caching
{
/// <summary>
/// An interface to work with cache in a typed manner.
/// Use <see cref="CacheExtensions.AsTyped{TKey,TValue}"/> method
/// to convert a <see cref="ICache"/> to this interface.
/// </summary>
/// <typepa... | 34.693878 | 102 | 0.555882 | [
"Apache-2.0"
] | Caskia/Jane | src/Jane/Runtime/Caching/ITypedCache.cs | 3,400 | C# |
namespace EnvCrypt.Core.Verb.DecryptEntry.Audit
{
public class ToFileAuditLoggerConfig
{
public string LogFileExtension = ".log";
/// <summary>
/// {0} = Date & time stamp
/// {1} = EXE name.
/// </summary>
public string FileNameFormat = @"{0}.{1}";
/// ... | 31.6 | 85 | 0.592405 | [
"Apache-2.0"
] | lammichael/EnvCrypt | src/EnvCrypt.Core/Verb/DecryptEntry/Audit/ToFileAuditLoggerConfig.cs | 792 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... | 40.891892 | 113 | 0.754792 | [
"MIT"
] | DianaPalacios03/ventas | Tienda/win.tienda/Properties/AssemblyInfo.cs | 1,531 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace Skender.Stock.Indicators
{
// HISTORICAL QUOTES FUNCTIONS (GENERAL)
public static class HistoricalQuotes
{
private static readonly CultureInfo NativeCulture = Thread.Cu... | 35.991803 | 107 | 0.509451 | [
"Apache-2.0"
] | JCialkowski/Stock.Indicators | indicators/_Common/Quotes/Quotes.Functions.cs | 4,393 | C# |
using CharacterGen.Combats;
using CharacterGen.Domain.Tables;
using CharacterGen.Feats;
using CharacterGen.Magics;
using CharacterGen.Races;
using CharacterGen.Skills;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Feats.Data.Racial.BaseRaces
{
[TestFixture]
public class RakshasaFeatDa... | 32.235897 | 295 | 0.526885 | [
"MIT"
] | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Feats/Data/Racial/BaseRaces/RakshasaFeatDataTests.cs | 6,288 | C# |
public interface IWalletController : IWallet
{
void setCredit(int value);
void adjustCredit(int offset);
void setWager(int value);
void adjustWager(int offset);
void resolveWager();
}
| 20.5 | 44 | 0.707317 | [
"BSD-3-Clause"
] | xinexix/ArrowTableGames | Assets/Scripts/Console/Model/IWalletController.cs | 205 | C# |
namespace MailMirror.Net.Common.Models
{
public class Constants
{
public const int Port = 9000;
public const string MessageIdHeader = "X-MessageId";
}
} | 20.222222 | 60 | 0.648352 | [
"MIT"
] | Silvenga/MailMirror.Net | src/MailMirror.Net.Common/Models/Constants.cs | 184 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace PhoneticMatchingTests.Matchers
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.PhoneticMatching.Matchers.PlaceMatcher;
[TestClass]
public class PlaceMatche... | 32.358586 | 208 | 0.474169 | [
"MIT"
] | Bhaskers-Blu-Org2/PhoneticMatching | src/cs/PhoneticMatchingTests/Matchers/PlaceMatcherTests.cs | 6,409 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Drawing.Drawing2D;
namespace TheDotFactory
{
static class MyExtensions
{
#r... | 36.366366 | 156 | 0.525599 | [
"MIT"
] | chromhelm/the-dot-factory | TheDotFactory/extensions.cs | 12,113 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 28.285714 | 81 | 0.69697 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/MachineLearningServices/Latest/Outputs/CosmosDbSettingsResponse.cs | 792 | C# |
using System;
public static class Program {
public static unsafe void Main (string[] args) {
var ints = new int[] { 0, 1, 2, 3, 4, 5 };
fixed (int* p0 = &ints[0], p1 = &ints[1], p5 = &ints[5]) {
Console.WriteLine((int)(p1 - p0));
Console.WriteLine((int)(p5 - p0));
... | 28.923077 | 66 | 0.5 | [
"MIT"
] | RedpointGames/JSIL | Tests/UnsafeTestCases/SubtractPointers.cs | 378 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.Syntax
{
internal abstract class AbstractWa... | 42.315217 | 161 | 0.647316 | [
"Apache-2.0"
] | DustinCampbell/roslyn | src/Compilers/Core/Portable/Syntax/AbstractWarningStateMap.cs | 3,895 | C# |
using ArdalisRating.Core;
using ArdalisRating.Core.Interfaces;
using ArdalisRating.Core.Raters;
using ArdalisRating.Infrastructure.Loggers;
using ArdalisRating.Infrastructure.PolicySources;
using ArdalisRating.Infrastructure.Serializers;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Mic... | 35.653333 | 143 | 0.633882 | [
"MIT"
] | jjuarezven/SolidPrinciples | WebRating/Startup.cs | 2,676 | C# |
using tvn.cosine.ai.search.csp.inference.api;
namespace tvn.cosine.ai.search.csp.inference
{
/// <summary>
/// Returns an empty inference log.
/// </summary>
/// <typeparam name="VAR"></typeparam>
/// <typeparam name="VAL"></typeparam>
public class InferenceEmptyLog<VAR, VAL> : IInferenceLog<V... | 30.941176 | 70 | 0.619772 | [
"Apache-2.0"
] | itoledo/Birdie.Tesseract | tvn-cosine.ai/tvn-cosine.ai/search/csp/inference/InferenceEmptyLog.cs | 528 | C# |
using Infinispan.HotRod.Tests;
using Infinispan.HotRod.Tests.Util;
using NUnit.Framework;
using System;
using System.Collections;
using System;
namespace Infinispan.HotRod.TestSuites
{
public class XSiteTestSuite
{
internal static HotRodServer server1;
internal static HotRodServer server2;
... | 30.555556 | 120 | 0.637273 | [
"Apache-2.0"
] | infinispan/dotnet-client | test/Infinispan.HotRod.Tests/XSiteTestSuite.cs | 1,100 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Homework_1._4._1
{
class Program
{
static void Main(string[] args)
{
Database mainDataBase = new Database();
CommandController Controller = new ... | 24.517241 | 79 | 0.535865 | [
"MIT"
] | HolyMonkey/Homeworks | Homework 1.4.1/Program.cs | 713 | C# |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Lomo.Core.WebAPI
{
using System.Net.Http;
using System.Diagnostics.Contr... | 33.967532 | 178 | 0.754158 | [
"MIT"
] | BOONRewardsInc/rewards | shared/utils/Core/WebAPI/HttpJsonAsync.cs | 5,231 | 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("St... | 37.540541 | 84 | 0.743701 | [
"MIT"
] | syedabdi/Payments-DesignPatterns | Strategy/Properties/AssemblyInfo.cs | 1,392 | C# |
namespace TatmanGames.Missions.Interfaces
{
public interface IMissionEvaluator
{
/// <summary>
/// logic for determining if the mission is complete. Generally all steps
/// should be complete before the mission is complete.
///
/// "Complete" is determined by other part... | 30.285714 | 82 | 0.599057 | [
"Apache-2.0"
] | tatmanblue/Missions-Dialog | MDStudio/Assets/MissionEngine/Code/Interfaces/IMissionEvaluator.cs | 426 | C# |
using System;
using System.Drawing;
using System.Xml;
using System.Collections;
using System.IO;
using GameManagement;
using LibCore;
using CoreUtils;
using Logging;
using Network;
using ReportBuilder;
namespace Polestar_PM.ReportsScreen
{
public class PM_PortfolioReport
{
static readonly int totalPortfolioNumber... | 35.328076 | 153 | 0.731226 | [
"MIT-0"
] | business-sims-toolkit/business-sims-toolkit | dev/products/eboards/pm/Polestar_PM/Polestar_PM.ReportsScreen/PM_PortfolioReport.cs | 11,199 | 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: AssemblyConfigurat... | 41 | 84 | 0.780488 | [
"Apache-2.0"
] | AngelKyriako/chat-dotnet-core | ChatApp.WS/Properties/AssemblyInfo.cs | 822 | C# |
using dotnet_rpg.Data;
using dotnet_rpg.DTO.User;
using dotnet_rpg.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace dotnet_rpg.Controllers
{
[ApiController]
[Route("[controller]")]
public class AuthController... | 26.92 | 95 | 0.589153 | [
"MIT"
] | GeorgiStanev92/dotnet_rpg | Controllers/AuthController.cs | 1,348 | C# |
using UnityEngine;
using System.Collections;
public class PickSound : MonoBehaviour
{
public bool canPlay = true;
public float timeToSound = 0.2f;
private AudioSource thisAudio;
private void Start()
{
thisAudio = GetComponent<AudioSource>();
StartCoroutine(PlaySound());
}
private IEnumerator PlaySound(... | 15.096774 | 43 | 0.690171 | [
"Apache-2.0"
] | Burketa/miningquest | Assets/Resources/Scripts/Game/PickSound.cs | 470 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 03.02.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 29.124183 | 166 | 0.557899 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Divide/Complete/Int64/Double/TestSet_001__fields.cs | 4,458 | C# |
using UnityEngine;
using FrostweepGames.Plugins.Native;
using UnityEngine.UI;
#if UNITY_WEBGL && !UNITY_EDITOR
using System.Collections.Generic;
using System.Linq;
using System;
#endif
namespace FrostweepGames.Plugins.WebGL.Examples
{
public class LeapSync_Example : MonoBehaviour
{
public AudioSource _... | 22.883436 | 110 | 0.631367 | [
"Apache-2.0"
] | Yu713/daimon | Assets/FrostweepGames/MicrophoneWebGL/Examples/LeapSync_Example/LeapSync_Example.cs | 3,732 | C# |
// <auto-generated />
using System;
using CoreWiki.Data.Security;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace CoreWiki.Data.Security.Migrations
{... | 36.07563 | 195 | 0.468088 | [
"MIT"
] | ChaplinMarchais/CoreWiki | CoreWiki.Data/Security/Migrations/20180801205508_NormalizedRoleNamesToUpper.Designer.cs | 8,351 | C# |
using AGS.Editor.TextProcessing;
using AGS.Types;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace AGS.Editor
{
public partial class DialogEditor : EditorContentPanel
{
private const string dialogKeyWords = "return stop";
private const st... | 38.119632 | 201 | 0.590569 | [
"Artistic-2.0"
] | jonreyno/AGS | Editor/AGS.Editor/Panes/DialogEditor.cs | 12,427 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core.TestFramework;
namespace Azure.AI.Language.Conversations.Tests
{
/// <summary>
/// Test environment settings for the Conversation Analysis SDK.
/// </summary>
public class Con... | 30.6 | 104 | 0.621732 | [
"MIT"
] | Wistlie/azure-sdk-for-net | sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Infrastructure/ConversationAnalysisTestEnvironment.cs | 1,224 | C# |
namespace TaskTronic.Drive
{
using Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Services.Catalogs;
using Services.CompanyDepartments;
using Services.DapperRepo... | 40.301887 | 93 | 0.655899 | [
"MIT"
] | stefanMinch3v/MicroservicesArchitecture | src/TaskTronicApp/TaskTronic.Drive/Startup.cs | 2,136 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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.
[assemb... | 48.711111 | 411 | 0.793796 | [
"MIT"
] | Peter-Schneider/azure-powershell | src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Properties/AssemblyInfo.cs | 2,150 | C# |
/* 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 writing, software
* distribu... | 32.037975 | 219 | 0.578427 | [
"Apache-2.0"
] | 18502079446/cusss | NActiviti/Sys.Bpm.Engine/Engine/impl/bpmn/helper/ErrorThrowingEventListener.cs | 2,557 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using AndroidAudioBypass;
public class M_Master : MonoBehaviour
{
M_Manager key_manage;
public Animator cam_mover;
GameObject cameo;
Camera cam;
Transform cam_move;
Animator cam_ani;
A... | 24.229167 | 67 | 0.460017 | [
"MIT"
] | crosscakeinteractive/UltimateMarimba | M_Master.cs | 4,654 | C# |
using System;
using System.Collections.Generic;
using CppSharp.AST;
using CppSharp.AST.Extensions;
using CppSharp.Generators;
using CppSharp.Generators.AST;
using CppSharp.Generators.CLI;
using CppSharp.Generators.CSharp;
using Attribute = System.Attribute;
using Type = CppSharp.AST.Type;
namespace CppSharp.Types
{
... | 29.960714 | 109 | 0.556562 | [
"MIT"
] | tritao/CppSharp | src/Generator/Types/TypeMap.cs | 8,391 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Telegram.Bot.Types.InlineQueryResults;
using Xunit;
namespace Telegram.Bot.Tests.Integ.Games
{
[Collection(Constants.TestCollections.Games)]
[... | 39.702479 | 121 | 0.6403 | [
"MIT"
] | AKomyshan/Telegram.Bot | test/Telegram.Bot.Tests.Integ/Games/GamesTests.cs | 4,807 | C# |
using System;
using System.ComponentModel.DataAnnotations;
namespace OfficeService.Models
{
public class Space
{
public Guid Guid { get; set; }
public Guid SpaceGuid { get; set; }
}
}
| 16.666667 | 44 | 0.7 | [
"MIT"
] | lanit-office-map/OfficeMap | OfficeMapApi/OfficeService/OfficeService/Models/Space.cs | 202 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace osu.Framework.IO.Stores
{
pub... | 30.704348 | 118 | 0.479468 | [
"MIT"
] | HoutarouOreki/osu-framework | osu.Framework/IO/Stores/ResourceStore.cs | 6,835 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[Test2]
public partial class Test
{ }
[AttributeUsage(AttributeTargets.Struct)]
public partial class TestAttribute: Attribute
{
}
[AttributeUsage(AttributeTargets.All)]
public partial class Test2Attribute: Attribute
{
}
[TestAttribute]
pu... | 15.526316 | 66 | 0.733898 | [
"Apache-2.0"
] | 121468615/mono | mcs/tests/test-partial-07.cs | 590 | C# |
using System;
using UnityEngine;
public class OrderButton : UIButton
{
private UILabel label;
public static OrderButton Current;
public string Text
{
get
{
if (this.label != null)
{
return this.label.originalText;
}
return string.Empty;
}
}
protected override void OnInit()
{
base.OnIn... | 18.432836 | 68 | 0.661538 | [
"MIT"
] | moto2002/tianzi_src2 | src/OrderButton.cs | 1,235 | C# |
/*
* Copyright 2021 ALE International
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify, merge,
* publish... | 34.497297 | 145 | 0.568787 | [
"MIT"
] | ALE-OPENNESS/CSharp-SDK | Internal/Rest/AbstractRestService.cs | 6,384 | C# |
using UnityEngine;
namespace YouInject.Components
{
[DefaultExecutionOrder(-510)]
public class ComponentInjector : MonoBehaviour
{
[SerializeField] private Component _component = null!;
private void Awake()
{
var scopeBuilder = HostUtility.GetSceneScopeBuilder(... | 25.9375 | 87 | 0.653012 | [
"MIT"
] | Holygoe/YouInject | Runtime/Components/ComponentInjector.cs | 417 | C# |
// <copyright file="DescriptiveStatisticsTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining ... | 58.796767 | 169 | 0.635217 | [
"MIT"
] | WeihanLi/mathnet-numerics | src/Numerics.Tests/StatisticsTests/WeightedDescriptiveStatisticsTests.cs | 25,459 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using FYP_APP.Extensions;
using FYP_APP.Models.LogicModels;
using FYP_APP.Models.MongoModels;
using FYP_WEB_APP.Models.MongoModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;... | 31.138528 | 137 | 0.699013 | [
"Apache-2.0"
] | wAikAp/Intelligent-Energy-Management-System-for-Buildings-INB | FYP_WEB_APP/Controllers/AdministrationController.cs | 7,195 | C# |
using System;
using FortnoxNET.Utils;
using Newtonsoft.Json;
namespace FortnoxNET.Models.Vouchers
{
[JsonPropertyClass("Vouchers")]
public class VoucherSubset
{
[JsonProperty(PropertyName = "@Url")]
public string Url { get; set; }
public string ReferenceNumber { get; set; }
... | 28 | 51 | 0.638889 | [
"MIT"
] | PolrSE/fortnox.NET | Fortnox.NET/Models/Voucher/VoucherSubset.cs | 504 | C# |
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Domain
{
/// <summary>
/// MybankPaymentTradeQrcodeCreateModel Data Structure.
/// </summary>
public class MybankPaymentTradeQrcodeCreateModel : AlipayObject
{
/// <summary>
/// 账户分类 对私 private;对公 public
... | 27.420168 | 67 | 0.531413 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Domain/MybankPaymentTradeQrcodeCreateModel.cs | 3,583 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Fhi.Smittestopp.Verification.Domain.Interfaces;
using MediatR;
using Microsoft.Extensions.Logging;
namespace Fhi.Smittestopp.Verification.Domain.DataCleanup
{
public class DeleteExpiredData
{
public class Command : IRequest
... | 40.963636 | 225 | 0.691522 | [
"MIT"
] | folkehelseinstituttet/Fhi.Smittestopp.Verification | Fhi.Smittestopp.Verification.Domain/DataCleanup/DeleteExpiredData.cs | 2,255 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exten... | 29.649123 | 143 | 0.624852 | [
"MIT"
] | VanHakobyan/ISTC_Coding_School | ISTC.FiveStage.Technology/ISTC.FiveStage.Technology.JumpAspNetCore.AspNetCore_03/Startup.cs | 1,690 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AmbientServices
{
/// <summary>
/// An interface that abstracts an ambient caching service.
/// </summary>
/// <remarks>
/// This ... | 58.910714 | 256 | 0.663231 | [
"MIT"
] | AmbientServices/AmbientServices | AmbientServices/Services/Cache.cs | 3,301 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Jint.Native
{
class NativeArrayIndexer<T>: INativeIndexer
{
Marshaller m_marshller;
public NativeArrayIndexer(Marshaller marshaller)
{
if (marshaller == null)
throw new ArgumentNull... | 29.225806 | 131 | 0.644592 | [
"MIT"
] | cosh/Jint | Jint/Native/NativeArrayIndexer.cs | 908 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FRL.IO {
public class HapticTest : MonoBehaviour {
public enum Sample {
None, Full, FullHalf, KnockKnock, SharpTick, BluntTick
}
public AnimationCurve curve;
public float time;
public XRControllerMod... | 28.490196 | 89 | 0.594632 | [
"MIT"
] | amancheung/castlevr | sig18_mini/Assets/FRL.XR/FRL/IO/Tests/HapticTest.cs | 1,455 | 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.Goog... | 38.679245 | 109 | 0.713171 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/Apigee/V1/Outputs/GoogleCloudApigeeV1AddonsConfigResponse.cs | 2,050 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
namespace NeuroSpeech
{
public class TemporaryFile : IDisposable
{
public FileInfo File { get; set; }
public TemporaryFile(string ext, string tempRoot = null)
{
tempRoot = tempRoot ?? Path.GetTempPath();
... | 24.128205 | 99 | 0.481403 | [
"MIT"
] | neurospeech/asp-net-core-node-server | NodePackageService/TemporaryFile.cs | 943 | C# |
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
#if NET6_0_OR_GREATER
namespace GraphQL.AspNet... | 34.222222 | 89 | 0.580241 | [
"MIT"
] | NET1211/aspnet-archive-tools | src/tests/graphql-aspnet-tests/Response/ResponseWriterTests_NET60.cs | 4,314 | C# |
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class HitsMetaData<T> where T : class
{
[JsonProperty("total")]
public long Total { get; internal set; }
[JsonProperty("max_score")]
public double MaxScore { ge... | 22.740741 | 79 | 0.618893 | [
"Apache-2.0"
] | Entroper/elasticsearch-net | src/Nest/Domain/Hit/HitsMetaData.cs | 1,230 | C# |
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using FluentValidation;
using Toast.Common.Exceptions;
using Toast.Sms.Models;
namespace Toast.Sms.Validators
{
/// <summary>
/// This represents the extension entity for the request header.
/// </summary>
public st... | 44.846154 | 157 | 0.643511 | [
"MIT"
] | dltmddn/nhn-toast-notification-service-custom-connector | src/nt-sms/Validators/SendMessagesRequestBodyValidator.cs | 3,498 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 73.586538 | 244 | 0.710375 | [
"Apache-2.0"
] | googleads/google-ads-dotnet | tests/V9/Services/AdGroupSimulationServiceClientTest.g.cs | 15,306 | C# |
namespace FileSynchronizer.Interfaces
{
public interface IFileHashService
{
string ComputeHash(string filepath);
}
}
| 17.25 | 44 | 0.702899 | [
"MIT"
] | SharpCloud/FileSynchronizer | FileSynchronizer/Interfaces/IFileHashService.cs | 140 | C# |
using System;
using DeviceIOControlLib.Objects.Disk;
using DeviceIOControlLib.Objects.Enums;
using DeviceIOControlLib.Utilities;
using Microsoft.Win32.SafeHandles;
namespace DeviceIOControlLib.Wrapper
{
public class DiskDeviceWrapper : DeviceIoWrapperBase
{
public DiskDeviceWrapper(SafeFileHandle handl... | 41.363636 | 176 | 0.672057 | [
"MIT"
] | DamirAinullin/DeviceIOControlLib | DeviceIOControlLib/Wrapper/DiskDeviceWrapper.cs | 6,370 | C# |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using FytSoa.Common;
namespace FytSoa.Service.Repository
{
/// <summary>
/// 定义基本服务
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IBaseService<T> where T : class
... | 31.165414 | 97 | 0.535103 | [
"MIT"
] | RocChing/FytSoa3.1 | FytSoa.Service/Repository/IBaseService.cs | 4,407 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class State
{
public string text;
public int jumpTo = -1;
public bool isQuestion;
public List<Answer> answers;
}
[System.Serializable]
public class Answer
{
public string text;
public int... | 18.1 | 33 | 0.712707 | [
"MIT"
] | Reorso/GJLGameParade | Assets/Scripts/State.cs | 362 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using LambdaUI.Constants;
using LambdaUI.Logging;
using LambdaUI.Minecraft;
using QueryMaster;
using QueryMaster.GameServer;
using Game = QueryMaster.Game;
namespace LambdaUI.Services
{
public static class SourceServerStatusService
... | 36.569231 | 120 | 0.531132 | [
"Apache-2.0"
] | TheRealHona/Lambda | src/LambdaUI/Services/SourceServerStatusService.cs | 4,758 | C# |
<ul id="header-tabs" class="<?cs
if:reference ?>reference<?cs
elif:guide ?>guide<?cs
elif:sdk ?>sdk<?cs
elif:home ?>home<?cs
elif:resources ?>resources<?cs
elif:videos ?>videos<?cs /if ?>">
<li id="home-link"><a href="<?cs var:toroot ?><?cs
if:android.whichdoc != "online" ?>of... | 41.377778 | 116 | 0.632922 | [
"Apache-2.0"
] | OpenExynos/android_build | tools/droiddoc/templates-pdk/header_tabs.cs | 3,815 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight.Messaging;
using CottonDBMS.BridgeApp.ViewModels;
using CottonDBMS.BridgeApp.Pages;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.W... | 38.455882 | 127 | 0.574952 | [
"MIT"
] | bohntech/RFIDGinDataManagement | CottonDBMS/CottonDBMS.BridgeApp/Navigation/NavigationService.cs | 5,232 | C# |
using EventBinder;
using UnityEngine;
public class EventBinderSampleListenerController : MonoBehaviour {
// Use this for initialization
private void Start ()
{
AddListeners();
AddListenersStatic();
}
/**EVENT REGISTRATION*/
private void AddListeners()
{
EventsCollection... | 39.93578 | 141 | 0.686883 | [
"MIT"
] | GeorgeDascalu/Unity-EventBinder | Build/Source Code/Assets/Plugins/EventBinder/Sample/EventBinderSampleListenerController.cs | 4,355 | 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("Umb... | 44.813559 | 92 | 0.79236 | [
"MIT"
] | filipesousa20/Umbraco-CMS-V7 | src/Umbraco.Core/Properties/AssemblyInfo.cs | 2,646 | C# |
namespace NoesisGUI.MonoGameWrapper.Input.Devices
{
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Noesis;
using MouseState = Microsoft.Xna.Framework.Input.MouseState;
using Point = Noesis.Point;
internal class ... | 34.665385 | 129 | 0.548208 | [
"MIT"
] | danieloff/NoesisGUI.MonoGameWrapper | NoesisGUI.MonoGameWrapper/Input/Devices/Mouse.cs | 9,015 | C# |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00021489", true, 0xE1FF)]
[Attributes(9)]
public class LteB18AptCharTblPaRangeList
{
[E... | 21.904762 | 60 | 0.619565 | [
"MIT"
] | HomerSp/EfsTools | EfsTools/Items/Efs/LteB18AptCharTblPaRangeListI.cs | 460 | C# |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... | 35.026578 | 134 | 0.585697 | [
"BSD-3-Clause"
] | N3X15/VoxelSim | OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs | 10,545 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using UnityEngine;
namespace GungeonAPI
{
// Token: 0x02000007 RID: 7
public static class ResourceExtractor
{
// Token: 0x0600002E RID: 46 RVA: 0x000035EC File Offset: 0x000017EC
public static List<Text... | 28.346535 | 125 | 0.684771 | [
"MIT"
] | nota8ot/gungeon-mod-lostitems | GungeonAPI/ResourceExtractor.cs | 5,728 | C# |
namespace BDSA2018.Lecture11.UwpApp.Models
{
public class User
{
public string Id { get; set; }
public string DisplayName { get; set; }
public string GivenName { get; set; }
public string JobTitle { get; set; }
public string Mail { get; set; }
public string Mobil... | 29.8 | 53 | 0.595078 | [
"MIT"
] | ondfisk/BDSA2018 | BDSA2018.Lecture11.UwpApp/Models/User.cs | 449 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using RSHA.Data;
namespace RSHA.Data.M... | 34.252688 | 125 | 0.473709 | [
"MIT"
] | GosuAlex/RSHA | RSHA/Data/Migrations/20190427020902_removedEmailToRequestsModel.Designer.cs | 12,744 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 regenerate... | 61.967221 | 249 | 0.816349 | [
"Apache-2.0"
] | fly566/xamarin-forms-samples | XAML/ResourceDictionaries/Droid/Resources/Resource.designer.cs | 752,406 | C# |
using System;
namespace Farmhand.Attributes
{
/// <summary>
/// Gets the otherwise outputted variable from a HookReturnable marked exit method
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public class MethodOutputBindAttribute : ParameterBindAttribute
{
}
}
| 23.307692 | 86 | 0.716172 | [
"MIT"
] | Entoarox/Stardew-Farmhand | Libraries/Farmhand/Attributes/MethodOutputBindAttribute.cs | 305 | C# |
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms
* and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */
using IBApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Interop... | 22.537634 | 106 | 0.466126 | [
"MIT"
] | dacoders77/TFR | TWS API/source/CSharpClient/activex/ComWrappers/ComUnderComp.cs | 2,098 | C# |
using System;
using System.Linq;
using System.IO;
using GeoCoordinatePortable;
namespace LoggingKata
{
class Program
{
// csv file location - this file was stored internally.
const string csvPath = "TacoBell-US-AL.csv";
static void Main(string[] args)
{
... | 42.076923 | 173 | 0.579525 | [
"MIT"
] | Daniel-Aguirre-TC/TacoParser | LoggingKata/Program.cs | 4,378 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Infinispan.HotRod.Exceptions;
using Infinispan.HotRod.Config;
using Org.Infinispan.Query.Remote.Client;
using System.IO;
using Org.Infinispan.Protostream;
using SampleBankAccount;
using NUnit.Framework;
using System.Threading;
using Infinispan.Ho... | 39.221354 | 132 | 0.544054 | [
"Apache-2.0"
] | snakefoot/dotnet-client | test/Infinispan.HotRod.Tests/ContinuousQueryTest.cs | 15,063 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace LongRunningLegacy
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... | 23.68 | 62 | 0.584459 | [
"MIT"
] | jmenterprisedemo/LongRunningApi | dotnet4.5.2/LongRunningLegacy/App_Start/WebApiConfig.cs | 594 | C# |
/*
* This project 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 http://mozilla.org/MPL/2.0/
* Any copyright is dedicated to the NominalNimbus.
* https://github.com/NominalNimbus
*/
using System;
using System.Run... | 24.43 | 70 | 0.604585 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | NominalNimbus/ServiceNimbus | CommonObjects/Classes/BacktestSummary.cs | 2,445 | C# |
using System;
using Couchbase.Core.DI;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Moq;
using Xunit;
namespace Couchbase.UnitTests
{
public class ConfigurationTests
{
#region Logging
[Fact]
public void Logging_NoLoggerProvided_DefaultsToNu... | 30.804598 | 99 | 0.614552 | [
"Apache-2.0"
] | WallaceValadao/couchbase-net-client | tests/Couchbase.UnitTests/ConfigurationTests.cs | 2,680 | C# |
namespace AdsPortal.WebApi.Infrastructure.Identity.UserManager.Helpers
{
using System;
internal class HashedPassword
{
public int SaltByteSize { get; }
public int SaltIndex { get; }
public string Salt { get; private set; } = string.Empty;
public string Hash { get; private ... | 27.293103 | 94 | 0.576121 | [
"MIT"
] | adambajguz/AdsPortal | src/WebApi/Core/AdsPortal.WebApi.Infrastructure.Identity/UserManager/Helpers/HashedPassword.cs | 1,585 | C# |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... | 30.735294 | 143 | 0.707177 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/jaeger/dotnet/Kubernetes/Crds/Operators/Jaeger/Jaegertracing/V1/Outputs/JaegerSpecVolumesProjectedSourcesConfigMap.cs | 1,045 | C# |
namespace Host.UnitTests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Crest.Abstractions;
using Crest.Host;
using Crest.Host.Diagnostics;
using Crest.Host.Engine;
using Cres... | 42.590664 | 129 | 0.590903 | [
"MIT"
] | samcragg/Crest | test/Host.UnitTests/RequestProcessorTests.cs | 23,725 | C# |
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Messages
{
public string Message { get; set; }
public string VerificationCode { get; set; }
public Messages(string message, string verificationCode)
{
this.Messag... | 24.807229 | 116 | 0.521612 | [
"MIT"
] | Peter-Georgiev/Programming.Fundamentals | RegularExpressions(RegEx)-Exer/05.SoftUniMessages/SoftUniMessages.cs | 2,061 | C# |
using Autofac;
using Autofac.Configuration;
using Autofac.Features.ResolveAnything;
using Microsoft.Extensions.Configuration;
using PeopleViewer.Presentation;
using PeopleViewer.Views;
using PersonRepository.Caching;
using PersonRepository.CSV;
using PersonRepository.Service;
using System.Windows;
namespace Bootstrap... | 26.203704 | 85 | 0.65583 | [
"MIT"
] | Steven-ErHU/LearnProgramming | 03-Pluralsight/CSharp/Dependency_Injection/src/DI/LooseCoupling/Bootstrappter.AutoFac.LateBinding/App.xaml.cs | 1,417 | C# |
using Microsoft.AspNetCore.Mvc;
using SalesWebMvc.Models;
using SalesWebMvc.Models.ViewModels;
using SalesWebMvc.Services;
using SalesWebMvc.Services.Exceptions;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
namespace SalesWebMvc.Controllers
{
public class SellersContro... | 31.5625 | 112 | 0.548911 | [
"Apache-2.0"
] | S-LeonardoGomes/Learn-CSharp | SalesWeb/SalesWebMvc/SalesWebMvc/Controllers/SellersController.cs | 5,052 | C# |
using UnityEngine;
using System.Collections.Generic;
#if UNITY_5_4_OR_NEWER
using UnityEngine.SceneManagement;
#endif
namespace Prime31.ZestKit
{
public partial class ZestKit : MonoBehaviour
{
public static EaseType defaultEaseType = EaseType.QuartIn;
/// <summary>
/// if enabled, does a null check on the o... | 25.633452 | 131 | 0.670554 | [
"Apache-2.0"
] | ElliotMebane/SevenUpDrawPoker | Assets/ZestKit/ZestKit.cs | 7,205 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using IdentityServerHost.Configuration;
using IdentityModel;
using IdentityServer4;
using Microsoft.AspNetCore.Builder;
using Mi... | 37.926108 | 132 | 0.615534 | [
"Apache-2.0"
] | SportAdmin/SportAdmin.IdentityManager | src/SportAdmin.IdentityManager/Startup.cs | 7,699 | C# |
using System.Collections;
using System.Collections.Generic;
using Graphics;
using UnityEngine;
using static Graphics.SpacePointStatic;
public class EnemyMissile : MonoBehaviour {
public GameObject MissileCommand;
public Vector3 Offset = new Vector3(-0.5f, 0.5f, 0.0f);
private EnemyLaunch Launcher;
pri... | 32.765152 | 124 | 0.6 | [
"MIT"
] | jcoder58/Missile-Command | Assets/Scripts/EnemyMissile.cs | 4,327 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Lucene.Net.Toolbox.Tests
{
[TestClass]
public class DiscoveryTests
{
[TestMethod]
public void TestFileSystemDiscovery()
{
// ToDo
}
[TestMethod]
public void TestDefaultDiscovery()
... | 18.2 | 52 | 0.552198 | [
"Apache-2.0"
] | PSneijder/Lucene.Net.ToolBox | Lucene.Net.Toolbox.Tests/DiscoveryTests.cs | 366 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.