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 System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;
namespace Abp.EntityFrameworkCore.Tests.Domain
{
public class Post : AuditedEntity, ISoftDelete, IMayHaveTenant
{
[Required]
public Blog B... | 23.615385 | 66 | 0.567861 | [
"MIT"
] | tolemac/aspnetboilerplate-guid | test/Abp.EntityFrameworkCore.Tests/Domain/Post.cs | 923 | C# |
using System;
namespace RouletteApi.Model
{
public class RouletteModel
{
public int Id_roulette { get; set; }
public DateTime Create_date { get; set; }
public int? Number { get; set; }
public string Color { get; set; }
public DateTime? Closed_date { get; set; }
... | 24.133333 | 50 | 0.593923 | [
"MIT"
] | alejo688/RouletteApi | RouletteApi/Model/RouletteModel.cs | 364 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Amaranth.Data
{
/// <summary>
/// Represents a named macro that expands to a collection of flags.
/// </summary>
public class FlagMacro
{
publi... | 26.679012 | 74 | 0.447941 | [
"MIT"
] | LambdaSix/Amaranth | Amaranth.Data/Classes/FlagMacro.cs | 2,163 | C# |
namespace PokemonAdventureGame.Enums
{
public enum TypeEffect
{
IMMUNE,
NOT_VERY_EFFECTIVE,
NEUTRAL,
SUPER_EFFECTIVE
}
} | 16.6 | 37 | 0.60241 | [
"MIT"
] | JustAn0therDev/PokemonAdventureGame | PokemonAdventureGame/Enums/TypeEffect.cs | 166 | C# |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
namespace Nop.Web.Areas.Admin.Models.Catalog
{
/// <summary>
/// Represents a stock quantity history search model
/// </summary>
public partial class St... | 25.575758 | 79 | 0.670616 | [
"MIT"
] | ASP-WAF/FireWall | Samples/NopeCommerce/Presentation/Nop.Web/Areas/Admin/Models/Catalog/StockQuantityHistorySearchModel.cs | 846 | C# |
/*
* Copyright (c) Dominick Baier. All rights reserved.
* see license.txt
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IdentityModel.Tokens;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Security;
using System.Serv... | 37.924731 | 313 | 0.592855 | [
"BSD-3-Clause"
] | YouthLab/Thinktecture.IdentityModel.45 | IdentityModel/Thinktecture.IdentityModel/WSTrust/IssuedTokenWSTrustBinding.cs | 14,110 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.FinancialManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStep... | 20.704918 | 136 | 0.727633 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.FinancialManagement/Fund_TypeObjectIDType.cs | 1,263 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml... | 38.887218 | 126 | 0.610402 | [
"Apache-2.0"
] | aliozgur/xamarin-forms-book-samples | Chapter13/ResourceBitmapCode/ResourceBitmapCode/ResourceBitmapCode.WinPhone/App.xaml.cs | 5,172 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Linq;
using System.Reactive.Linq;
using Microsoft.Reac... | 30.101449 | 130 | 0.581127 | [
"MIT"
] | grofit/unity-rx-test | RxUnityTest/Assets/Editor/Tests/Tests/Linq/Observable/ToEnumerableTest.cs | 2,079 | C# |
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
#if UITEST
using Microsoft.Maui.Controls.Compatibility.UITests;
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.Issues
{
#if UITEST
[Category(UITestCategories.M... | 44.774194 | 610 | 0.757925 | [
"MIT"
] | Eilon/maui | src/Compatibility/ControlGallery/src/Issues.Shared/Github6021.cs | 1,390 | 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;... | 58.314721 | 236 | 0.689415 | [
"MIT"
] | danielortega-msft/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSlotPrivateAccess.cs | 11,488 | C# |
using System;
using System.Diagnostics;
namespace Vitals
{
class RangeChecker
{
public static bool rangeCheckerVitals(float lowerlimit,float upperlimit, float vitalreading)
{
if(vitalreading > upperlimit || vitalreading < lowerlimit)
{
return false;
... | 20.777778 | 102 | 0.569519 | [
"MIT"
] | Engin-Boot/vitals-simplification-cs-PallaviZoting | RangeChecker.cs | 374 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from shared/dxgi1_3.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... | 35.923077 | 145 | 0.625803 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/shared/dxgi1_3/IDXGIOutput3Tests.cs | 1,870 | C# |
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Provider;
using Android.Speech;
namespace scripting.Droid
{
public class STT
{
public static int STT_REQUEST = 10;
public static int STT_PERMISSIONS_REQUEST... | 36.538462 | 117 | 0.704795 | [
"MIT"
] | vassilych/mobile | Droid/STT.cs | 4,277 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 34.681159 | 125 | 0.542206 | [
"MIT"
] | oguzhankahyaoglu/squidex | backend/src/Squidex/Config/Domain/LoggingServices.cs | 4,789 | C# |
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace Symphonia.DLNA.SOAP.Synology.ContentDirectory.Browse
{
public static class SoapSerialization
{
public static DIDLLite Deserialize(string response)
{
var xdoc = XDocument.Parse(respo... | 28.090909 | 77 | 0.618123 | [
"MIT"
] | nefarius/Symphonia | Symphonia/DLNA/SOAP/Synology/ContentDirectory/Browse/SoapSerialization.cs | 620 | C# |
using System;
using System.Collections.Generic;
namespace LINQ_Demo
{
public static class MyExtensions
{
public static IEnumerable<T> MyFilter<T>(this IEnumerable<T> source, Func<T, bool> predicate)
{
foreach (var item in source)
{
if (predicate(item))
... | 23.142857 | 101 | 0.502058 | [
"MIT"
] | LarsBergqvist/csharp-demos | LINQ_Demo/MyExtensions.cs | 488 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Kanyon.Kubernetes;
namespace Kanyon.Kubernetes.Core.V1
{
public partial class TopologySpreadConstraint
{
/** <summary>A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions ar... | 126 | 844 | 0.74026 | [
"MIT"
] | ermontgo/kapitan | src/Kanyon.Kubernetes/Core/V1/TopologySpreadConstraint.generated.cs | 2,772 | 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... | 42.659794 | 178 | 0.646206 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/ImportExport/Generated/Model/ExpiredJobIdException.cs | 4,138 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 24.36 | 52 | 0.738916 | [
"MIT"
] | hoppfull/Learning-Xamarin | ex - Camera/Camera/Camera.UWP/MainPage.xaml.cs | 611 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OpenWeatherMapException.cs" company="Joan Caron">
// Copyright (c) 2014 All Rights Reserved
// </copyright>
// <author>Joan Caron</author>
// <summary>Implements the open weather ... | 33.575758 | 120 | 0.50361 | [
"MIT"
] | SeppPenner/OpenWeatherMap-Api-Net | src/OpenWeatherMap/Exceptions/OpenWeatherMapException.cs | 2,218 | C# |
using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Godot- Tools")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Asse... | 36 | 81 | 0.737179 | [
"MIT"
] | CptnRoughnight/Godot-tools | Properties/AssemblyInfo.cs | 936 | 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 Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Un... | 35.090909 | 160 | 0.737478 | [
"Apache-2.0"
] | amcasey/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/DoNotDeclareVisibleInstanceFieldsTests.Fixer.cs | 1,158 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using MiniSqlParser;
namespace MiniSqlParser
{
/// <summary>
/// IF文の条件式とSQL文を取得する
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public class GetIfConditionsVisitor: Visitor
{
... | 28.970588 | 87 | 0.629442 | [
"MIT"
] | hiro80/SqlAccessor | Src/SqlAccessor/SqlBuilder/Visitors/GetIfConditionsVisitor.cs | 4,318 | C# |
using System;
using System.Collections.Generic;
using System.Reactive.Subjects;
using log4net;
using JetBlack.MessageBus.FeedBus.Messages;
using JetBlack.MessageBus.FeedBus.Distributor.Config;
namespace JetBlack.MessageBus.FeedBus.Distributor
{
internal class PublisherManager
{
private static readonly... | 41.754098 | 170 | 0.676875 | [
"MIT"
] | rob-blackbourn/JetBlack.MessageBus | JetBlack.MessageBus.FeedBus.Distributor/PublisherManager.cs | 2,549 | C# |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace KeenSap.Portal.Data.Entities
{
[Table("roles")]
public class Role : TrackableEntity
{
[Required]
[StringLength(50, ErrorMessage = "The {0} must be at least {2} and at max {1} charact... | 29.882353 | 125 | 0.641732 | [
"Apache-2.0"
] | keensap/portal | Data/Entities/Role.cs | 508 | C# |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2014 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.0 (the "Licens... | 37.243028 | 145 | 0.563436 | [
"Apache-2.0"
] | MindTouch/DReAM | src/mindtouch.dream/Collections/ExpiringHashSet.cs | 9,350 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/xapobase.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
p... | 51.057143 | 224 | 0.775602 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/xapobase/Windows.cs | 1,789 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kata.CustomTypes.Kata.Recipe.Part15
{
public class DishBase
{
protected List<Stage> Stages { get; }
public string DishName { get; }
public DishBase(string dishName)
{
Dis... | 24.416667 | 137 | 0.575085 | [
"MIT"
] | contino/dotnet-training-course | Kata/CustomTypes/InProgress/Recipe/Part15/DishBase.cs | 588 | C# |
namespace Square.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Square;
using... | 35.72807 | 175 | 0.503192 | [
"Apache-2.0"
] | AdrianaMusic/square-dotnet-sdk | Square/Models/BatchUpsertCatalogObjectsResponse.cs | 8,146 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/datacatalog/v1/datacatalog.proto
// </auto-generated>
// Original file comments:
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | 72.772258 | 405 | 0.716433 | [
"Apache-2.0"
] | viacheslav-rostovtsev/google-cloud-dotnet | apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1/DatacatalogGrpc.cs | 190,445 | C# |
// The MIT License (MIT)
//
// Copyright (c) 2014 Beanstream Internet Commerce Corp, Digital River, Inc.
//
// 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 ... | 34.468085 | 80 | 0.740741 | [
"MIT"
] | jonagh/beanstream-dotnetcore | BeanstreamNETCore/Domain/PaymentProfileField.cs | 1,622 | C# |
using System.Linq;
namespace Collection_Hierarchy
{
public class AddRemoveCollection : Collection, IAdder, IRemover
{
public int Add(string item)
{
this.StringCollection.Insert(0, item);
return 0;
}
public string Remove()
{
var resul... | 22.666667 | 76 | 0.577731 | [
"MIT"
] | BlueDress/School | C# OOP Advanced/Interfaces and Abstraction Exercises/Collection Hierarchy/AddRemoveCollection.cs | 478 | C# |
namespace OnlineShop.Models.Products.ProductsModels.ComponentsModels
{
public class PowerSupply : Component
{
private const double MULTIPLIER = 1.05;
public PowerSupply(int id, string manufacturer, string model, decimal price, double overallPerformance, int generation)
: base(id, m... | 34 | 127 | 0.688235 | [
"MIT"
] | danstoyanov/CSharp-Advanced-Tasks | 02 - [CSharp OOP]/[CSharp OOP - Exams]/03 - [C# OOP Exam - 16 August 2020]/01 - [Structure & Business Logic]/Models/Products/ProductsModels/ComponentsModels/PowerSupply.cs | 512 | C# |
namespace Microsoft.AspNetCore.Mvc.Versioning
{
using Abstractions;
using AspNetCore.Routing;
using Builder;
using Controllers;
using Conventions;
using Extensions.DependencyInjection;
using FluentAssertions;
using Infrastructure;
using Internal;
using Simulators;
using Syst... | 46.247019 | 205 | 0.592588 | [
"MIT"
] | SiberaIndustries/aspnet-api-versioning | test/Microsoft.AspNetCore.Mvc.Versioning.Tests/Versioning/ApiVersionActionSelectorTest.cs | 27,149 | C# |
using System.Collections.Generic;
namespace Spard.Common
{
internal sealed class CacheDictionary: Dictionary<SimpleTransformState, List<SimpleTransformState>>
{
}
}
| 19.888889 | 103 | 0.765363 | [
"MIT"
] | VladimirKhil/Lingware | src/Spard/Common/CacheDictionary.cs | 181 | C# |
//namespace UnitTests.Accounts.CloseAccount;
//using System;
//using Xunit;
//internal sealed class InvalidDataSetup : TheoryData<Guid>
//{
// public InvalidDataSetup()
//{
// Add(Guid.NewGuid());
// Add(Guid.NewGuid());
// Add(Guid.NewGuid());
// }
//}
| 18.0625 | 59 | 0.595156 | [
"MIT"
] | MartsTech/D-Wallet | packages/api/tests/UnitTests/Accounts/CloseAccount/InvalidDataSetup.cs | 291 | C# |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using NuGet.ProjectManagement;
namespace NuGet.PackageManagement.UI
{
[ValueConversion(typeof(MessageLevel), typeof(Brush))]
internal class MessageLevelToBrushConverter : Freezable, IValueConv... | 32.391892 | 110 | 0.609095 | [
"Apache-2.0"
] | 0xced/NuGet.Client | src/NuGet.Clients/NuGet.PackageManagement.UI/Converters/MessageLevelToBrushConverter.cs | 2,397 | C# |
using System;
using AuthService.Domain.Aggregates.AccountAggregate;
using EasyDesk.CleanArchitecture.Domain.Model;
using EasyDesk.Tools.Options;
using EasyDesk.Tools.PrimitiveTypes.DateAndTime;
namespace AuthService.Domain.Authentication;
public interface IAccessTokenService
{
AccessToken GenerateAccessToken(Acc... | 27.411765 | 70 | 0.832618 | [
"MIT"
] | ldeluigi/microchat | services/auth/src/AuthService.Domain/Authentication/IAccessTokenService.cs | 468 | C# |
using Newtonsoft.Json;
namespace RecklessBoon.MacroDeck.Discord.RPC.Model
{
public class EmbedImage
{
[JsonProperty("url", NullValueHandling = NullValueHandling.Ignore)]
public string Url { get; set; }
[JsonProperty("proxy_url", NullValueHandling = NullValueHandling.Ignore)]
p... | 30.1 | 81 | 0.671096 | [
"MIT"
] | RecklessBoon/Macro-Deck-Discord-Plugin | RPC/Model/EmbedImage.cs | 604 | 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.4 | 83 | 0.645875 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/BotService/V20171201/Inputs/DirectLineChannelPropertiesArgs.cs | 994 | 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.Collections.Generic;
using System.Runtime.InteropServices;
using System.Speech.Synthesis.TtsEngine;
namespace System.Speech.Internal.Synthesis
{
internal abstract c... | 28.519048 | 99 | 0.548506 | [
"MIT"
] | belav/runtime | src/libraries/System.Speech/src/Internal/Synthesis/TTSEngineProxy.cs | 5,989 | C# |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xF34A7244, "STUAnimNode_BlendPartition")]
public class STUAnimNode_BlendPartition : STUAnimNode_Base {
[STUFieldAttribute(0x57C51236, ReaderType = typeof(InlineInstanceFieldReade... | 41.32 | 89 | 0.752178 | [
"MIT"
] | Mike111177/OWLib | TankLib/STU/Types/STUAnimNode_BlendPartition.cs | 2,066 | C# |
using System.Collections.Generic;
namespace Sitecore.Trekroner.Proxy
{
public class ProxyConfiguration
{
public static readonly string Key = "Proxy";
public string DefaultDomain { get; set; }
public IDictionary<string,ServiceConfiguration> Services { get; set; }
}
}
| 23.538462 | 78 | 0.689542 | [
"MIT"
] | Sitecore/Trekroner | src/Sitecore.Trekoner/Proxy/ProxyConfiguration.cs | 308 | 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... | 33.142857 | 113 | 0.681897 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ContainerService/Inputs/ContainerServiceSshConfigurationArgs.cs | 1,160 | C# |
using Neo.IO.Json;
using Neo.VM.Types;
namespace Neo.SmartContract
{
partial class ApplicationEngine
{
public static readonly InteropDescriptor System_Json_Serialize = Register("System.Json.Serialize", nameof(JsonSerialize), 0_00100000, CallFlags.None, true);
public static readonly InteropDescr... | 35.136364 | 170 | 0.71022 | [
"MIT"
] | cloud8little/neo | src/neo/SmartContract/ApplicationEngine.Json.cs | 773 | C# |
using System;
namespace MusicApp.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}
| 17.25 | 70 | 0.661836 | [
"MIT"
] | CaptainUltra/IT-Career-Course | Year 2/Module 7 - Software Development/Apps/MusicApp/MusicApp/Models/ErrorViewModel.cs | 207 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
using log4net;
using System.Reflection;
namespace GSharpTools
{
public enum Presence
{
Optional = 0,
Required
}
public enum InputArgType
{
Flag =... | 32.543424 | 139 | 0.465498 | [
"BSD-2-Clause"
] | jwg4/gtools | GSharpTools/InputArgs.cs | 13,117 | C# |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Collections.Generic;
... | 26.666667 | 92 | 0.6675 | [
"Apache-2.0"
] | SNBnani/Xian | Enterprise/Core/Modelling/RequiredAttribute.cs | 800 | C# |
using System;
using System.Windows.Forms;
using JetBrains.Annotations;
using LVK.Logging;
namespace WinFormsSandbox
{
public partial class MainForm : Form
{
[NotNull]
private readonly ILogger _Logger;
public MainForm([NotNull] ILogger logger)
{
_Logger = logger ?... | 20.444444 | 80 | 0.619565 | [
"MIT"
] | FeatureToggleStudy/LVK | WinFormsSandbox/MainForm.cs | 554 | C# |
//
// PlayerController.cs
// MB2D Engine
//
// ---------------------------------------------------
//
// Create by Jacob Milligan on 12/09/2016.
// Copyright (c) Jacob Milligan 2016. All rights reserved.
//
using Microsoft.Xna.Framework.Input;
using MB2D.IO;
namespace MB2D.EntityComponent
{
/// <summary>
/// Decl... | 22.734694 | 98 | 0.609515 | [
"Unlicense",
"MIT"
] | jacobmilligan/MB2D | src/EntityComponent/Components/UtilityController.cs | 1,114 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using HotChocolate.Execution.Properties;
using HotChocolate.Language;
using HotChocolate.Resolvers;
using HotChocolate.Types;
using Microsoft.Extensions.DependencyInjection;
namespace HotChocolate.Execution.Processing... | 31.418605 | 93 | 0.540192 | [
"MIT"
] | BlacKCaT27/hotchocolate | src/HotChocolate/Core/src/Execution/Processing/MiddlewareContext.Global.cs | 6,755 | C# |
//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2009 the Open Toolkit library.
//
// 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 l... | 35.57508 | 110 | 0.569286 | [
"MIT"
] | PaintLab/PixelFarm.External | src/BackEnd.MiniOpenTK_OLD/BackEnd.MiniOpenTK/OpenTK/Math/Rectangle.cs | 11,135 | C# |
using UnityEngine;
namespace Plugins.GameService.Tools.AsyncAwaitUtil.Source.Internal
{
public class AsyncCoroutineRunner : MonoBehaviour
{
static AsyncCoroutineRunner _instance;
public static AsyncCoroutineRunner Instance
{
get
{
if (_instance =... | 23.6875 | 70 | 0.534301 | [
"Apache-2.0"
] | AR-Ghodrati/DoooZ | Assets/Plugins/GameService/Tools/AsyncAwaitUtil/Source/Internal/AsyncCoroutineRunner.cs | 758 | C# |
using System.Collections.Generic;
using Essensoft.Paylink.Alipay.Response;
namespace Essensoft.Paylink.Alipay.Request
{
/// <summary>
/// alipay.ebpp.recharge.trade.detect
/// </summary>
public class AlipayEbppRechargeTradeDetectRequest : IAlipayRequest<AlipayEbppRechargeTradeDetectResponse>
{
... | 22.620968 | 109 | 0.546881 | [
"MIT"
] | fory77/paylink | src/Essensoft.Paylink.Alipay/Request/AlipayEbppRechargeTradeDetectRequest.cs | 2,841 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... | 35.410714 | 104 | 0.693394 | [
"Apache-2.0"
] | PaulFanen/Lean | Brokerages/Binance/BinanceCrossMarginRestApiClient.cs | 1,983 | C# |
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpLearning.Examples.Properties;
using SharpLearning.FeatureTransformations.MatrixTransforms;
using SharpLearning.InputOutput.Csv;
using SharpLearning.InputOutput.Serialization;
... | 39.675676 | 102 | 0.667234 | [
"MIT"
] | mdabros/SharpLearning.Examples | src/SharpLearning.Examples/FeatureTransformations/FeatureNormalizationExample.cs | 2,938 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SnipeSharp.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SnipeSharp.Tests")]
[assembly: Assemb... | 30.095238 | 56 | 0.754747 | [
"MIT"
] | ReticentRobot/SnipeSharp | SnipeSharp.Tests/Properties/AssemblyInfo.cs | 633 | 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... | 32.986842 | 108 | 0.638213 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Honeycode/Generated/Model/ImportOptions.cs | 2,507 | C# |
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Arrays.cs
// This is a helper class offering generic functionality to builtin Arrays.
//
// MeshKit For Unity, Created By Melli Georgiou
// © 2018 Hell Tap Entertainment LTD
//
/////////////////////... | 35.110119 | 143 | 0.472578 | [
"MIT"
] | HOUJUNGYAO/MA_MovingPlatform | 0428/Assets/Plugins/Hell Tap Entertainment/MeshKit/Scripts/Support/Core/Arrays.cs | 11,800 | C# |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using WorldJourney.Models;
using WorldJourney.Filters;
namespace WorldJourney.Controllers
{
public class CityController : Controller... | 29.178082 | 85 | 0.553521 | [
"MIT"
] | DerksArno/20486D-DevelopingASPNETMVCWebApplications | Allfiles/Mod04/Labfiles/01_WorldJourney_begin/WorldJourney/Controllers/CityController.cs | 2,132 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MicrosoftTeamsIntegration.Jira.Helpers;
using MicrosoftTeamsIntegration.Jira.Models;
using MicrosoftTeamsIntegration.Jira.Models.Jira;
using MicrosoftTeamsIntegration.Jira.Services.Interfaces;
using MicrosoftT... | 35.977444 | 191 | 0.598119 | [
"Apache-2.0"
] | atlassian-labs/msteams-jira-server | src/MicrosoftTeamsIntegration.Jira/Services/JiraAuthService.cs | 4,787 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | 23.464286 | 58 | 0.733638 | [
"MIT"
] | almedinagolos/eBiblioteka | eBiblioteka/eBiblioteka.Mobile/eBiblioteka.Mobile.UWP/MainPage.xaml.cs | 659 | C# |
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
namespace XamarinFormsMVVM.Windows
{
/// <summary>
/// Provides appl... | 38.319149 | 99 | 0.597446 | [
"MIT"
] | wpbest/XamarinFormsMVVM | XamarinFormsMVVM/XamarinFormsMVVM.Windows/App.xaml.cs | 3,604 | 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... | 38.294643 | 153 | 0.62602 | [
"ECL-2.0",
"Apache-2.0"
] | aangelisc/pulumi-azure | sdk/dotnet/AppService/Inputs/FunctionAppSlotSiteConfigGetArgs.cs | 4,289 | 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... | 31.212121 | 94 | 0.606311 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/AlertsManagement/V20200804Preview/Inputs/VmGuestHealthAlertCriterionArgs.cs | 2,060 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class TaggedObjectsListDef : gamebbScriptDefinition
{
[Ordinal(0)] [RED("taggedObjectsList")] public gamebbScriptID_Variant TaggedObjectsList { get; set; }
... | 27.1875 | 107 | 0.74023 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/TaggedObjectsListDef.cs | 420 | 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.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using Microsoft.Cci;
using M... | 34.162791 | 158 | 0.612662 | [
"MIT"
] | dseefeld/buildtools | src/ApiCompat/DifferenceWriter.cs | 2,940 | C# |
//Author Maxim Kuzmin//makc//
using Makc2020.Core.Base.Executable.Services.Async;
using Makc2020.Core.Base.Resources.Errors;
using System;
using System.Threading.Tasks;
namespace Makc2020.Mods.DummyTree.Base.Jobs.List.Get
{
/// <summary>
/// Мод "DummyTree". Задания. Список. Получение. Сервис.
/// </summ... | 29.769231 | 101 | 0.643411 | [
"MIT"
] | maxim-kuzmin/Makc2020 | net-core/Makc2020.Mods.DummyTree.Base/Jobs/List/Get/ModDummyTreeBaseJobListGetService.cs | 1,626 | C# |
namespace Saplin.CPDT.UICore.Localization
{
public static class Locales
{
public const string en = "en";
public const string ru = "ru";
public const string fr = "fr";
public const string zh = "zh";
public static bool IsValid(string locale)
{
if (loca... | 25.85 | 49 | 0.524178 | [
"MIT"
] | Luzianic-kalati/CrossPlatformDiskTest | Saplin.CPDT.UICore/Localization/Locales.cs | 519 | C# |
using Betting.Abstract;
using SQLite;
using System;
using UtilityEnum;
using Betting.Enum;
namespace Betting.Entity.Sqlite
{
[Dapper.Contrib.Extensions.Table("Order")]
public class Order : DBEntity, IOrder
{
public Order(Guid betId, Guid marketId, Guid selectionId, uint price, uint averagePriceMa... | 30.808511 | 223 | 0.620511 | [
"MIT"
] | dt-bet/Betting | Betting.Entity.Sqlite/Order.cs | 2,898 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace Inbox2.Platform.Framework.Text.iFilter
{
[ComVisible(false)]
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("00000001-0000-0000-C000-000000000046")]
internal interface I... | 33.881818 | 150 | 0.722028 | [
"BSD-3-Clause"
] | Klaudit/inbox2_desktop | Code/Platform/Framework/Text/iFilter/ComHelper.cs | 3,727 | C# |
using System.Data.Entity;
using System.Data.Entity.SqlServer;
namespace ContosoUniversity.DAL
{
public class SchoolConfiguration : DbConfiguration
{
public SchoolConfiguration()
{
SetExecutionStrategy("System.Data.SqlClient", () => new SqlAzureExecutionStrategy());
}
}
... | 24.692308 | 97 | 0.676012 | [
"Apache-2.0"
] | DiegoCasallas/MVC | C#/ContosoUniversity/DAL/SchoolConfiguration.cs | 323 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Globalization;
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// D... | 38.153846 | 169 | 0.56926 | [
"Apache-2.0"
] | AhmedKhalil777/aspnetcore | src/Http/Authentication.Abstractions/src/AuthenticationProperties.cs | 8,432 | C# |
using System;
using System.Xml;
using System.Text;
namespace AIMLBot.Core.AIMLTagHandlers
{
/// <summary>
/// The formal element tells the AIML interpreter to render the contents of the element
/// such that the first letter of each word is in uppercase, as defined (if defined) by
/// the locale indi... | 40.274194 | 98 | 0.529836 | [
"MIT"
] | AshokSubedi5/AIMLBot | AIMLBot.Core/AIMLTagHandlers/formal.cs | 2,497 | C# |
using System.Runtime.Serialization;
using EltraCommon.Contracts.CommandSets;
using EltraCommon.Contracts.Devices;
namespace EposMaster.DeviceManager.Device.Epos4.Commands
{
[DataContract]
class GetMotorParameterCommand : DeviceCommand
{
public GetMotorParameterCommand(EltraDevice device)
:base(dev... | 20.086957 | 57 | 0.720779 | [
"Apache-2.0"
] | eltra-ch/eltra-sdk | samples/Maxon/Epos4/EposMaster/DeviceManager/Device/Epos4/Commands/GetMotorParameterCommand.cs | 462 | C# |
namespace MassTransit.ExtensionsDependencyInjectionIntegration.Registration
{
using System;
using MassTransit.Registration;
using Mediator;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using ScopeProviders;
using Scoping;
pu... | 39.6 | 145 | 0.70202 | [
"ECL-2.0",
"Apache-2.0"
] | AlexGoemanDigipolis/MassTransit | src/Containers/MassTransit.ExtensionsDependencyInjectionIntegration/Registration/ServiceCollectionMediatorConfigurator.cs | 2,772 | C# |
namespace AEIEditor
{
public class AeImageTextureSymbolData
{
public AeImageTextureSymbolData(int newSymbolGroupId, ushort newSymbol)
{
GroupId = newSymbolGroupId;
Symbol = newSymbol;
}
public int GroupId;
public ushort Symbol;
}
}
| 15.875 | 73 | 0.744094 | [
"MIT",
"Unlicense"
] | xyx0826/AbyssEngineTools | AEIEditor/AEImageTextureSymbolData.cs | 256 | C# |
#if UNITY_EDITOR
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Planetaria
{
public static class VectorGraphicsWriter // FIXME: TODO: clean this up! // CONSIDER: make into an abstract interface? // Parameters for "edge creation" get weird if an interface is used
{
pu... | 43.322581 | 189 | 0.622735 | [
"MIT-0"
] | U3DC/Planetaria | Assets/Planetaria/Code/EditorCode/Builder/Rendering/VectorGraphicsWriter.cs | 4,031 | C# |
// ReSharper disable All
namespace OpenTl.Schema
{
using System;
using System.Collections;
using OpenTl.Schema;
public interface IInputFileLocation : IObject
{
}
}
| 12.466667 | 49 | 0.695187 | [
"MIT"
] | zzz8415/OpenTl.Schema | src/OpenTl.Schema/_generated/_Entities/InputFileLocation/IInputFileLocation.cs | 189 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PersonalizerTravelAgencyDemo.Models
{
public class Action
{
public string Id { get; set; }
public string ButtonColor { get; set; }
public PartialImageModel Image { get;... | 24.947368 | 53 | 0.624473 | [
"MIT"
] | Azure-Samples/cognitive-services-personalizer-samples | demos/PersonalizerTravelAgencyDemo/PersonalizerTravelAgencyDemo/Models/Action.cs | 476 | C# |
//
// Copyright 2020 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | 37.811047 | 117 | 0.611901 | [
"Apache-2.0"
] | Theschme96/iap-desktop | sources/Google.Solutions.IapDesktop.Application.Test/Views/Options/TestGeneralOptionsViewModel.cs | 13,009 | 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.288136 | 110 | 0.664801 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/IoTAnalytics/Generated/Model/DescribeDatasetRequest.cs | 1,787 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
... | 33.54 | 104 | 0.707812 | [
"MIT"
] | AlexanderSemenyak/roslyn | src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_NullCheckedParameters.cs | 1,679 | 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.
#if !IS_CORECLR
using System;
using System.Collections.Generic;
using System.IdentityModel.Protocols.WSTrust;
using System.IdentityModel.Tokens;
using ... | 33.716418 | 148 | 0.562933 | [
"Apache-2.0"
] | BdDsl/NuGet.Client | src/NuGet.Core/NuGet.Protocol/HttpSource/StsAuthenticationHandler.cs | 6,779 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using NiL.JS;
using NiL.JS.Core;
using NiL.JS.Core.Interop;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Storage;
using Wind... | 34.39267 | 119 | 0.509514 | [
"BSD-3-Clause"
] | 0xF6/NiL.JS | Portable.Test.Phone/MainPage.xaml.cs | 7,109 | 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>
//--... | 39.740741 | 151 | 0.583411 | [
"MIT"
] | fossabot/Maya-1 | Maya.CrashReporter/Properties/Settings.Designer.cs | 1,075 | C# |
using System;
using OpenTK;
namespace SimpleScene
{
#region Particle Plane Generators
/// <summary>
/// Generates a number of particles with 2D coordinates
/// </summary>
public abstract class ParticlesPlaneGenerator
{
public delegate bool NewParticleDelegate(int id, Vector2 pos); // r... | 30.882353 | 96 | 0.588571 | [
"Apache-2.0"
] | 8Observer8/SimpleScene | SimpleScene/Meshes/Instancing/ParticlesPlaneGenerators.cs | 1,577 | C# |
using System;
using System.Collections.Generic;
using System.Text;
/*
* This file is part of the iText project.
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero Ge... | 44.8425 | 140 | 0.399203 | [
"MIT"
] | mdalaminmiah/Diagnostic-Bill-management-System | packages/itextsharp-all-5.5.10/itextsharp-src-core/iTextSharp/text/pdf/languages/ArabicLigaturizer.cs | 35,874 | C# |
using UnityEngine;
public class GameEventSystemSingleton : MonoBehaviour
{
static GameEventSystemSingleton _instance;
void Awake()
{
if (_instance != null && _instance != this)
DestroyImmediate(gameObject);
else
{
_instance = this;
ObjectExtensi... | 20.666667 | 58 | 0.604839 | [
"MIT"
] | nokia-wroclaw/innovativeproject-action-race | Action Race/Assets/Scripts/GameEventSystemSingleton.cs | 374 | C# |
using System.Reflection;
using Exceptional.Core;
using NSpec;
namespace Exceptional.Tests.Standard
{
public class describe_ClientSummary : nspec
{
public void when_creating_client_summary()
{
ClientSummary summary = null;
context["with default values"] = ()... | 35.375 | 182 | 0.567727 | [
"Apache-2.0"
] | mroach/exceptional-net | src/Exceptional.Tests/Standard/describe_ClientSummary.cs | 851 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Add a user schedule.
/// The response is either a SuccessResponse or an Error... | 28.911392 | 130 | 0.589755 | [
"MIT"
] | JTOne123/broadworks-connector-net | BroadworksConnector/Ocip/Models/UserScheduleAddRequest.cs | 2,284 | C# |
namespace LayoutDesigner.Console
{
public class LayoutLayer
{
}
} | 13 | 33 | 0.666667 | [
"Apache-2.0"
] | Patrickkk/Tests | LayoutDesigner/LayoutDesigner.Console/LayoutLayer.cs | 80 | C# |
namespace ZeroLevel.Patterns.Queries
{
public class QueryResult
{
public bool Success { get; set; }
public string Reason { get; set; }
public long Count { get; set; }
public static QueryResult Result(long count = 0)
{
return new QueryResult
{
... | 22.814815 | 56 | 0.465909 | [
"MIT"
] | ogoun/Zero | ZeroLevel/Services/Queries/Storage/QueryResult.cs | 618 | 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... | 40.614035 | 118 | 0.582433 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Peering/Prefix.cs | 6,945 | C# |
namespace TimeLog.ReportingApi.SDK
{
public class TaskStatus
{
public static int All
{
get
{
return -1;
}
}
public static int Active
{
get
{
return 1;
... | 16 | 36 | 0.3 | [
"MIT"
] | DBFBlackbull/worktimeanalyzer. | TimeLog.ReportingApi.SDK/TaskStatus.cs | 482 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playAnimation : MonoBehaviour {
public Animator animator;
// Use this for initialization
void Start () {
animator.Play("loading");
}
// Update is called once per frame
void Update () {
}
}
| 17.055556 | 44 | 0.697068 | [
"MIT"
] | Sketching101/moon2 | Assets/Scripts/playAnimation.cs | 309 | C# |
using CodingTest.Domain.Models.Enum;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace CodingTest.Resources... | 26.3125 | 90 | 0.686461 | [
"Apache-2.0"
] | MasDeny/Todo-List | CodingTest/Resources/TodoResource.cs | 844 | C# |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.Consensus.Rules.CommonRules;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitcoin.Features.MemoryPool.Interfaces;
using Stratis.Bitcoin.Fe... | 43.68325 | 265 | 0.591132 | [
"MIT"
] | juliopcrj/X42-FullNode | src/Stratis.Bitcoin.Features.Miner/BlockDefinition.cs | 26,343 | C# |
using UnityEngine;
using UnityEngine.Events;
namespace Common.GameEvent
{
public class GameEventListener : MonoBehaviour
{
[SerializeField] public GameEvent gameEvent;
[SerializeField] public UnityEvent unityEvent;
[SerializeField] public bool debuggingEnabled;
private void Awa... | 30.918919 | 81 | 0.617133 | [
"MIT"
] | tunderix/FGJ-TD-22 | Assets/Scripts/Common/GameEvent/GameEventListener.cs | 1,144 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.