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 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... | 29.219048 | 214 | 0.580508 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Web/V20200901/ListWebAppFunctionKeysSlot.cs | 3,068 | C# |
namespace AudioBand.Models
{
/// <summary>
/// Specifies the type of content for a button.
/// </summary>
public enum ButtonContentType
{
/// <summary>
/// Specifies that the button content is an image.
/// </summary>
Image,
/// <summary>
... | 22.052632 | 59 | 0.501193 | [
"MIT",
"BSD-3-Clause"
] | AudioBand/AudioBand | src/AudioBand/Models/ButtonContentType.cs | 421 | C# |
#if !JSB_UNITYLESS
using System;
using System.Reflection;
namespace jsb.Editor
{
using QuickJS.Unity;
using QuickJS.Binding;
using UnityEngine;
/// <summary>
/// the most essential types for scripting.
/// you could define your own BindingProcess anywhere in your project's 'Assets'... | 59.436842 | 152 | 0.656779 | [
"MIT"
] | shunfy/unity-jsb | Packages/cc.starlessnight.unity-jsb/Source/Unity/Editor/CustomBindings/UnityBinding.cs | 11,293 | C# |
using SeniorBlockchain.Base;
using SeniorBlockchain.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace SeniorBlockchain.Builder
{
/// <summary>
/// A class providing extension methods for <see cref="IFullNodeBuilder"/>.
/// </summary>
public static class FullNodeBuilderNodeSettin... | 38.590909 | 112 | 0.649588 | [
"MIT"
] | seniorblockchain/blockchain | src/SeniorBlockchain/Builder/FullNodeBuilderNodeSettingsExtension.cs | 1,700 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using SistemaControle.Models;
namespace SistemaControle.Controllers
{
[Authorize]
public cla... | 37.321337 | 176 | 0.551936 | [
"MIT"
] | Cesar1986BR/Sistema-Controle | SistemaControle/Controllers/MVC/ManageController.cs | 14,520 | C# |
#region Copyright
//
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> update form orginal repo
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// do... | 34.142857 | 116 | 0.708308 | [
"MIT"
] | DnnSoftwarePersian/Dnn.Platform | DNN Platform/DotNetNuke.Web.Deprecated/UI/WebControls/DnnTreeView.cs | 1,674 | 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... | 27.805556 | 84 | 0.647353 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/ContainerService/V20191001/Outputs/ManagedClusterServicePrincipalProfileResponse.cs | 1,001 | C# |
using Ipfs;
using System;
using System.IO;
using System.Threading.Tasks;
namespace IDVN.Web.Logic
{
public class IPFSService : IDisposable
{
private readonly IpfsClient ipfs;
public IPFSService()
{
this.ipfs = new IpfsClient();
}
public async Task<string> A... | 22.553571 | 77 | 0.480602 | [
"MIT"
] | dzhenko/IDvNEXT | IDVN.Web/Logic/IPFSService.cs | 1,263 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace razor1.Pages
{
public class IndexModel : PageModel
{
private readonly IL... | 20.115385 | 54 | 0.632887 | [
"MIT"
] | junioridi/portfolio | h-care/razor1/Pages/Index.cshtml.cs | 525 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OutputLogListener.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2016 CatenaLogic. All rights reserved.
// </copyright>
// --------------------------------------------------... | 34.16 | 143 | 0.462529 | [
"MIT"
] | AArnott/GitLink | src/PdbGit/Logging/OutputLogListener.cs | 856 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("KaupischIT.CardRead... | 46.90625 | 146 | 0.758161 | [
"MIT"
] | Kaupisch-IT/eGK-KVK | KaupischIT.CardReader/Properties/AssemblyInfo.cs | 1,519 | C# |
using System;
using Server;
using System.IO;
using Server.Commands;
using Server.Items;
using Server.Mobiles;
using Server.Network;
namespace Server
{
public static class DecorateML
{
public static void Initialize()
{
CommandSystem.Register( "DecorateML", AccessLevel.Administrator, new CommandEventHandler( D... | 33.060606 | 118 | 0.744271 | [
"BSD-2-Clause"
] | greeduomacro/vivre-uo | Scripts/Customs/Nerun's Distro/ML/Commands/DecorateML.cs | 1,091 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MssqlRabbitTool
{
public class QueueInventory
{
public string ConsumerGroup { get; set; }
public string ExchangeName { get; set; }
public string QueuePrefix { get; set; }
public int QueueCount { get; s... | 24.125 | 51 | 0.65285 | [
"MIT"
] | Rebalanser/rebalanser-net-mssql | src/MssqlRabbitTool/QueueInventory.cs | 388 | C# |
//
// HttpMethod.cs
//
// Author:
// Martin Baulig <martin.baulig@xamarin.com>
//
// Copyright (c) 2015 Xamarin, 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 rest... | 33.175 | 80 | 0.743783 | [
"MIT"
] | stefb965/web-tests | Xamarin.WebTests.Framework/Xamarin.WebTests.HttpClient/HttpMethod.cs | 1,329 | C# |
namespace Stumps.Server.Data
{
using System;
using System.IO;
using NUnit.Framework;
[TestFixture]
public class ConfigurationDataAccessTests
{
[Test]
public void Configuration_WithNullFileName_ThrowsException()
{
Assert.That(
() => new Config... | 29.308511 | 122 | 0.53176 | [
"Apache-2.0"
] | Pankaj-chhatani/stumps | src/test/unit/Stumps.Server.Tests/Data/ConfigurationDataAccessTests.cs | 2,757 | C# |
using System;
using System.Web.Routing;
using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.Settings;
using Orchard.Themes.Models;
namespace Orchard.Themes.Services {
[UsedImplicitly]
public class SiteThemeSelector : IThemeSelector {
protected virtual ISite CurrentS... | 31.541667 | 99 | 0.676354 | [
"BSD-3-Clause"
] | mofashi2011/orchardcms | src/Orchard.Web/Modules/Orchard.Themes/Services/SiteThemeSelector.cs | 759 | C# |
using System.Collections;
using UnityEngine;
using Assets.Gamelogic.Core;
using Assets.Gamelogic.Utils;
using Improbable.Abilities;
using Improbable.Fire;
using Improbable.Gdk.GameObjectRepresentation;
namespace Assets.Gamelogic.Player
{
[WorkerType(WorkerPlatform.UnityClient)]
public class PlayerAnimControlle... | 28.534247 | 125 | 0.630341 | [
"MIT"
] | tsukitsutsuki/sdk-for-unity-wizards-tutorial | workers/unity/Assets/Gamelogic/Player/PlayerAnimController.cs | 2,083 | C# |
namespace More.Windows.Controls
{
using global::Windows.UI.Xaml.Controls;
using global::Windows.UI.Xaml.Navigation;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Linq;
/// <summary>
/// Repres... | 42.897059 | 193 | 0.626786 | [
"MIT"
] | JTOne123/More | src/More.UI.Presentation/Platforms/uap10.0/More/Windows.Controls/WebViewNavigationAdapter.cs | 8,753 | C# |
using FluffyMusic.Core;
using FluffyMusic.Modules;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System.Threading.Tasks;
namespace FluffyMusic.Web
{
public class Program
{
public static async Task Main(string[] args)
... | 32.666667 | 90 | 0.640816 | [
"MIT"
] | Masya1/FluffyMusic | FluffyMusic.Web/Program.cs | 980 | C# |
using System;
namespace Cuyahoga.Core.Domain
{
/// <summary>
/// Association class between Node and Role.
/// </summary>
public class NodePermission : Permission
{
private Node _node;
/// <summary>
/// Property Node (Node)
/// </summary>
public Node Node
{
get { return this._node; ... | 16.482759 | 46 | 0.569038 | [
"BSD-3-Clause"
] | dineshkummarc/cuyahoga | src/Cuyahoga.Core/Domain/NodePermission.cs | 478 | C# |
using System.Diagnostics;
using xnaMugen.IO;
namespace xnaMugen.StateMachine.Controllers
{
[StateControllerName("TargetLifeAdd")]
internal class TargetLifeAdd : StateController
{
public TargetLifeAdd(StateSystem statesystem, string label, TextSection textsection)
: base(statesystem, label, textsection... | 30.586667 | 87 | 0.720575 | [
"BSD-3-Clause"
] | BlazesRus/xnamugen | src/StateMachine/Controllers/TargetLifeAdd.cs | 2,294 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Circle:Shape
{
public Circle(double width, double height)
: base(width, height)
{
if (this.width != this.height)
{
throw new ArgumentException("Width mu... | 19.416667 | 78 | 0.630901 | [
"MIT"
] | Ico093/TelerikAcademy | C#OOP/Homework/02.ObjectOrientedProgarammingPriciples2/ObjectOrientedProgarammingPriciples2/ObjectOrientedProgarammingPriciples2/Circle.cs | 468 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Numerics;
using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Host... | 36.291892 | 149 | 0.565386 | [
"MIT"
] | IamNeha99/Uno.WindowsCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Animations/Effects/AnimationEffect.cs | 6,714 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LargeFileExchange.Controllers;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Mi... | 33.510204 | 143 | 0.587393 | [
"MIT"
] | MaxMelcher/GeoWebApp | Startup.cs | 3,286 | C# |
using Newtonsoft.Json;
namespace Notion.Client
{
public class VideoBlock : Block
{
public override BlockType Type => BlockType.Video;
[JsonProperty("video")]
public FileObject Video { get; set; }
}
}
| 18.384615 | 58 | 0.631799 | [
"MIT"
] | hognevevle/notion-sdk-net | Src/Notion.Client/Models/Blocks/VideoBlock.cs | 241 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | 40.011662 | 165 | 0.55494 | [
"Apache-2.0"
] | ForestLin001/conferencexp | MSR.LST.MDShow/MDShowManager/Strings.Designer.cs | 13,726 | C# |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.Framework;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System;
using Microsoft.Buil... | 44 | 132 | 0.66718 | [
"MIT"
] | 01xOfFoo/sdk | src/Tasks/Microsoft.NET.Build.Tasks/GetAssemblyAttributes.cs | 2,598 | 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>
//--... | 34.387097 | 151 | 0.581614 | [
"MIT"
] | hayato88100329/fukuv0709_2 | fukuv0709_2/Properties/Settings.Designer.cs | 1,068 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkdrive_1_0.Models
{
public class DeleteSpaceRequest : TeaModel {
/// <summary>
/// 用户id
/// </summary>
[NameInMap("u... | 19.136364 | 54 | 0.631829 | [
"Apache-2.0"
] | aliyun/dingtalk-sdk | dingtalk/csharp/core/drive_1_0/Models/DeleteSpaceRequest.cs | 425 | C# |
using CommandLine;
using MediatR;
namespace Wtfd.Commands.Init
{
[Verb("init", HelpText = "Initialize skeleton documentation json file.")]
public class InitRequest : IRequest<InitResponse>
{
[Option('t', "target", Required = false,
HelpText = "Specify the target directory. Current directory will be used other... | 34.526316 | 105 | 0.698171 | [
"MIT"
] | garyng/wtfd | src/Wtfd/Commands/Init/InitRequest.cs | 658 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace vegetable_market
{
class Program
{
static void Main(string[] args)
{
var vegetablePrice = double.Parse(Console.ReadLine());
var fruitPrice = dou... | 26.409091 | 92 | 0.635112 | [
"MIT"
] | nikoivo/programming-basics | exam-1st/vegetable-market/Program.cs | 583 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace GlaucomaWay.Models
{
public class Vf14ResultModel
{
[Key]
public int Id { get; set; }
public DateTime Date { get; set; }
public Vf14Answer Q1Score { get; set; }
public Vf14Answer ... | 27.824324 | 176 | 0.524769 | [
"MIT"
] | olena-stoliarova/GlaucomaWay | GlaucomaWay/Models/Vf14ResultModel.cs | 4,120 | 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 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | 39.717391 | 270 | 0.645868 | [
"MIT"
] | AntoineGa/azure-libraries-for-net | src/ResourceManagement/ServiceBus/Generated/Models/MessageCountDetails.cs | 3,654 | C# |
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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
*
* Unl... | 31.393939 | 81 | 0.72973 | [
"Apache-2.0"
] | avjabalpur/ccd-generator | MohawkCollege.EHR.gpmr.Pipeline.Triggers.CorDelta/Annotations/LengthConstraintAnnotation.cs | 1,038 | C# |
using System.Collections.Generic;
namespace Accounting.DataLayer.Repositories
{
public interface ICustomerRepository
{
List<Customers> GetAllCustomers();
Customers GetCustomerbyID(int customerId);
bool InsertCustomer(Customers customer);
bool UpdateCustomer(Customers customer)... | 26.117647 | 50 | 0.702703 | [
"CC0-1.0"
] | htabrizi/Accounting | Accounting/Accounting. DataLayer/Repositories/ICustomerRepository.cs | 446 | C# |
using MediatR;
using Opdex.Platform.Application.Abstractions.EntryCommands.LiquidityPools.Quotes;
using Opdex.Platform.Application.Abstractions.Models.Transactions;
using Opdex.Platform.Application.Abstractions.Queries.LiquidityPools;
using Opdex.Platform.Application.Abstractions.Queries.Markets;
using Opdex.Platform.A... | 54.22807 | 155 | 0.789065 | [
"MIT"
] | Opdex/opdex-v1-api | src/Opdex.Platform.Application/EntryHandlers/LiquidityPools/Quotes/CreateRemoveLiquidityTransactionQuoteCommandHandler.cs | 3,091 | C# |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
namespace Mosa.HardwareSystem
{
/// <summary>
/// Interface to a PCI Controller
/// </summary>
public interface IPCIController
{
/// <summary>
/// Reads from configuration space
/// </summary>
/// <param name="bus">The bus.</param>
/// ... | 34.253521 | 86 | 0.640214 | [
"BSD-3-Clause"
] | carverh/ShiftOS | Source/Mosa.HardwareSystem/IPCIController.cs | 2,434 | 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;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Mi... | 41.319444 | 161 | 0.536471 | [
"Apache-2.0"
] | DanVioletSagmiller/roslyn | src/Workspaces/Core/Portable/FindSymbols/SymbolTree/SymbolTreeInfo_Serialization.cs | 11,902 | C# |
namespace Forum.App.Models
{
using Forum.App.Contracts;
internal class Label : ILabel
{
public Label(string text, Position position, bool isHidden = false)
{
this.Text = text;
this.Position = position;
this.IsHidden = isHidden;
}
public ... | 21.5 | 75 | 0.55814 | [
"MIT"
] | MustafaAmish/All-Curses-in-SoftUni | 05. C# OOP Advanced/15. Workshop/Forum.App/Models/Label.cs | 432 | C# |
namespace NatureShot.Data.Seeding
{
using System;
using System.Linq;
using System.Threading.Tasks;
using NatureShot.Scraping;
using NatureShot.Data.Models;
using System.Collections.Generic;
public class LocationSeeder : ISeeder
{
public LocationSeeder()
{
}
... | 49.633333 | 173 | 0.606111 | [
"MIT"
] | DimitarKazakov/NatureShotWebSite | Nature_Shot/Data/NatureShot.Data/Seeding/LocationSeeder.cs | 2,980 | 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("Li... | 38.027778 | 84 | 0.750913 | [
"MIT"
] | noenemy/Book-Windows-Phone-Programming-Bible | Chapter 12/LifeCycle/LifeCycle/Properties/AssemblyInfo.cs | 1,372 | C# |
using FBLARoverAgenda.ViewModels;
using Syncfusion.ListView.XForms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
namespace FBLARoverAgenda.Views
{
/// <summary>
/// Page to show my address page.
/// </summary>
[Preserve(AllMembers = true)]
[XamlCompilation(XamlCompilationOptions.Compile... | 28.977273 | 80 | 0.556863 | [
"MIT"
] | eahs/FBLARoverAgenda | FBLARoverAgenda/FBLARoverAgenda/Views/AllClubsPage.xaml.cs | 1,275 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
public class Target : MonoBehaviour
{
public ItemType ItemType;
} | 19.222222 | 35 | 0.809249 | [
"MIT"
] | justinryder/Agent-Smith-s-Super-Saving-A-Neo-Shopping-Experience | Agent Smiths Super Savings A Neo Shopping Experience/Assets/Scripts/Target.cs | 175 | C# |
/***************************************************************************************
Toolkit for WPF
Copyright (C) 2007-2019 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/ma... | 29.615385 | 102 | 0.638095 | [
"MIT"
] | O-Debegnach/Supervisor-de-Comercio | wpftoolkit-master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/PropertyGrid/Views/PropertyGridPropertiesView.xaml.cs | 1,157 | C# |
/*
* Hydrogen Integration API
*
* The Hydrogen Integration API
*
* OpenAPI spec version: 1.3.1
* Contact: info@hydrogenplatform.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;... | 25.310078 | 108 | 0.549158 | [
"Apache-2.0"
] | ShekharPaatni/SDK | integration/csharp/src/Integration.Test/Model/IdentificationTests.cs | 3,265 | C# |
#region License
/*
* HttpListenerRequest.cs
*
* This code is derived from HttpListenerRequest.cs (System.Net) of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2012-2021 sta.blockhead
*
* Permission is hereby granted, free... | 25.869752 | 80 | 0.557442 | [
"MIT"
] | Nobatgeldi/websocket-sharp | websocket-sharp/Net/HttpListenerRequest.cs | 24,033 | C# |
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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 ... | 32.122807 | 84 | 0.628072 | [
"Apache-2.0"
] | andymac4182/MassTransit | src/MassTransit/Configuration/PipeConfigurators/TransactionPipeSpecification.cs | 1,831 | C# |
using FluentValidation.TestHelper;
using Opdex.Auth.Api.Validation;
using SSAS.NET;
using Xunit;
namespace Opdex.Auth.Api.Tests.Validation;
public class StratisSignatureAuthCallbackBodyValidatorTests
{
private readonly StratisSignatureAuthCallbackBodyValidator _validator;
public StratisSignatureAuthCallbackB... | 28.43956 | 114 | 0.684699 | [
"MIT"
] | Opdex/opdex-auth-api | test/Opdex.Auth.Api.Tests/Validation/StratisSignatureAuthCallbackBodyValidatorTests.cs | 2,588 | C# |
using System;
using FluentAssertions;
using Hadoop.Client.Hdfs.WebHdfs;
using Hadoop.Client.Jobs;
using Hadoop.Client.Jobs.Hive;
using Hadoop.Client.Jobs.WebHCatalog;
using Xunit;
namespace Hadoop.Client.Tests
{
public class JobSchedulingTests
{
private const string WebHcatBase = @"http://sandbox.hort... | 33.441558 | 93 | 0.541359 | [
"Apache-2.0"
] | sadowskik/Hadoop.Client | Hadoop.Client.Tests/JobSchedulingTests.cs | 2,577 | C# |
using Godot;
public class LabelUI : RichTextLabel
{
public override void _Ready()
{
GetParent().GetParent().GetNode("RocketNoLandingLegs").Connect("SendRocketVelocity", this, nameof(OnSendRocketVelocity));
}
public void OnSendRocketVelocity(Vector2 velocity)
{
Text = "Velocity: " + ... | 26.769231 | 129 | 0.681034 | [
"MIT"
] | RookieIndieDev/space-sim | scripts/LabelUI.cs | 348 | C# |
using Lucene.Net.Analysis.Cjk;
using Lucene.Net.Analysis.Core;
using Lucene.Net.Analysis.Ja.Dict;
using Lucene.Net.Analysis.Util;
using Lucene.Net.Util;
using System;
using System.Collections.Generic;
using System.IO;
using JCG = J2N.Collections.Generic;
namespace Lucene.Net.Analysis.Ja
{
/*
* Licensed to th... | 42.711864 | 177 | 0.632341 | [
"Apache-2.0"
] | Ref12/lucenenet | src/Lucene.Net.Analysis.Kuromoji/JapaneseAnalyzer.cs | 5,042 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se p... | 26.39322 | 150 | 0.662728 | [
"Apache-2.0"
] | dmunozgaete/Widul-API | v1/Endpoints/Events/Models/Comments.designer.cs | 7,795 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Globalization;
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageS... | 60.640351 | 213 | 0.469478 | [
"Apache-2.0"
] | asmodat/ImageSharp | tests/ImageSharp.Benchmarks/Samplers/Resize.cs | 13,826 | C# |
using UnityEngine;
using ActiveObjects.Triggers;
namespace ActiveObjects
{
public class AutoTranspanent :
MonoBehaviour
{
[RequiredField]
public FieldTrigger Field;
public Renderer Model;
public float Transparency;
void Start()
{
Field.Activ... | 24.970588 | 70 | 0.564193 | [
"MIT"
] | Sumrix/DAZVillage | Assets/Scripts/ActiveObjects/Interaction/AutoTranspanent.cs | 851 | C# |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace pf
{
public class CSVReader
{
static string SPLIT_RE = @",(?=(?:[^""]*""[^""]*"")*(?![^""]*""))";
static string LINE_SPLIT_RE = @"\r\n|\n\r|\n|\r";
static char[] TRIM_CHA... | 25.037037 | 79 | 0.597633 | [
"MIT"
] | jtlehtinen/platformer | Assets/Libs/CSVReader/CSVReader.cs | 1,352 | C# |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Restaurante.Data.Migrations
{
public partial class Versao_01 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 37.666667 | 122 | 0.517257 | [
"MIT"
] | JulioBorges/cedro-restaurant | restaurante.api/Restaurante.Data/Migrations/20180924054952_Versao_01.cs | 2,262 | 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... | 29.404255 | 106 | 0.625904 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Logic/Latest/Inputs/NetworkConfigurationArgs.cs | 1,382 | C# |
using System;
namespace _01.Thea_The_Photographer
{
class Program
{
static void Main(string[] args)
{
long photosTaken = long.Parse(Console.ReadLine());
int secondsToFilter = int.Parse(Console.ReadLine());
int filterFactor = int.Parse(Console.ReadL... | 34.703704 | 92 | 0.562433 | [
"MIT"
] | KrasimiraGeorgieva/Tech-Module-Programming-Fundamentals | All Exams Tasks Solutions/Thea The Photographer_01/01. Thea The Photographer.cs | 939 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("DigitalPlatform.Drawing")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[asse... | 26.324324 | 56 | 0.717659 | [
"Apache-2.0"
] | DigitalPlatform/dp2 | DigitalPlatform.Drawing/AssemblyInfo.cs | 1,333 | C# |
using System;
namespace UmbracoVault.TypeHandlers.Primitives
{
public class UshortTypeHandler : ITypeHandler
{
private static object Get(string stringValue)
{
ushort result;
ushort.TryParse(stringValue, out result);
return result;
}
public... | 19.708333 | 53 | 0.59408 | [
"Apache-2.0"
] | wkallhof/UmbracoVault.Lite | UmbracoVault/TypeHandlers/Primitives/UShortTypeHandler.cs | 475 | C# |
#if CSHARP_7_OR_LATER
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System.Collections.Generic;
using System.Threading;
using UnityEngine;
using UnityEngine.EventSystems;
namespace UniRx.Async.Triggers
{
[DisallowMultipleComponent]
public class AsyncUpdateSel... | 25.071429 | 110 | 0.730294 | [
"MIT"
] | SkaillZ/ubernet | Assets/Plugins/Ubernet/Scripts/Core/Libs/UniRx/Scripts/Async/Triggers/AsyncUpdateSelectedTrigger.cs | 1,053 | C# |
// TODO Can this be moved up to SIL.Lift.Tests?
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
using SIL.DictionaryServices.Model;
using SIL.Lift;
using SIL.TestUtilities;
namespace SIL.DictionaryServices.Tests.Model
{
[TestFixture]
public class LexRelationCloneableTests : CloneableTests<I... | 28.659341 | 123 | 0.659126 | [
"MIT"
] | MaxMood96/libpalaso | SIL.DictionaryServices.Tests/Model/LexRelationTests.cs | 2,608 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using CodeMania.Core.EqualityComparers.Specialized;
using NUnit.Framework;
namespace CodeMania.UnitTests.EqualityComparers
{
[TestFixture]
public class IntArrayMemoryEqualityComparerTestBase : ArrayMemoryEqualityComparerTestBase<int>
{
public Int... | 39.055556 | 105 | 0.691323 | [
"MIT"
] | aivascu/CodeMania | src/CodeMania.Core.UnitTests/EqualityComparers/IntArrayMemoryEqualityComparerTestBase.cs | 1,408 | C# |
// ReSharper disable InconsistentNaming
using System;
using System.Threading.Tasks;
using EasyNetQ.Consumer;
using EasyNetQ.Logging;
using FluentAssertions;
using NSubstitute;
using RabbitMQ.Client;
using Xunit;
namespace EasyNetQ.Tests.HandlerRunnerTests
{
public class When_a_user_handler_is_executed
{
... | 29.755319 | 125 | 0.591348 | [
"MIT"
] | 10088/EasyNetQ | Source/EasyNetQ.Tests/HandlerRunnerTests/When_a_user_handler_is_executed.cs | 2,797 | C# |
using DaJet.Metadata;
using Microsoft.Data.SqlClient;
using Npgsql;
using NpgsqlTypes;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
namespace DaJet.Data.Messaging.V1
{
/// <summary>
/// Табличный интерфейс входящей очереди со... | 47.285714 | 147 | 0.622692 | [
"MIT"
] | zhichkin/dajet-data-messaging | src/dajet-data-messaging/contracts/v1/IncomingMessage.cs | 7,182 | C# |
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace TiqSoft.ScreenAssistant.Core
{
internal static class WinApiHelper
{
private static IntPtr _prevPoint;
private static string _prevProcess = string.Empty;
[DllImport("user32.dll")]
public stat... | 30.933333 | 94 | 0.619612 | [
"MIT"
] | angusbeef93/screen-access | ScreenAssistant/Core/WinApiHelper.cs | 930 | C# |
/*
* Copyright (c) 2014-2020 GraphDefined GmbH
* This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP>
*
* 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
*
* ... | 39.848052 | 187 | 0.485383 | [
"Apache-2.0"
] | phoompat/WWCP_OCPP | WWCP_OCPPv1.6/Messages/ChargePoint/GetCompositeScheduleResponse.cs | 30,685 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Token : MonoBehaviour {
public RPS_State type;
public TokenSpawner spawner;
public int position;
static float inactiveTime = 3f;
float current;
bool active = false;
// Use this for initialization
void Start ()
{
... | 19.186047 | 64 | 0.69697 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | apetersell/RPSX | RPSXUnity/Assets/Scripts/NewStuff/Token.cs | 827 | C# |
using System;
namespace CSF.Screenplay.Selenium.Models
{
/// <summary>
/// Represents a single option item within an HTML <c><select></c> element.
/// </summary>
public class Option : IEquatable<Option>
{
/// <summary>
/// Gets the option text.
/// </summary>
/// <value>The text.</value... | 32.397436 | 145 | 0.603482 | [
"MIT"
] | csf-dev/CSF.Screenplay.Selenium | CSF.Screenplay.Selenium/Models/Option.cs | 2,529 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using api.Dtos;
using Octokit;
namespace api.Services {
public class IssueService : IIssueService {
public async Task<IEnumerable<IssueDto>> GetIssuesAsync () {
var client = new GitHubClient (new ProductHeaderValue ("OpenArabi... | 30.269231 | 118 | 0.556544 | [
"MIT"
] | edenmind/OpenArabic | api/Services/IssueService.cs | 1,574 | C# |
using System.Collections.Generic;
using NetTopologySuite.Algorithm;
using NetTopologySuite.Algorithm.Locate;
using NetTopologySuite.Geometries;
using NetTopologySuite.Geometries.Utilities;
namespace NetTopologySuite.Operation.Predicate
{
/// <summary>I
/// Implementation of the <tt>Intersects</tt> spatial pred... | 35.785256 | 109 | 0.572682 | [
"EPL-1.0"
] | Amit909Singh/NetTopologySuite | src/NetTopologySuite/Operation/Predicate/RectangleIntersects.cs | 11,165 | C# |
using System;
using System.Windows.Media.Effects;
using System.Windows;
using System.Windows.Media;
namespace ZumtenSoft.WebsiteCrawler.Resources.Effects
{
public class GrayscaleEffect : ShaderEffect
{
private static PixelShader _pixelShader = new PixelShader() { UriSource = new Uri(@"pack://applicati... | 35.854167 | 257 | 0.664149 | [
"Apache-2.0"
] | zumten/WebsiteCrawler | src/ZumtenSoft.WebsiteCrawler/Resources/Effects/GrayscaleEffect.cs | 1,723 | C# |
using System.Threading.Tasks;
using DbTool.Core;
using Microsoft.Extensions.Configuration;
using Xunit;
namespace DbTool.Test
{
public class MySqlTest : BaseDbTest
{
public override string DbType => "MySql";
[Fact]
public override Task QueryTest()
{
return base.Que... | 27.878049 | 183 | 0.611549 | [
"MIT"
] | WeihanLi/DbTool.Packages | test/DbTool.Test/MySqlTest.cs | 1,145 | C# |
namespace Mutators.Tests.FunctionalTests.SecondOuterContract
{
public class LineItem
{
public string LineItemIdentifier { get; set; }
public ItemNumberIdentification ItemNumberIdentification { get; set; }
}
} | 26.333333 | 78 | 0.721519 | [
"MIT"
] | RGleb/GrobExp.Mutators | Mutators.Tests/FunctionalTests/SecondOuterContract/LineItem.cs | 237 | C# |
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.Application;
namespace Volo.Abp.WorkFlowManagement
{
[DependsOn(
typeof(WorkFlowManagementDomainModule),
typeof(WorkFlowManagementApplicationContractsModule),
typeof(AbpDddA... | 32.115385 | 94 | 0.705389 | [
"Apache-2.0"
] | AbpApp/volo.abp.elsa | modules/workflow-mamagement/Volo.Abp.WorkFlowManagement.Application/Volo/Abp/WorkFlowManagement/WorkFlowManagementApplicationModule.cs | 837 | C# |
/*
* Farseer Physics Engine based on Box2D.XNA port:
* Copyright (c) 2010 Ian Qvist
*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any exp... | 33.513514 | 111 | 0.581183 | [
"MIT"
] | CollectifBlueprint/GoalRush | Project/06 - External/Farseer Physics/Collision/Shapes/Shape.cs | 7,442 | C# |
#region License
/*
Copyright © 2014-2019 European Support Limited
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 a... | 44.985075 | 1,440 | 0.662464 | [
"Apache-2.0"
] | fainagof/Ginger | Ginger/GingerCore/Actions/WebServices/ActSoapUI.cs | 9,043 | C# |
// License
// --------------------------------------------------------------------------------------------------------------------
// (C) Copyright 2021 Cato Léan Trütschel and contributors
// (github.com/CatoLeanTruetschel/AsyncQueryableAdapterPrototype)
//
// Licensed under the Apache License, Version 2.0 (the "... | 35.796137 | 147 | 0.600384 | [
"Apache-2.0"
] | CatoLeanTruetschel/AsyncQueryableAdapterPrototype | test/AsyncQueryableAdapterPrototype.Specification/Generated/QueryAdapterSpecification.ElementAtOrDefault.cs | 33,364 | C# |
using OctoFinancial.Data.Interfaces;
namespace OctoFinancial.Persistence.Interfaces
{
public interface ITransactionProvider
{
ITransaction[] LoadTransactions();
}
} | 19.555556 | 46 | 0.784091 | [
"MIT"
] | PanCave/OctoFinancial | projects/OctoFinancial.Persistence.Interfaces/ITransactionProvider.cs | 178 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Collections.Generic;
namespace DataStructures
{
[TestClass]
public class GenericLinkedList
{
[TestMethod]
public void Add()
{
string expected = "foo";
LinkedList<string> link... | 24.333333 | 69 | 0.618395 | [
"MIT"
] | mbreault/csharp | dotnetcore/data_structures/DataStructures/Generic/GenericLinkedList.cs | 513 | C# |
//---------------------------------------------------------------------
// <copyright file="ObservableBackedBindingList`.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
//---------------------------------------------------------------------
using System.C... | 38.81323 | 135 | 0.530426 | [
"MIT"
] | KlausLoeffelmann/BlackBoard | src/CS/Blackboard/WinFormsSupport/BindingListExtension/ObservableBackedConvertableBindingList.cs | 9,977 | C# |
using System.Collections.Generic;
using UnityEngine;
public class Selection : MonoBehaviour {
public HexMap map;
HashSet<Hex> selected;
public void Add(Hex hex) {
selected.Add(hex);
}
public HashSet<Hex> Selected {
get { return selected; }
}
public enum State {
RISING_ANIMATION,
NOT_... | 26.434524 | 104 | 0.655033 | [
"MIT"
] | kfischer-okarin/HexagonRotate-Unity | Assets/Selection.cs | 4,443 | C# |
//using System;
//using System.Diagnostics;
//using System.IO;
//using System.Net.Http;
//using System.Text;
//using System.Threading;
//using FluentAssertions;
//using FunctionalTests.Base;
//using Microsoft.AspNetCore.Builder;
//using Microsoft.AspNetCore.Hosting;
//using Microsoft.AspNetCore.TestHost;
//using Micro... | 42.241071 | 116 | 0.59015 | [
"Apache-2.0"
] | 697765/AspNetCore.Diagnostics.HealthChecks | test/FunctionalTests/HealthChecks.Publisher.Prometheus/PrometheusPublisherTests.cs | 4,733 | C# |
// Copyright 2018 Esri.
//
// 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 ... | 42.709091 | 175 | 0.640485 | [
"Apache-2.0"
] | Druffl3/arcgis-runtime-samples-dotnet | src/iOS/Xamarin.iOS/Samples/Layers/FeatureLayerRenderingModeScene/FeatureLayerRenderingModeScene.cs | 9,396 | 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;
using Pulumi.Utilities... | 35.638095 | 253 | 0.64698 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/DataCatalog/V1Beta1/GetEntryGroup.cs | 3,742 | C# |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | 34.466667 | 122 | 0.625403 | [
"Apache-2.0"
] | DalavanCloud/python-language-server | src/Analysis/Engine/Impl/Infrastructure/Extensions/StringBuilderExtensions.cs | 1,553 | C# |
using Ardalis.Specification;
using FrontDesk.Core.SyncedAggregates;
namespace FrontDesk.Core.SyncedAggregates.Specifications
{
public class ClientsIncludePatientsSpecification : Specification<Client>
{
public ClientsIncludePatientsSpecification()
{
Query
.Include(client => client.Patients)
... | 23.5 | 74 | 0.734043 | [
"MIT"
] | KunalChoudhary521/pluralsight-ddd-fundamentals | FrontDesk/src/FrontDesk.Core/SyncedAggregates/Specifications/Client/ClientsIncludePatientsSpecification.cs | 378 | C# |
// <copyright file="CompanyResponseStorageProvider.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.CannedResponses.Common.Providers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using ... | 47.452941 | 163 | 0.660469 | [
"MIT"
] | ArpitSuresh98/msteams-app-cannedresponse | Source/Microsoft.Teams.Apps.CannedResponses/Common/Providers/CompanyResponseStorageProvider.cs | 8,069 | C# |
namespace LearningCenter.Web.ViewModels.Administration.Dashboard
{
public class IndexViewModel
{
public int SettingsCount { get; set; }
}
}
| 20.125 | 65 | 0.695652 | [
"MIT"
] | NikolayStefanov/Learning-Center | Web/LearningCenter.Web.ViewModels/Administration/Dashboard/IndexViewModel.cs | 163 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Security.Cryptography.X509Certificates;
namespace Microsoft.Azure.Devices.Provisioning.Samples
{
public class Program
... | 34.574074 | 119 | 0.61489 | [
"MIT"
] | CIPop-test/azure-iot-sdk-csharp | provisioning/service/samples/GroupCertificateVerificationSample/Program.cs | 1,869 | C# |
namespace Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Helpers
{
public class AzureTableStorageClientFactory : IAzureTableStorageClientFactory
{
private IAzureTableStorageClient _tableStorageClient;
public AzureTableStorageClientFactory() : this(null)
{
}
... | 32.6 | 102 | 0.678528 | [
"MIT"
] | Anchinga/TechnicalCommunityContent | IoT/Azure IoT Suite/Session 3 - Building Practical IoT Solutions/Solutions/Demo 3.2/Common/Helpers/AzureTableStorageClientFactory.cs | 817 | C# |
using System;
using System.Threading.Tasks;
namespace AlinSpace.Commands
{
/// <summary>
/// Default implementation of <see cref="ICommand{TParameter}"/>.
/// </summary>
public class Command<TParameter> : AbstractCommand<TParameter>
{
private readonly bool verifyCanExecuteBeforeExecution;
... | 34.888889 | 115 | 0.590499 | [
"MIT"
] | onixion/AlinSpace.Command | AlinSpace.Commands/Command/Command.Generic.cs | 3,770 | C# |
using System.Text;
using ExtensionMethods = PeNet.Utilities.ExtensionMethods;
namespace PeNet
{
/// <summary>
/// Represents an exported function.
/// </summary>
public class ExportFunction
{
/// <summary>
/// Create a new ExportFunction object.
/// </summary>
... | 31.102564 | 99 | 0.52803 | [
"Apache-2.0"
] | iceman63/PeNet | src/PeNet/ExportFunction.cs | 2,428 | C# |
using System;
using System.IO;
using System.Text;
using Axiom.Animating;
using Axiom.MathLib;
namespace Axiom.Serialization {
/// <summary>
/// Summary description for OgreSkeletonSerializer.
/// </summary>
public class OgreSkeletonSerializer : Serializer {
#region Member variables
// ... | 37.528 | 124 | 0.566475 | [
"MIT"
] | AustralianDisabilityLimited/MultiversePlatform | axiom/Engine/Serialization/OgreSkeletonReader.cs | 14,073 | C# |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using Arbor.App.Extensions.ExtensionMethods;
using JetBrains.Annotations;
using Milou.Deployer.Web.Agent;
namespace Milou.Deployer.Web.IisHost.Areas.Deployment.Signaling
{
public class LogSubscribers
{
... | 33.807692 | 112 | 0.718999 | [
"MIT"
] | niklaslundberg/milou.deployer | src/Milou.Deployer.Web.IisHost/Areas/Deployment/Signaling/LogSubscribers.cs | 881 | C# |
namespace Serenity.Data.Mapping
{
/// <summary>
/// Specifies that field can not be null.
/// </summary>
/// <seealso cref="SetFieldFlagsAttribute" />
public class NotNullAttribute : SetFieldFlagsAttribute
{
/// <summary>
/// Initializes a new instance of the <see cre... | 26.666667 | 84 | 0.55625 | [
"MIT"
] | ArsenioInojosa/Serenity | src/Serenity.Net.Data/Mapping/NotNullAttribute.cs | 482 | C# |
/*
* Copyright 2010-2013 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... | 31.485714 | 177 | 0.584392 | [
"Apache-2.0"
] | mahanthbeeraka/dataservices-sdk-dotnet | AWSSDK/Amazon.Route53/Model/ResourceRecord.cs | 2,204 | C# |
using System;
using NCore;
using NCore.Reflections;
using PineCone.Annotations;
using PineCone.Resources;
namespace PineCone.Structures.Schemas
{
[Serializable]
public class StructureProperty : IStructureProperty
{
private readonly DynamicGetter _getter;
private readonly Dynami... | 32.078947 | 113 | 0.611977 | [
"MIT"
] | danielwertheim/PineCone | Source/Projects/PineCone/Structures/Schemas/StructureProperty.cs | 2,440 | C# |
using UnityEngine;
using System.Collections;
public class MoveRandomDirectionScript : MonoBehaviour {
public float xMinimum = -1f;
public float xMaximum = 1f;
public float yMinimum = -1;
public float yMaximum = 1;
public float speedMultiplier = 0.1f;
private float xSpeed, ySpeed;
private ... | 22.862069 | 68 | 0.666667 | [
"MIT"
] | Stovich/InvasionForever | Assets/Scripts/MoveRandomDirectionScript.cs | 665 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mecha.Wpf.Settings
{
public enum Accent
{
Blue,
Red,
Green,
Purple,
Orange,
Lime,
Emerald,
Teal,
Cyan,
C... | 14.888889 | 33 | 0.479478 | [
"MIT"
] | marektoman/mechaview | MechaView/Mecha.Wpf.Settings/Accent.cs | 538 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.