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;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace OpenSleigh.Persistence.InMemory.Tests.Unit
{
internal class FakeLogger<T> : ILogger<T>
{
private readonly List<(LogLevel, string, Exception)> _logs = new();
public void Log<TState>(LogLevel l... | 29.482759 | 97 | 0.625731 | [
"Apache-2.0"
] | Magicianred/OpenSleigh | tests/OpenSleigh.Persistence.InMemory.Tests/Unit/FakeLogger.cs | 857 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using FubuCore;
using StoryTeller.Engine;
namespace StoryTeller.Domain
{
public class Section : ITestPart, IPartHolder
{
private readonly List<ITestPart> _parts = new List<ITestPart>();
... | 23.663507 | 86 | 0.483677 | [
"Apache-2.0"
] | mtscout6/StoryTeller2 | src/StoryTeller/Domain/Section.cs | 4,993 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using PizzaBox.Domain.Models;
using PizzaBox.Domain;
using System.Net.Mime;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace PizzaBox.Service.Controllers
{
[Rou... | 30.72807 | 112 | 0.53811 | [
"MIT"
] | 210329-UTA-SH-UiPath/P1_Miles_Plurad | PizzaBox.Service/Controllers/PizzaSizeController.cs | 3,505 | C# |
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Server.Messages;
namespace OmniSharp.Extensions.LanguageServer.Server.Messages
{
public class ServerNotInitialized : RpcError
{
internal ServerNotInitialized(string method) : base(null, method, new ErrorMessage(-32002, "Server Not ... | 27.923077 | 125 | 0.730028 | [
"MIT"
] | Devils-Knight/csharp-language-server-protocol | src/Server/Messages/ServerNotInitialized.cs | 365 | 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
*
... | 30.468354 | 83 | 0.592023 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Bm/V20180423/Models/DescribeUserCmdsRequest.cs | 2,519 | C# |
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
[UnityEngine.AddComponentMenu("Wwise/AkSpatialAudioEmitter")]
[UnityEngine.RequireComponent(typeof(AkGameObj))]
///@brief Add this script on the GameOb... | 41.207358 | 191 | 0.725347 | [
"MIT"
] | Xenation/SHMUP-Swarm | Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs | 12,321 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using DddEfteling.ParkTests.Entities;
using DddEfteling.Shared.Controls;
using DddEfteling.Shared.Entities;
using Geolocation;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace DddEfteling.ParkTe... | 40.222222 | 106 | 0.650092 | [
"MIT"
] | Ruubmeister/DddEfteling | DddEfteling.UnitTests/DddEfteling.ParkTests/Shared/Locations/Controls/LocationServiceTest.cs | 5,430 | 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.
//
// Generated on 2020 October 09 04:45:49 UTC
// </auto-generated>
//--------------... | 35.230769 | 107 | 0.587773 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/runtime/defs_freebsd_arm_timespecStruct.cs | 2,290 | 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... | 30.657895 | 108 | 0.636052 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CodeCommit/Generated/Model/GetRepositoryTriggersResponse.cs | 2,330 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using OpenDreamShared;
using OpenDreamShared.Network.Messages;
using Robust.Shared.Configuration;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Network;
namespace OpenDreamRuntime.Resources
{
public class DreamResourceManager... | 34.57265 | 162 | 0.603708 | [
"MIT"
] | TemporalOroboros/OpenDream | OpenDreamRuntime/Resources/DreamResourceManager.cs | 4,047 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.ResourceManager;
namespace Azure.ResourceManager.Network
{
... | 38.682927 | 174 | 0.760404 | [
"MIT"
] | AntonioVT/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/LongRunningOperation/VirtualNetworkGatewayNatRuleOperationSource.cs | 1,586 | C# |
/////////////////////////////////////////////////////////////////////////////////////////////////
//
// Favalon - An Interactive Shell Based on a Typed Lambda Calculus.
// Copyright (c) 2018-2020 Kouji Matsui (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use... | 33.647059 | 107 | 0.587618 | [
"Apache-2.0"
] | kekyo/Favalon | Favalet.Core/Environments.cs | 9,724 | C# |
using MiauCore.IO.Areas.Admin.Models;
using MiauCore.IO.Domain.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MiauCore.IO.Controllers
{
[Route("api/[controller]")]
public cl... | 24.906977 | 107 | 0.593838 | [
"MIT"
] | MIAUUUUUUU/Sticky.io | src/MiauCore.IO/Controllers/AccountController.cs | 1,073 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Enum
{
[TestClass]
public class EnumTest
{
private enum Animal //Value type that is a set of named constants
{
Dog,
Bear
}
[TestMethod]
public void EnumComparison()
{
... | 22.833333 | 118 | 0.583942 | [
"MIT"
] | MartinChavez/CSharp | SchoolOfCSharp/Enum/EnumTest.cs | 550 | C# |
namespace ClosedXML.Excel
{
//Use the class to store magic strings or variables.
public static class XLConstants
{
public const string PivotTableValuesSentinalLabel = "{{Values}}";
public const int NumberOfBuiltInStyles = 163;
internal static class Comment
{
... | 30.0625 | 80 | 0.636175 | [
"MIT"
] | monoblaine/ClosedXML | ClosedXML/Excel/XLConstants.cs | 466 | C# |
using System.Collections.Generic;
namespace WebApplication.Models.Options
{
public class SecurityRoleAssignments
{
public bool IsSubjectAreaScoped { get; set; }
public string SecurityGroupId { get; set; }
public List<string> AllowActions { get; set; } = new List<string>();
}
}
| 26.333333 | 76 | 0.677215 | [
"MIT"
] | JonHarding/azure-data-services-go-fast-codebase | solution/WebApplication/WebApplication/Models/Options/SecurityRoleAssignments.cs | 318 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Breeze.Sharp;
using Breeze.Sharp.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Foo;
using System.Collections.Specialized;
using System.Compo... | 30.010101 | 111 | 0.715921 | [
"MIT"
] | Breeze/breeze.sharp | Tests/Internal/Tests/MetadataTests.cs | 2,973 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ForgedOnce.GlslLanguageServices.LanguageModels.Ast
{
public abstract class AstNode
{
protected Dictionary<string, string> annotations;
public const string PrintableUnknownName = "$unnamed$";
prot... | 24.582677 | 91 | 0.43786 | [
"MIT"
] | YevgenNabokov/ForgedOnce.GLSLLanguageServices | ForgedOnce.GlslLanguageServices.LanguageModels/Ast/AstNode.cs | 3,124 | C# |
/****************************************************************************
* Copyright 2019 Nreal Techonology Limited. All rights reserved.
*
* This file is part ... | 35.408922 | 156 | 0.518215 | [
"MIT"
] | PlanBGmbH/PlanB.-Famous-Cube | Nreal/Assets/NRSDK/Scripts/Capture/FrameCaptureContext.cs | 9,527 | 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.
namespace System.Windows.Forms {
// Defined in such a way that you can cast the relation to an AnchorStyle and ... | 62.363636 | 116 | 0.697522 | [
"MIT"
] | HankiDesign/winforms | src/System.Windows.Forms/src/System/Windows/Forms/TextImageRelation.cs | 1,374 | C# |
using Microsoft.Extensions.Configuration;
namespace SFA.DAS.QnA.Configuration.Infrastructure
{
public static class AzureTableStorageConfigurationExtensions
{
public static IConfigurationBuilder AddAzureTableStorageConfiguration(this IConfigurationBuilder builder, string connection, string appName, stri... | 38.153846 | 184 | 0.778226 | [
"MIT"
] | SkillsFundingAgency/das-qna-api | src/SFA.DAS.QnA.Configuration/Infrastructure/AzureTableStorageConfigurationExtensions.cs | 496 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using LinqToDB.DataProvider.Firebird;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class DynamicColumnsTests : TestBase
{
// Introduced to ensure that... | 30.945671 | 127 | 0.644977 | [
"MIT"
] | Partiolainen/linq2db | Tests/Linq/Linq/DynamicColumnsTests.cs | 18,229 | C# |
/*************************************************************************
* Copyright ? 2018-2019 Mogoson. All rights reserved.
*------------------------------------------------------------------------
* File : HermiteHoseEditor.cs
* Description : Editor for HermiteHose component.
*-----------------... | 36.760417 | 117 | 0.4259 | [
"Apache-2.0"
] | mogoson/CodeProject | SkinnedMeshEditor/CurveHose/HermiteHoseEditor.cs | 3,529 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Equinor.ProCoSys.Preservation.Command.EventHandlers.HistoryEvents;
using Equinor.ProCoSys.Preservation.Domain;
using Equinor.ProCoSys.Preservation.Domain.AggregateModels.HistoryAggregate;
using Equinor.ProCoSys.Preservation.Domain.Aggr... | 48.140625 | 185 | 0.685005 | [
"MIT"
] | equinor/pcs-preservation-api | src/tests/Equinor.ProCoSys.Preservation.Command.Tests/EventHandlers/HistoryEvents/StepChangedEventHandlerTests.cs | 6,164 | C# |
using System;
using System.Buffers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using BencodeNET.Exceptions;
using BencodeNET.IO;
using BencodeNET.Objects;
namespace BencodeNET.Parsing
{
/// <summary>
/// A parser for bencoded byte strings.
/// </summary>
public class BStri... | 41.677725 | 132 | 0.603935 | [
"Unlicense"
] | djon2003/BencodeNET | BencodeNET/Parsing/BStringParser.cs | 8,794 | C# |
using System.Linq;
using JudgeSystem.Data.Models;
using JudgeSystem.Web.Controllers;
using JudgeSystem.Web.InputModels.Feedback;
using JudgeSystem.Common;
using MyTested.AspNetCore.Mvc;
using Xunit;
using Shouldly;
namespace JudgeSystem.Web.Tests.Controllers
{
public class FeedbackControllerTests
{
... | 36.316456 | 115 | 0.606832 | [
"MIT"
] | NaskoVasilev/JudgeSystem | Tests/JudgeSystem.Web.Tests/Controllers/FeedbackControllerTests.cs | 2,871 | C# |
/*
* DocuSign REST API
*
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
*
* OpenAPI spec version: v2
* Contact: devcenter@docusign.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
us... | 25.298851 | 125 | 0.590186 | [
"MIT"
] | CameronLoewen/docusign-csharp-client | sdk/src/DocuSign.eSign.Test/Model/ServerTemplateTests.cs | 2,201 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Engine.Commands;
using Engine.Components;
using Engine.Events;
using PlayGen.ITAlert.Simulation.Components.Common;
using PlayGen.ITAlert.Simulation.Components.EntityTypes;
us... | 34.091398 | 114 | 0.739316 | [
"Apache-2.0"
] | playgen/it-alert | Simulation/PlayGen.ITAlert.Simulation/Commands/SwapSubsystemItemCommand.cs | 6,343 | 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... | 30.578313 | 105 | 0.616627 | [
"Apache-2.0"
] | Bynder/aws-sdk-net | sdk/src/Services/Kinesis/Generated/Model/AddTagsToStreamRequest.cs | 2,538 | C# |
namespace DesignPatternsInCSharp.Behavioral.Chain.Conceptual;
public enum ChainLogLevel
{
DEBUG,
INFO,
WARNING
}
| 15.625 | 61 | 0.76 | [
"MIT"
] | adamradocz/DesignPatternsInCSharp | DesignPatternsInCSharp/Behavioral/Chain/Conceptual/ChainLogLevel.cs | 125 | C# |
using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEditor.Experimental.SceneManagement;
using CommonMaxTools.Attributes;
namespace CommonMaxTools.Editor.Utils
{
public static class ExtendedEditor... | 35.595506 | 138 | 0.565972 | [
"MIT"
] | Markmax2304/CommonMaxTools | Editor/Utils/ExtendedEditorGUI.cs | 3,170 | C# |
namespace MediaLibrary
{
partial class PersonControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 48.990826 | 124 | 0.631461 | [
"MIT"
] | GoddessArtemis/MediaLibrary | MediaLibrary/PersonControl.Designer.cs | 5,342 | C# |
namespace System.Runtime.CompilerServices
{
#if NET20
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
internal sealed class ExtensionAttribute : Attribute { }
#endif
} | 31.857143 | 98 | 0.793722 | [
"MIT"
] | SamKuppusamy/CsvReader | code/LumenWorks.Framework.IO/System/AttributeExtensions.cs | 225 | C# |
using System;
using System.Collections.Generic;
using Smooth.Algebraics;
namespace Smooth.Collections {
/// <summary>
/// Extension methods for IDictionary<>s.
/// </summary>
public static class IDictionaryExtensions {
/// <summary>
/// Analog to IDictionary<K, V>.TryGetValue(K, out V) that returns an... | 27.380952 | 119 | 0.693913 | [
"Apache-2.0"
] | AndroFARsh/BoidsExperiment | Assets/Plugins/Smooth/Foundations/Collections/IDictionaryExtensions.cs | 577 | C# |
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
/*
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Transform)]
[Tooltip("Moves a Game Object's Rigid Body to a new position. To leave any axis unchanged, set variable to 'None'.")]
public class MovePositio... | 21.326087 | 118 | 0.66208 | [
"MIT"
] | 517752548/UnityFramework | GameFrameWork/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs | 1,962 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Analogy.DataProviders.Extensions
{
public interface IAnalogyComponentImages
{
Image GetLargeImage(Guid analogyComponentId);
Image GetSmallImage(Gu... | 31.7 | 71 | 0.782334 | [
"MIT"
] | Analogy-LogViewer/Analogy.DataProviders.Extensions | Analogy.DataProviders.Extensions/IAnalogyComponentImages.cs | 636 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Analyzer.Utilities;
using Microsoft.CodeAnalysis.FlowAnalysis.DataFlow;
namespace Microsoft.CodeQuality.Analyzers.QualityGuideline... | 44.931034 | 145 | 0.760553 | [
"Apache-2.0"
] | komsa-ag/roslyn-analyzers | src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/AvoidMultipleEnumerations/FlowAnalysis/DeferredTypeEntitySet.cs | 1,305 | C# |
//-----------------------------------------------------------------------
// <copyright file="NSwagSettings.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.... | 46.088112 | 183 | 0.573878 | [
"MIT"
] | FramingApp/NSwag | src/NSwag.Commands/NSwagDocumentBase.cs | 32,955 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.TestFramework;
using Azure.ResourceManager;
using Azure.ResourceManager.Compute;
using Azure.ResourceManager.Compute.Models;... | 41.267241 | 133 | 0.647587 | [
"MIT"
] | KurnakovMaksim/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs/tests/ManagedDiskFixture.cs | 4,789 | C# |
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Threading;
using System.Web.Mvc;
using WebMatrix.WebData;
using FamilyManagerWeb.Models;
namespace FamilyManagerWeb.Filters
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inher... | 39.45098 | 207 | 0.618787 | [
"MIT"
] | lyc-chengzi/fmServer | FamilyManagerWeb/Filters/InitializeSimpleMembershipAttribute.cs | 2,014 | C# |
using System.Collections.Generic;
using System.Collections;
using UnityEditor.SceneManagement;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
using System.IO;
using System;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using TMPro;
public class Tool_QuickSt... | 109.481182 | 21,722 | 0.580225 | [
"MIT"
] | MarcelvanDuijnDev/UnityPresetsHDRP | Assets/Editor/Tool_QuickStart.cs | 311,257 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Instagram.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Micro... | 36.509434 | 132 | 0.577261 | [
"MIT"
] | ParsaHejabi/ASP.NET-Instagram-Project | Instagram/Areas/Identity/Pages/Account/Register.cshtml.cs | 3,872 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NBitcoin;
using NBitcoin.Crypto;
using Stratis.Bitcoin.AsyncWork;
using Stratis.Bitcoin.Base;
using Stratis.Bitcoin.BlockPulling;
using Stratis.Bitcoin.Configuration.Settings;
using Stratis.Bitcoin.Connection;
using Stratis.... | 59.348416 | 234 | 0.682601 | [
"MIT"
] | Amazastrophic/StratisFullNode | src/Stratis.Bitcoin.Features.Consensus.Tests/Rules/CommonRules/PosCoinViewRuleTest.cs | 13,118 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace NetCoreMicro.Common.Events
{
public class CreateActivityRejected : IRejectedEvent
{
public Guid Id { get; set; }
public string Reason { get; set; }
public string Code { get; set; }
protected CreateAct... | 20.296296 | 56 | 0.565693 | [
"MIT"
] | lucasven/NetCoreMicro | NetCoreMicro.Common/Events/CreateActivityRejected.cs | 550 | C# |
using AutoMapper;
using NetCoreLibrary.Core.Domain;
using NetCoreLibrary.Core.DTOs;
using System;
namespace NetCoreLibrary.Web.Infrastructure.AutoMappers
{
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
VehicleMap();
CustomerMap();
E... | 42.076923 | 178 | 0.600091 | [
"MIT"
] | cihatsolak/netcore-librarires | NetCoreImportantLibraries/NetCoreLibrary.Web/Infrastructure/AutoMappers/AutoMapperProfile.cs | 2,230 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 40.123288 | 157 | 0.616251 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.472 | Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Draw/ViewDrawRibbonMinimizeBar.cs | 2,932 | C# |
using System;
using Xunit;
using Caf.Etl.Nodes.CosmosDBSqlApi.Extract;
using Caf.Etl.Models.CosmosDBSqlApi.Core;
using System.Collections.Generic;
using Caf.Etl.Nodes.CosmosDBSqlApi.Transform;
using Caf.Etl.Models.LtarDataPortal.CORe;
using System.Globalization;
using Caf.Etl.Models.CosmosDBSqlApi.Measurement;
... | 68.827273 | 298 | 0.589486 | [
"CC0-1.0"
] | benichka/Caf.Etl | Caf.Etl.UnitTests/Nodes/CosmosDBSqlApi/LtarDataPortalCOReTransformerTests.cs | 7,571 | C# |
using lox.constants;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static lox.Expr;
namespace lox.test.parser
{
[TestClass]
public class LogicalExprTest : ParserTestBase
{
#region Instance Methods
[TestMethod]
public void CanParseLogicalAndExpression()
{
... | 25.375 | 56 | 0.562562 | [
"MIT"
] | andrewtyped/cslox | test/lox.test/parser/LogicalExprTest.cs | 1,017 | 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... | 53.025771 | 227 | 0.671242 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/CodeBuild/Generated/_bcl45/AmazonCodeBuildClient.cs | 146,086 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GeoToolkit.FuzzyLogic
{
class StringDistance
{
}
}
| 13.416667 | 33 | 0.732919 | [
"MIT"
] | geoser/geotoolkit | GeoToolkit/FuzzyLogic/StringDistance.cs | 163 | C# |
namespace MassTransit.KafkaIntegration.Specifications
{
using System;
using System.Collections.Generic;
using Configurators;
using Confluent.Kafka;
using GreenPipes;
using MassTransit.Configurators;
using MassTransit.Registration;
using Pipeline.Observables;
using Serializers;
us... | 38.693333 | 154 | 0.678498 | [
"ECL-2.0",
"Apache-2.0"
] | AlexGoemanDigipolis/MassTransit | src/Transports/MassTransit.KafkaIntegration/Configuration/Specifications/KafkaConsumerSpecification.cs | 2,902 | C# |
using Bangumi.Api;
using Bangumi.Common;
using Bangumi.ContentDialogs;
using Bangumi.Controls;
using Bangumi.Data;
using Bangumi.Helper;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Backg... | 32.760593 | 179 | 0.498286 | [
"MIT"
] | Teachoc/Bangumi | Bangumi/ViewModels/SettingViewModel.cs | 15,869 | C# |
namespace AgileCoding.Extentions.Attributes
{
using System;
using System.Linq;
using System.Reflection;
public static class AttributeExtentions
{
public static object GetAttribute<ANYType>(this ANYType genericType, Type TypeOfAttribute)
where ANYType : struct
{
... | 31.296296 | 98 | 0.572781 | [
"MIT"
] | ToolMaker/AgileCoding.Extentions.Attributes | AgileCoding.Extentions.Attributes/AttributeExtentions.cs | 847 | 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.473684 | 107 | 0.666126 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/Lightsail/Generated/Model/CreateInstancesResponse.cs | 1,851 | C# |
using AgileDotNetHtml.Attributes;
namespace AgileDotNetHtml.Models.HtmlElements
{
[HtmlElementClass("track")]
public class HtmlTrackElement : HtmlSelfClosingTagElement
{
/// <summary>
/// Initialize a new instance of AgileDotNetHtml.Models.HtmlElements.HtmlTrackElement class represent HTML <track> tag.
... | 25.933333 | 127 | 0.753213 | [
"MIT"
] | atanasgalchov/AgileDotNetHtml | src/Models/HtmlElements/Specific/HtmlTrackElement.cs | 389 | C# |
using System.Windows;
namespace MScResearchTool.Windows.WPF.Windows
{
public partial class MessageWindow : Window
{
public MessageWindow(string title, string content, string confirmation)
{
InitializeComponent();
TitleBlock.Text = title;
ContentBlock.Text =... | 23.227273 | 79 | 0.604697 | [
"MIT"
] | zbigniewmarszolik/MScResearchTool | MScResearchTool.Windows/MScResearchTool.Windows.WPF/Windows/MessageWindow.xaml.cs | 513 | 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>
//----------------------------------... | 35.25 | 88 | 0.513366 | [
"Apache-2.0"
] | DEV-MC01/documentum-rest-client-dotnet | MonoReST/AspNetWebFormsRestConsumer/Site.Mobile.Master.designer.cs | 1,833 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Delete a Dialable Caller ID Criteria.
/// The response is either a SuccessRes... | 28.111111 | 130 | 0.578832 | [
"MIT"
] | JTOne123/broadworks-connector-net | BroadworksConnector/Ocip/Models/GroupDialableCallerIDCriteriaDeleteRequest.cs | 2,277 | 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>
//--... | 42.58 | 153 | 0.605449 | [
"MIT"
] | ExpertSamples/Beca.Net | ConsoleApplication1/Properties/Settings.Designer.cs | 2,131 | C# |
using Rocket.API;
using Rocket.Unturned.Chat;
using Rocket.Unturned.Player;
using SDG.Unturned;
using System.Collections.Generic;
using UnityEngine;
namespace Rocket.Unturned.Commands
{
public class CommandHome : IRocketCommand
{
public AllowedCaller AllowedCaller
{
get
... | 26.228571 | 106 | 0.513617 | [
"MIT"
] | iBowie/RocketMod | Rocket.Unturned/Commands/CommandHome.cs | 1,838 | C# |
/***********************************************************
Copyright (c) 2017-present Clicked, Inc.
Licensed under the MIT license found in the LICENSE file
in the Docs folder of the distributed package.
***********************************************************/
using System.Runtime.InteropServices;
us... | 41.384956 | 170 | 0.719448 | [
"MIT"
] | onairvr/onairvr-server-for-unity | Assets/onAirVR/Server/Scripts/Input/AirVRServerInputStream.cs | 9,355 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 12.02.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 23.981308 | 142 | 0.53371 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/Object/STD/Equals__obj2/Complete/EnumInt32/SByte/TestSet_003__paramObjs.cs | 5,134 | C# |
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* 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... | 35.076233 | 101 | 0.58425 | [
"Apache-2.0"
] | Jonathan435/Tizen-CSharp-Samples | TV/UIControlSample/UIControlSample/src/Views/Popup.cs | 7,822 | C# |
using Microsoft.AspNetCore.Components;
using ReplyApp.Models;
using System;
using BlazorInputFile;
using System.Linq;
using ReplyApp.Managers;
namespace ReplyApp.Pages.Replys.Components
{
public partial class EditorForm
{
#region Fields
private string parentId = "";
protected int[] pa... | 27.938272 | 98 | 0.484534 | [
"MIT"
] | VisualAcademy/RestApi | ReplyApp_Final/ReplyApp/Pages/Replys/Components/EditorForm.razor.cs | 4,966 | C# |
using LiveSplit.Web;
using System;
using System.Xml;
namespace LiveSplit.Model
{
public struct Time
{
public static readonly Time Zero = new Time(TimeSpan.Zero, TimeSpan.Zero);
public TimeSpan? RealTime { get; set; }
public TimeSpan? GameTime { get; set; }
public Time(TimeSpa... | 29.491525 | 82 | 0.49023 | [
"MIT"
] | CryZe/LiveSplit | LiveSplit/LiveSplit.Core/Model/Time.cs | 3,482 | C# |
using HeBianGu.General.DataBase.Logger;
using HeBianGu.General.ModuleService;
using HeBianGu.Module.AutoTest.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Unity;
namespace HeB... | 33.614286 | 106 | 0.675733 | [
"MIT"
] | HeBianGu/WPF-Modules | Source/Module/HeBianGu.Module.AutoTest/AutoTestModule.cs | 2,463 | C# |
/**
* Copyright 2013 Canada Health Infoway, 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... | 32.573684 | 138 | 0.683632 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-core/Main/Ca/Infoway/Messagebuilder/Marshalling/HL7/Formatter/R2/IvlR2PropertyFormatter.cs | 12,378 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;... | 60.669355 | 488 | 0.66547 | [
"MIT"
] | jasonsandlin/azure-sdk-for-net | sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginGroupResource.cs | 22,569 | C# |
// <auto-generated />
namespace GreekHealthcareNetwork.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
public sealed part... | 31.866667 | 134 | 0.666318 | [
"MIT"
] | karabasisilias92/greek-healthcare-network | GreekHealthcareNetwork/GreekHealthcareNetwork/Migrations/201912232139262_Update type of AMKA, datatype of DoB and SubscriptionEndDate.Designer.cs | 956 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
[InitializeOnLoad]
public class RecentScenesMenu : EditorWindow
{
[MenuItem("Window/Recent Scenes Menu")]
static void OpenMenu()
{
RecentScenesMenu window = GetWindo... | 26.482353 | 93 | 0.609951 | [
"MIT"
] | kuriharaan/LoadSceneMenu | Assets/RecentScenesMenu/Editor/RecentScenesMenu.cs | 2,253 | 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.
namespace System.Windows.Forms
{
using System;
using System.Diagnostics;
/// <include file='doc\DataGri... | 36.888889 | 148 | 0.659639 | [
"MIT"
] | Liminiens/winforms | src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnEventArgs.cs | 1,328 | C# |
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using System;
using System.Collections.Generic;
using System.Xml;
namespace SnowPlow
{
public class XmlTestCaseReader
{
private ITestCaseDiscoverySink testCaseSink;
... | 40.64 | 128 | 0.543963 | [
"MIT"
] | othrayte/snowplow | SnowPlow/XmlTestCaseReader.cs | 3,050 | C# |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace AdventureWorksModel
{
public class CustomerMap : EntityTypeConfiguration<Customer>
{
public CustomerMap()
{
// Primary Key
HasKey(t => t.CustomerID);
/... | 37.837209 | 95 | 0.600492 | [
"Apache-2.0"
] | Giovanni-Russo-Boscoli/NakedObjectsFramework | Samples/AWFunctional/Mapping/CustomerMap.cs | 1,627 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ABP_CORE_MPA.Migrations
{
public partial class Upgraded_To_Abp_v222 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsDeleted",
... | 28 | 71 | 0.598214 | [
"MIT"
] | staneee/ServiceFabricDemo | ABP/ABP_CORE_MPA.EntityFrameworkCore/Migrations/20170804083601_Upgraded_To_Abp_v2.2.2.cs | 674 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogLib
{
public sealed class NullLogger : ILogger
{
private static NullLogger instance=new NullLogger();
public static NullLogger Instance
{
get { return instance; }
}
pr... | 16.714286 | 108 | 0.713065 | [
"MIT"
] | dfgs/LogLib | LogLib/NullLogger.cs | 821 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 55.03876 | 157 | 0.654883 | [
"MIT"
] | ECGKit/fhir-server | src/Microsoft.Health.Fhir.Core.UnitTests/Features/Operations/Import/ImportOrchestratorTaskTests.cs | 42,602 | C# |
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.XR.MagicLeap;
namespace SandBox.Scripts.HandPointer
{
public interface IHandPointer
{
float PointerRayDistance { get; set; }
bool IsShow { get; }
MLHandTracking.HandKeyPose SelectKeyPose { get; set; }
MLHandTracki... | 29.25 | 89 | 0.692308 | [
"MIT"
] | RyusukeMatsumoto7C9-B-2/MagicLeap-SandBox | MagicLeapSandBox/Assets/SandBox/HandPointer/Scripts/IHandPointer.cs | 587 | C# |
using GaragemGestao.Data.Entities;
using GaragemGestao.Helpers;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GaragemGestao.Data
{
public class SeedDb
{
private readonly DataContext _context;
pri... | 32.894737 | 127 | 0.522667 | [
"MIT"
] | Andresp2018/GaragemGestao | GaragemGestao/GaragemGestao/Data/SeedDb.cs | 3,752 | C# |
using System.Runtime.InteropServices;
namespace Vulkan
{
[StructLayout(LayoutKind.Sequential)]
public struct VkPhysicalDeviceFloatControlsProperties
{
public VkStructureType SType;
[NativeTypeName("void *")] public nuint PNext;
public VkShaderFloatControlsIndependence DenormBehavi... | 34.468085 | 85 | 0.752469 | [
"BSD-3-Clause"
] | trmcnealy/Vulkan | Vulkan/Structs/VkPhysicalDeviceFloatControlsProperties.cs | 1,620 | C# |
namespace GamePad_Intercepts.Forms
{
partial class OnScreenKeyboardForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | 38.382353 | 107 | 0.587356 | [
"Apache-2.0"
] | linoagli/gamepad-intercepts | gamepad-intercepts/GamePad Intercepts/Source/Forms/OnScreenKeyboardForm.Designer.cs | 2,612 | C# |
using System;
using System.ComponentModel;
using EPAS.DataEntity.Entity.Common;
namespace EPAS.DataEntity.Entity.Common
{
/// <summary>
/// Author:CodeFactory
/// Create Date:2019-03-28 09:27:59.3543
/// Description:员工能力矩阵
/// </summary>
public class EmployeeCapabilityMatrix:BaseEntity
{
... | 21.088608 | 52 | 0.403962 | [
"MPL-2.0"
] | whw0828/EPASServer | EPASFramework/EPAS.DataEntity/Entity/Common/EmployeeCapabilityMatrix.cs | 3,414 | C# |
using System;
using System.Buffers.Binary;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using KcpNatProxy.NetworkConnection;
namespace KcpNatProxy.Client
{
public class KnpClientAuthenticator : IKcpConnectionNegotiationContext
{
private readonly i... | 28.791367 | 98 | 0.511244 | [
"MIT"
] | ShiftyTR/KcpNatProxy | src/KcpNatProxy/Client/KnpClientAuthenticator.cs | 4,004 | 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... | 26.138889 | 88 | 0.61424 | [
"ECL-2.0",
"Apache-2.0"
] | Sysdig-Hackathon-Picasso/pulumi-sysdig | sdk/dotnet/Secure/Outputs/RuleNetworkTcp.cs | 941 | C# |
using Stankins.Interfaces;
using System.Diagnostics;
namespace StankinsObjects
{
[DebuggerDisplay("{Name} {Id}")]
public class Table: MetadataRow, ITable
{
}
}
| 15 | 43 | 0.683333 | [
"MIT"
] | Zeroshi/stankins | stankinsv2/solution/StankinsV2/StankinsObjects/Table.cs | 182 | C# |
using System;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Mantle.Identity.Domain;
using Mantle.Identity.Models.ManageViewModels;
using Mantle.Identity.Services;
using Mantle.Web.Configuration;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspN... | 37.142012 | 144 | 0.58871 | [
"MIT"
] | gordon-matt/MantleCMS | Mantle.Identity/MantleManageController.cs | 18,833 | C# |
using System.Collections.Generic;
namespace Catalog.Contracts
{
public class GetCatalogItemsQuery
{
public int Skip { get; set; }
public int Limit { get; set; } = 10;
public bool IncludeCharges { get; set; } = true;
public bool IncludeCustomFields { get; set; } =... | 24.179487 | 72 | 0.589608 | [
"MIT"
] | marinasundstrom/PointOfSale | Catalog/Catalog.Contracts/Queries.cs | 945 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 36.709091 | 159 | 0.594106 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/AppMesh/Generated/Model/Internal/MarshallTransformations/ListenerTimeoutUnmarshaller.cs | 4,038 | C# |
using CloudMusic.Models.Media;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CloudMusic.CustomForms
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PlayListV... | 24.555556 | 106 | 0.622172 | [
"MIT"
] | 851265601/Xamarin-CloudMusic | CloudMusic/CustomForms/PlayListViewCell.xaml.cs | 886 | C# |
using System;
using System.ComponentModel;
namespace osfDesigner
{
// Один из вариантов показать в сетке свойств расширяемое свойство.
// Так можно вывести русские названия свойств. Тип раскрываемого свойства должен соответствовать унаследованному классу, если
// их нужно будет редактировать тут же в рас... | 32.546875 | 136 | 0.573452 | [
"MPL-2.0"
] | Nivanchenko/OneScriptFormsDesigner | OneScriptFormsDesigner/OneScriptFormsDesigner/MyPropertyDescriptor.cs | 4,510 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StorageEngine.Interfaces
{
interface IProduceable
{
void ProduceEnergy(int rpm);
}
}
| 16.642857 | 36 | 0.733906 | [
"MIT"
] | stanislavstoyanov99/Storage-Engine-App | StorageEngine/StorageEngine/Interfaces/IProduceable.cs | 235 | C# |
namespace Exception_handling
{
using System;
public class SimpleMathExam : Exam
{
private const int MinProblemsCount = 0;
private const int MaxProblemsCount = 10;
private const string BadResultsComment = "Bad result: nothing done.";
private const string AverageResultsComment... | 30.597222 | 103 | 0.534271 | [
"MIT"
] | GeorgiPetrovGH/TelerikAcademy | 08.High-Quality-Code/Defensive Programming and Exceptions/Assertions_Exceptions/Exception_handling/SimpleMathExam.cs | 2,205 | 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... | 37.110092 | 282 | 0.649197 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/Latest/GetVirtualNetworkGatewayVpnclientIpsecParameters.cs | 4,045 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageDealerManage : MonoBehaviour
{
[SerializeField] public int damage = 100;
public int GetDamage()
{
return damage;
}
public void Hit()
{
Destroy(gameObject);
}
}
| 16.105263 | 47 | 0.656863 | [
"Apache-2.0"
] | artem-goncharov/ag-oforcsandmagic | Assets/Scripts/DamageDealerManage.cs | 308 | C# |
using UnityEngine;
using System.Collections;
public class NormalShot : EnemyShot {
[SerializeField] private float speed = 2f; // The speed at which I travel.
private Vector3 direction; // The direction in which I travel.
new void Start ()
{
base.Start();
// Get the direction towards t... | 26.833333 | 95 | 0.674534 | [
"MIT"
] | denniscarr/dfc291_CodeLab1_final | Static/Assets/Prefabs/Enemy Shot/Normal Shot/NormalShot.cs | 807 | 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... | 48.483871 | 178 | 0.688789 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/CodeCommit/Generated/Model/ReplacementContentRequiredException.cs | 6,012 | 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.
namespace Mi... | 49.661765 | 163 | 0.689073 | [
"MIT"
] | Agazoth/azure-powershell | src/Elastic/generated/api/Models/Api20200701/VMCollectionUpdate.cs | 3,310 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.S3BucketReplicationConfiguration")]
public class S3BucketReplicationConfiguration : aws.IS3BucketReplicationConfiguration
{
[JsiiProperty(name: ... | 29.285714 | 178 | 0.620732 | [
"MIT"
] | scottenriquez/cdktf-alpha-csharp-testing | resources/.gen/aws/aws/S3BucketReplicationConfiguration.cs | 820 | C# |
using ExtCore.Data.Entities.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
namespace EduxSoft.Base.Data.Entities
{
public class SectionInfo :IEntity
{
public SectionInfo()
{
Classes = new HashSet<ClassInfo>();
}
public int Id { get;... | 26.826087 | 59 | 0.612642 | [
"MIT"
] | cedriclange/EduxSoft | EduxSoft.Base.Data.Entities/SectionInfo.cs | 619 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Chinook.Domain.Converters;
using Chinook.Domain.Entities;
using Newtonsoft.Json;
namespace Chinook.Domain.ApiModels
{
public class ArtistApiModel : IConvertModel<ArtistApiModel,... | 25.655172 | 71 | 0.657258 | [
"MIT"
] | cwoodruff/ChinookASPNETCoreAPINTier | ChinookASPNETCoreAPINTier/Chinook.Domain/ApiModels/ArtistApiModel.cs | 746 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Reflection;
namespace MassTransit.JiraServicedeskConnector
{
sealed class PrefixContractResolver : DefaultContractResolver
{
readonly DefaultContractResolver _contractResolver;
public PrefixContractResolver(DefaultContra... | 35.964286 | 134 | 0.746773 | [
"Apache-2.0"
] | ushenkodmitry/MassTransitContrib | src/JIRA-SERVICEDESK-CONNECTOR/MassTransit.JiraServicedeskConnector/JiraServicedeskConnector/PrefixContractResolver.cs | 1,009 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.