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;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
... | 39.092025 | 193 | 0.760986 | [
"Apache-2.0"
] | luizfbicalho/Camunda.NET | camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/behavior/AbstractBpmnActivityBehavior.cs | 6,374 | C# |
namespace Umbraco.Cms.Infrastructure.Persistence.DatabaseModelDefinitions
{
public enum ModificationType
{
Create,
Alter,
Drop,
Rename,
Insert,
Update,
Delete
}
}
| 16.571429 | 74 | 0.573276 | [
"MIT"
] | Ambertvu/Umbraco-CMS | src/Umbraco.Infrastructure/Persistence/DatabaseModelDefinitions/ModificationType.cs | 234 | C# |
using System;
namespace _04._Back_In_30_Minutes
{
public class Program
{
public static void Main()
{
var hours = int.Parse(Console.ReadLine());
var minutes = int.Parse(Console.ReadLine());
int allMinutes = (hours * 60) + minutes + 30;
Console.W... | 22 | 78 | 0.54798 | [
"Apache-2.0"
] | vencislav-viktorov/VS-Console-App | Tech Module New one/01.IntroNBasicSyntax-Lab/04. Back In 30 Minutes/04. Back In 30 Minutes.cs | 398 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Security.Cryptography
{
public partial interface ICspAsymmetricAlgorithm
{
CspKeyContainerInfo CspKeyContainerInfo { get; }
byte[] ExportCspB... | 31.384615 | 71 | 0.732843 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/ICspAsymmetricAlgorithm.cs | 408 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BassClefStudio.UWP.OAuth.Services
{
public class GraphAuthenticationProvider : OAuthAuthenticationProvider
{
public static readonly string[] GraphBasicScopes = new string[]
... | 31.195122 | 85 | 0.563722 | [
"MIT"
] | bassclefstudio/BassClefStudio.UWP | BassClefStudio.UWP.OAuth/Services/GraphAuthenticationProvider.cs | 1,281 | C# |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* Require101.cs -- язык основного текста.
*/
#region Using directives
using JetBrains.Annotations;
using MoonSharp.Interpreter;
#endregion
namespace Ma... | 22.98913 | 84 | 0.456738 | [
"MIT"
] | amironov73/ManagedClient.3 | ManagedClient/Quality/Rules/Require101.cs | 2,223 | C# |
using System.Linq;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Metadata;
using Avalonia.Controls.Mixins;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Input;
using Avalonia.LogicalTree;
namespace Avalonia.Controls
{
/// <summary>
/// An item in a <see cre... | 35.610837 | 134 | 0.566883 | [
"MIT"
] | ErrorCraft/Avalonia | src/Avalonia.Controls/TreeViewItem.cs | 7,229 | C# |
// Copyright (c) Samuel Cragg.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
namespace SharpKml.Dom.Xal
{
using SharpKml.Base;
/// <summary>
/// Contains information of a thoroughfare.
/// </summary>
/// <remarks>A thorough... | 31.266667 | 86 | 0.610874 | [
"MIT"
] | D-Bullock/sharpkml | SharpKml/Dom/Xal/Thoroughfare.cs | 940 | C# |
using System.Web;
using System.Web.Optimization;
namespace PushContentController
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add... | 49.767442 | 112 | 0.557944 | [
"Apache-2.0"
] | ASCITSOL/asp.net | samples/aspnet/WebApi/PushContentControllerSample/PushContentController/App_Start/BundleConfig.cs | 2,142 | C# |
//
// ConnectionTestFeatures.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 ... | 32.623377 | 147 | 0.746815 | [
"MIT"
] | xamarin/web-tests | Xamarin.WebTests.Framework/Xamarin.WebTests.TestFramework/ConnectionTestHelper.cs | 2,514 | C# |
using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public static partial class TdApi
{
/// <summary>
/// Describes a chat administrator with a number of active and revoked chat invite links
/// </summary>
... | 31.04 | 96 | 0.523196 | [
"MIT"
] | Kolibarus/tdsharp | TDLib.Api/Objects/ChatInviteLinkCount.cs | 1,552 | C# |
using System;
using System.Diagnostics;
using System.Xml;
using System.Xml.Linq;
using FluentAssertions.Common;
using FluentAssertions.Execution;
using FluentAssertions.Primitives;
using FluentAssertions.Xml.Equivalency;
namespace FluentAssertions.Xml
{
/// <summary>
/// Contains a number of methods to assert... | 51.422131 | 144 | 0.616243 | [
"Apache-2.0"
] | Jacksondr5/fluentassertions | Src/FluentAssertions/Xml/XDocumentAssertions.cs | 12,547 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.IO;
using System.Linq;
namespace Microsoft.DotNet.Build.Tasks
{
public class Ch... | 31.685714 | 103 | 0.501803 | [
"MIT"
] | 2m0nd/runtime | tools-local/tasks/installer.tasks/ChangeEntryPointLibraryName.cs | 2,220 | C# |
// Copyright (C) 2019 Luca Piccioni
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This libra... | 32.8 | 76 | 0.746951 | [
"MIT"
] | MagmaiKH/OpenGL.Net | OpenGL.Net.Objects.Test/Texture.cs | 1,642 | C# |
using System;
using System.Runtime.InteropServices;
namespace CI.DataModel
{
/// <summary>
/// Interface implemented by items which can be used in models
/// </summary>
[ComVisible(true)]
public interface IModelItem : IComparable
{
/// <summary>
/// Gets the Container ID which identifies the container where... | 17.804348 | 86 | 0.626374 | [
"MIT"
] | idea-statica/ideastatica-plugin | IdeaStatiCa.PluginsTools/PluginTools/Tools/IModelItem.cs | 821 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 50.851852 | 201 | 0.674071 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IDeviceCompliancePolicyScheduledActionsForRuleCollectionRequest.cs | 5,492 | C# |
using Gacho.MvpVm.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebForms.Net45.Sample.ViewModels
{
public class HomeViewModel : ViewModel
{
private string text;
public string Text
{
get { return text; }
se... | 20.368421 | 63 | 0.609819 | [
"Apache-2.0"
] | Micha-kun/Gacho.MvpVm | samples/WebForms.Net45.Sample/ViewModels/HomeViewModel.cs | 389 | C# |
using System;
using System.Threading.Tasks;
namespace Blazor.Fluxor
{
/// <summary>
/// An interface for implementing middleware
/// </summary>
public interface IMiddleware
{
/// <summary>
/// If the Middleware requires scripts inside the browser in order to function
/// then those scripts should be return... | 32.672414 | 93 | 0.699736 | [
"MIT"
] | adamxoserve/blazor-fluxor | src/Blazor.Fluxor/IMiddleware.cs | 1,897 | C# |
using System;
using System.Collections.Generic;
using XAS.Model;
using XAS.Model.Paging;
using XAS.Core.Logging;
using XAS.Model.Database;
using XAS.Core.Exceptions;
using XAS.Core.Configuration;
using DemoModel.Service;
using DemoModelCommon.DataStructures;
using DemoMicroServiceServer.Configuration.Extensions;
na... | 24.494186 | 101 | 0.56207 | [
"Artistic-2.0"
] | klesteb/XAS-Csharp | DemoMicroServiceServer/Web/Services/DinoService.cs | 4,215 | C# |
using System;
namespace NuDoq
{
/// <summary>
/// Delegate configuration to use with the <see cref="DelegateVisitor"/>,
/// which allows anonymous visitors to be used without having to create
/// <see cref="Visitor"/>-derived classes.
/// </summary>
public class VisitorDelegates
{
... | 32.316038 | 113 | 0.557826 | [
"MIT"
] | aschuhardt/NuDoq | src/NuDoq/DelegateVisitor.cs | 20,555 | 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/MsHTML.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... | 36.686275 | 145 | 0.700695 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/MsHTML/IHTMLPluginsCollectionTests.cs | 1,873 | C# |
using System;
using System.Data;
namespace OMeta.VistaDB
{
#if ENTERPRISE
using System.Runtime.InteropServices;
[ComVisible(true), ClassInterface(ClassInterfaceType.AutoDual), ComDefaultInterface(typeof(IProcedures))]
#endif
public class VistaDBProcedures : Procedures
{
public VistaDBProcedures()
{
}
ov... | 17.344828 | 106 | 0.719682 | [
"MIT"
] | kiler398/OMeta | src/OpenMeta/VistaDB/Procedures.cs | 503 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphQL.Tests
{
public class CustomFixieConvention : Fixie.Convention
{
/// <summary>
/// Initializes a new instance of the <see cref="CustomFixieConvention" /> class.
... | 22.9 | 89 | 0.639738 | [
"MIT"
] | mfeineis/graphql-draft-dot-net | src/GraphQL.Tests/CustomFixieConvention.cs | 460 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// ContentObjectRelationForOpenapi Data Structure.
/// </summary>
[Serializable]
public class ContentObjectRelationForOpenapi : AopObject
{
/// <summary>
/// 对象id,如关联店铺则是shopId
... | 24.72 | 61 | 0.563107 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/ContentObjectRelationForOpenapi.cs | 684 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.InteropServices;
using AltV.Net.Elements.Args;
using AltV.Net.Elements.Entities;
using AltV.Net.FunctionParser;
namespace AltV.Net.Resources.Chat.Api
{
public class ChatModule : IModule
{
p... | 40.428571 | 126 | 0.447042 | [
"MIT"
] | ZackaryH8/coreclr-module | api/AltV.Net.Resources.Chat.Api/ChatModule.cs | 11,037 | C# |
using System.Collections.Generic;
using System.IO;
using System.ServiceModel.Syndication;
using InsanelySimpleBlog.Formatters;
using InsanelySimpleBlog.Services;
using InsanelySimpleBlog.Syndication;
using InsanelySimpleBlog.ViewModel;
using NUnit.Framework;
using Rhino.Mocks;
namespace InsanelySimpleBlog.T... | 40.708333 | 171 | 0.514159 | [
"MIT"
] | JamesRandall/Insanely-Simple-Blog | InsanelySimpleBlog.Tests.Unit/Formatters/SyndicationFormatterTests.cs | 2,933 | C# |
using System;
using System.Text.Json.Serialization;
using Julmar.TeslaApi.Internal;
namespace Julmar.TeslaApi
{
public sealed class VehicleConfiguration
{
/// <summary>
/// True if the car can receive map requests through /share
/// </summary>
[JsonPropertyName("can_accept_navi... | 29.793548 | 117 | 0.544825 | [
"MIT"
] | markjulmar/teslaapi-net | src/Models/VehicleConfiguration.cs | 4,620 | C# |
using FlipScreen.Code.Signals;
using Zenject;
namespace FlipScreen.Code.Installers
{
public class FlipScreenInstaller : MonoInstaller<FlipScreenInstaller>
{
public override void InstallBindings()
{
Container.DeclareSignal<PlayerMovedOutOfScreenSignal>();
Container.BindS... | 29.058824 | 86 | 0.661943 | [
"MIT"
] | Mateo-Panadero/Ultimate-Hero | Assets/FlipScreen/Code/Installers/FlipScreenInstaller.cs | 494 | C# |
using System.ComponentModel;
using Android.App;
using Android.Content;
using Android.Support.V4.Widget;
using Android.Views;
using AListView = Android.Widget.ListView;
using AView = Android.Views.View;
using Xamarin.Forms.Internals;
using System;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
namespace Xam... | 26.993464 | 255 | 0.71025 | [
"MIT"
] | 1rfan786/xamarin.android | Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs | 12,390 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Common.Utils.Npa.DataAccess;
using MySql.Data.MySqlClient;
namespace Test.Utils.Npa
{
public class MySqlDataAccess : AbstractDataAccess
{
private MySqlConnection _Connection;
public MySqlConnection Connection
... | 24.416667 | 72 | 0.592719 | [
"MIT"
] | wenzqbaby/CommonTools | Test/Utils/Npa/MySqlDataAccess.cs | 879 | C# |
using System.Linq;
using System.Threading.Tasks;
using Dynatrace.Net.Configuration.ConditionalNaming.Models;
using Xunit;
// ReSharper disable once CheckNamespace
namespace Dynatrace.Net.Tests
{
public partial class DynatraceClientShould
{
[Fact]
public async Task GetAllConditionalNamingRulesAsync()
... | 28.606061 | 128 | 0.755297 | [
"MIT"
] | lvermeulen/Dynatrace.Net | test/Dynatrace.Net.Tests/Configuration/ConditionalNaming/DynatraceClientShould.cs | 946 | C# |
using JT809.Protocol.Extensions.JT1078.MessageBody;
using JT809.Protocol.Formatters;
using JT809.Protocol.MessagePack;
using System;
using System.Collections.Generic;
using System.Text;
namespace JT809.Protocol.Extensions.JT1078.Formatters
{
public class JT809_JT1078_0x1700_0x1701_Formatter : IJT809MessagePackFor... | 41.785714 | 119 | 0.738462 | [
"MIT"
] | caocf/JT1078 | src/JT809.Protocol.Extensions.JT1078/Formatters/JT809_JT1078_0x1700_0x1701_Formatter.cs | 1,172 | C# |
using GS.DecoupleIt.Operations;
using Samples.Clients.Command.QueryResult;
namespace Samples.Clients.Command.Queries
{
public sealed class GetAllClientBaskets : Query<GetAllClientBasketsResult> { }
}
| 25.75 | 82 | 0.81068 | [
"MIT"
] | krzysztofdudek/DecoupleIt | Samples/Samples.Clients.Command/Queries/GetAllClientBaskets.cs | 208 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using QuickGraph;
using Microsoft.Extensions.Logging;
using Sandwych.MapMatchingKit.Utility;
namespace Sandwych.MapMatchingKit.Topology.PrecomputedDijkstra
{
public class PrecomputedDijkstraTableGenerator<TVertex, TEdge>
where TEdge : cla... | 34.550725 | 131 | 0.583893 | [
"Apache-2.0"
] | oldrev/mapmatchingkit | src/Sandwych.MapMatchingKit/Topology/PrecomputedDijkstra/PrecomputedDijkstraTableGenerator.cs | 2,386 | C# |
using Basket.API.GrpcServices;
using Basket.API.Repositories;
using Discount.Grpc.Protos;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
... | 32.314286 | 106 | 0.623342 | [
"MIT"
] | ETabelev/AspnetMicroservices | src/Services/Basket/Basket.API/Startup.cs | 2,262 | C# |
using System;
class MinAndMaxNumsFromSequence
{
static void Main()
{
int n;
int minNumber;
int maxNumber;
int number;
Console.Write("Enter n=");
n = int.Parse(Console.ReadLine());
Console.Write("Enter number 1:");
number = int.Parse(Console.ReadL... | 29.192308 | 116 | 0.55336 | [
"MIT"
] | madbadPi/TelerikAcademy | CSharpPartOne/Loops/3.MinAndMaxNumsFromSequence/MinAndMaxNumsFromSequence.cs | 761 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401
{
using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell;
/// <summary>Properties of key vault.</summary>
[System.ComponentModel.TypeConverter(typeof(KeyVaultPropertiesTypeConverter))]
public partial class Ke... | 69.022222 | 324 | 0.702833 | [
"MIT"
] | Arsasana/azure-powershell | src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.PowerShell.cs | 9,184 | C# |
namespace CookingPot.Data.Configurations
{
using CookingPot.Data.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class ApplicationUserConfiguration : IEntityTypeConfiguration<ApplicationUser>
{
public void Configure(EntityTypeBuild... | 30.088235 | 89 | 0.536657 | [
"MIT"
] | vib1336/CookingPot | src/Data/CookingPot.Data/Configurations/ApplicationUserConfiguration.cs | 1,025 | C# |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Windows.Threading;
using System.Timers;
using System.Diagnostics;
using System.Collections.Generic;
namespace Battleship
{
/// <summary>
/// Inter... | 33.390704 | 254 | 0.372174 | [
"MIT"
] | polonkaipal/CSharp-Projekt | Battleship/MainWindow.xaml.cs | 26,587 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.TestCommon;
namespace System.Web.Mvc.Test
{
public class ReaderWriterCacheTest
{
[Fact]
public void PublicFetc... | 33.746835 | 133 | 0.57802 | [
"Apache-2.0"
] | charliefr/aspnetwebstack | test/System.Web.Mvc.Test/Test/ReaderWriterCacheTest.cs | 2,668 | C# |
using System.Reflection;
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("SimpleBatchDownloader")]
[assembly: Assemb... | 37.972222 | 84 | 0.749086 | [
"Unlicense"
] | ShyRed/simplebatchdownloader | SimpleBatchDownloader/Properties/AssemblyInfo.cs | 1,369 | C# |
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Internals;
using Microsoft.Maui.Controls.Xaml;
namespace Maui.Controls.Sample.Pages.SwipeViewGalleries
{
[Preserve(AllMembers = true)]
[XamlCompilation(XamlCompilationOptions.Skip)]
public partial class ResourceSwipeItemsGallery : ContentPage
{
public... | 35.45 | 136 | 0.767278 | [
"MIT"
] | 10088/maui | src/Controls/samples/Controls.Sample/Pages/Controls/SwipeViewGalleries/ResourceSwipeItemsGallery.xaml.cs | 711 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwordCollisoin : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.layer == 8 || other.gameObject.layer == 11)
{
var boid = other.gameObject.GetComponent... | 20.321429 | 72 | 0.608084 | [
"Apache-2.0"
] | SiiMeR/LD44-mehu | Assets/SwordCollisoin.cs | 571 | C# |
using IdentityServer4.Fsql.Storage.DbMark;
using IdentityServer4.Fsql.Storage.Extensions;
using IdentityServer4.Fsql.Storage.Options;
using IdentityServer4.Fsql.Storage.TokenCleanup;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace IdentityServer4.Fsql.Storage.Configuration
{
public... | 37.506024 | 110 | 0.619017 | [
"MIT"
] | skyland-zero/IdentityServer4.Fsql | src/IdentigtyServer4.Fsql.Storage/Configuration/ServiceCollectionExtensions.cs | 3,211 | C# |
/*
* This file is part of LuaInterface.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | 34.94382 | 104 | 0.752733 | [
"MIT"
] | CCDotNetEmu/CCDotNetLua | LuaInterface/Method/RegisterEventHandler.cs | 3,110 | C# |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace Java.Lang {
// Metadata.xml XPath interface reference: path="/api/package[@name='java.lang']/interface[@name='Comparable']"
[Register ("java/lang/Comparable", "", "Java.Lang.IComparableInvoker")]
[global::Java.Interop.JavaTypeParamete... | 39.926316 | 191 | 0.754284 | [
"MIT"
] | mattleibow/java.interop | tools/generator/Tests/expected/java.lang.Enum/Java.Lang.IComparable.cs | 3,793 | 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 Windows.UI;
namespace Microsoft.Toolkit.Uwp.UI.Controls
{
internal class InfiniteCanvasUpdateTextColorCom... | 28.46875 | 104 | 0.650933 | [
"MIT"
] | 14632791/WindowsCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Controls/InfiniteCanvas/Commands/InfiniteCanvasUpdateTextColorCommand.cs | 911 | C# |
namespace CatSystem
{
using System;
class CatSystemStart // от тук(този клас, където е main метода)започва програмта
{
// правим си прогарамка за котки, Котката си има собственик, който правим в отделен клас
public static void Main()
{
var peshoOwner = new Owner("Pesh... | 59.875 | 172 | 0.579958 | [
"MIT"
] | shopOFF/Telerik-Academy-Courses | CSharp-OOP/OOP-Homeworks & Exams/ImportantTemplatesOOP/01.DefiningClasses/CatSystemStart.cs | 3,254 | C# |
/*
* Copyright (c) 2007, Ted Elliott
* Code licensed under the New BSD License:
* http://code.google.com/p/jsonexserializer/wiki/License
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace JsonExSerializer.Expression
{
sealed class NullExpression : ExpressionBase
{
... | 25.8 | 83 | 0.639535 | [
"MIT",
"Unlicense"
] | sharedsafe/SharedSafe.Toolbox | JsonEx/Expression/NullExpression.cs | 774 | C# |
using System;
namespace DefaultInterfaces
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Default Interfaces");
MyClass myClass = new MyClass();
myClass.AddNumbers(2, 2);
// NOTE that unless you actually implement the new
// methods in the class, you ... | 20.208333 | 57 | 0.63299 | [
"Unlicense"
] | shawty/Csharp8features | DefaultInterfaces/Program.cs | 487 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
// Based on https://gist.github.com/DanielSWolf/0ab6a96899cc5377bf54
namespace TwitchChatDownloader
{
/// <summary>
/// An ASCII progress bar
/// </summary>
public class ConsoleProgressBar : I... | 35.945122 | 114 | 0.57659 | [
"MIT"
] | orikama/TwitchChatDownloader | TwitchChatDownloader/ConsoleProgressBar.cs | 5,897 | C# |
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Abp.Application.Editions;
using Abp.Application.Features;
using TCCAssociation.Editions;
namespace TCCAssociation.EntityFrameworkCore.Seed.Host
{
public class DefaultEditionCreator
{
private readonly TCCAssociationDbContext _context;
... | 31.509434 | 139 | 0.607186 | [
"MIT"
] | yuxincheng73/TCC_Associations | aspnet-core/src/TCCAssociation.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultEditionCreator.cs | 1,670 | C# |
using System;
using Improbable.Gdk.Core;
using Improbable.Gdk.Core.Commands;
using Unity.Entities;
namespace Improbable.Gdk.Subscriptions
{
public class CommandRequestCallbackManager<T> : ICallbackManager where T : struct, IReceivedCommandRequest
{
private readonly IndexedCallbacks<T> callbacks = new I... | 29.809524 | 110 | 0.628594 | [
"MIT"
] | nasakib/gdk-for-unity | workers/unity/Packages/io.improbable.gdk.core/Subscriptions/CallbackManagers/CommandRequestCallbackManager.cs | 1,252 | C# |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace XamForms.Controls
{
public partial class Calendar : ContentView
{
#region SpecialDates
public static readonly BindableProperty SpecialDatesProperty =
BindableProperty.Create(nameof(SpecialDates), typeo... | 41.018868 | 150 | 0.640754 | [
"MIT"
] | LynxNetworks/Controls.Calendar | XamForms.Controls.Calendar/Calendar.SpecialDates.cs | 2,176 | C# |
using System.Collections;
using UnityEngine;
namespace NFCoreEx
{
public class NFCPropertyManager : NFIPropertyManager
{
public NFCPropertyManager(NFIDENTID self)
{
mSelf = self;
mhtProperty = new Hashtable();
}
public override NFIProperty AddProperty(string strPropertyName, NFIValueList varData)
... | 23.027027 | 105 | 0.721244 | [
"Apache-2.0"
] | lindianyin/NoahGameFrame | _Out/Server/ClientBin/source/Assets/_NF/NFCoreEx/NFCPropertyManager.cs | 1,704 | C# |
using System.Numerics;
using DirectX12GameEngine.Shaders;
namespace DirectX12GameEngine.Rendering.Materials
{
[StaticResource]
public class MaterialDiffuseMapFeature : IMaterialDiffuseFeature
{
public MaterialDiffuseMapFeature()
{
}
public MaterialDiffuseMapFeature(IComput... | 24.361111 | 75 | 0.631699 | [
"MIT"
] | BAEK-Computer-Graphics/DirectX12GameEngine | DirectX12GameEngine.Rendering/Materials/MaterialDiffuseMapFeature.cs | 879 | C# |
/*
* Copyright (c) 2017-2020. RainyRizzle. All rights reserved
* Contact to : https://www.rainyrizzle.com/ , contactrainyrizzle@gmail.com
*
* This file is part of [AnyPortrait].
*
* AnyPortrait can not be copied and/or distributed without
* the express perission of [Seungjik Lee].
*
* Unless this file is downloaded fr... | 25.70082 | 141 | 0.590496 | [
"MIT"
] | LuanmaStudio/Seek-The-Trace | Assets/AnyPortrait/Editor/Scripts/PSDLoadWizard/apPSDBakeData.cs | 6,447 | C# |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace Blackjack
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new MainPage();
... | 20.30303 | 60 | 0.526866 | [
"MIT"
] | BeckettMorsch/Blackjack | Blackjack/Blackjack/Blackjack/App.xaml.cs | 672 | C# |
namespace Schema.NET.Tool.CustomOverrides
{
using System;
using System.Collections.Generic;
using Schema.NET.Tool.ViewModels;
public class AddQueryInputPropertyToSearchAction : IClassOverride
{
public bool CanOverride(Class @class) =>
string.Equals(@class.Name, "SearchA... | 33.032258 | 97 | 0.538086 | [
"MIT"
] | gladstonemrm/Schema.NET | Source/Schema.NET.Tool/CustomOverrides/AddQueryInputPropertyToSearchAction.cs | 1,024 | C# |
using AutoFixture;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
using SFA.DAS.EmployerIncentives.Data.ApprenticeshipIncentives.Models;
using SFA.DAS.EmployerIncentives.Data.Models;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace SFA.DAS.EmployerIncentive... | 34.636364 | 101 | 0.620547 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.das-employer-incentives | src/SFA.DAS.EmployerIncentives.Data.UnitTests/AccountDataRepository/WhenUpdatePaidDateForPaymentIds.cs | 2,669 | C# |
using SharpDX;
using System;
using System.Linq;
namespace Mixamo {
public static class ColladaUtils {
public static Matrix[] MatricesFromString(string str) {
float[] values = str.Split((char[]) null, StringSplitOptions.RemoveEmptyEntries)
.Select(s => float.Parse(s))
.ToArray();
if (values.Length %... | 25.621622 | 83 | 0.654008 | [
"MIT"
] | pimmelpansen/Frische-Haut | Importer/src/mixamo/ColladaUtils.cs | 948 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.LowLevel;
using UnityEngine.InputSystem.Utilities;
////REVIEW... | 38.229124 | 209 | 0.551237 | [
"Unlicense"
] | 23SAMY23/Meet-and-Greet-MR | Meet & Greet MR (AR)/Library/PackageCache/com.unity.inputsystem@1.0.2/InputSystem/State/InputStateHistory.cs | 37,541 | C# |
using System;
using System.Net;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using System.Linq;
using System.IO;
namespace PresenceLight.Worker
{
public class Program
{
public static void Main(string[] args)
{
Cre... | 38.203125 | 155 | 0.50184 | [
"MIT"
] | IntissarBarkatiz/PresenceLight | src/PresenceLight.Worker/Program.cs | 2,447 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager;
namespace Azure.ResourceManager.AppService
{
public partial class DiagnosticCategoryData : IUtf8JsonSerial... | 33.469136 | 101 | 0.486167 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticCategoryData.Serialization.cs | 2,711 | C# |
#region Copyright (c) 2011-2014 Gregory Nickonov and Andrew Nefedkin (Actis® Wunderman)
// Copyright (c) 2011-2014 Gregory Nickonov and Andrew Nefedkin (Actis® Wunderman).
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "So... | 46.137143 | 147 | 0.723681 | [
"MIT"
] | Digillect/mvvm | src/Digillect.MVVM/NavigationCommand`1.cs | 8,078 | C# |
using System;
namespace IfTask1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Ohjelma selvittää onko annettu luku positiivinen, negatiivinen vai nolla.");
Console.Write("Syötä numero: ");
string userInput = Console.ReadLine();
... | 27.62963 | 112 | 0.541555 | [
"MIT"
] | VeeraHentinen/programming-basics | condition-tasks/IfTask1/IfTask1/Program.cs | 753 | C# |
namespace DesignPatterns.SoftwareDesignPattern.Other.NullObject {
public class NullAnimal : IAnimal {
public string Speak() => default(string);
}
}
| 26.166667 | 66 | 0.745223 | [
"Unlicense"
] | Venthe/Design-Patterns | DesignPatterns/SoftwareDesignPattern/Other/NullObject/NullAnimal.cs | 159 | C# |
using Microsoft.Win32;
//
// This source code is released under the MIT License; Please read license.md file for more details.
//
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenCover... | 26.583333 | 139 | 0.742163 | [
"MIT"
] | OpenCoverUI/OpenCover.UI | OpenCover.UI/Commands/MSTestSettingsFileSelectorCommand.cs | 1,278 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using EkoRestaurant.Data;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
nam... | 33.833333 | 129 | 0.594031 | [
"MIT"
] | WenesLimem/PRO | EkoRestaurant/EkoRestaurant/Areas/Identity/Pages/Account/Manage/ChangePassword.cshtml.cs | 3,453 | C# |
// Decompiled with JetBrains decompiler
// Type: RoadFlow.Data.Interface.IMenu
// Assembly: RoadFlow.Data.Interface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 2109DD37-8E2D-4F7C-8293-6084646C162F
// Assembly location: C:\inetpub\wwwroot\RoadFlowMvc\bin\RoadFlow.Data.Interface.dll
using RoadFlow.D... | 20.609756 | 91 | 0.715976 | [
"Apache-2.0"
] | ArcherTrister/RoadFlowMvc | RoadFlow2.7.6/RoadFlow.Data.Interface/IMenu.cs | 847 | C# |
namespace JustEat.StatsD.Buffered
{
internal enum StatsDMessageKind
{
Counter,
Timing,
Gauge
}
}
| 13.3 | 35 | 0.578947 | [
"Apache-2.0"
] | AnthonySteele/JustEat.StatsD | src/JustEat.StatsD/Buffered/StatsDMessageKind.cs | 133 | C# |
using System;
using RabbitMQ.Client;
namespace MessageBrokerRabbitMQ
{
public class RabbitConnectionFactory
{
private IConnection _connection;
private readonly string _connectionUri;
public RabbitConnectionFactory(string connectionUri)
{
_connectionUri = connection... | 27.078947 | 108 | 0.595724 | [
"MIT"
] | davydehaas98/message-broker-rabbitmq | MessageBroker/RabbitConnectionFactory.cs | 1,031 | C# |
namespace Forum.App.Menus
{
using System;
using System.Collections.Generic;
using Models;
using Contracts;
public class AddReplyMenu : Menu, ITextAreaMenu, IIdHoldingMenu
{
private const int authorOffset = 8;
private const int leftOffset = 18;
private const int topOffs... | 35.950495 | 114 | 0.611402 | [
"MIT"
] | jackofdiamond5/Software-University | C# Fundamentals/C# OOP Advanced/Workshop_Forum/Forum.App/Menus/AddReplyMenu.cs | 3,633 | C# |
/*------------------------------------------------------------*/
// <summary>GameCanvas for Unity</summary>
// <author>Seibe TAKAHASHI</author>
// <remarks>
// (c) 2015-2020 Smart Device Programming.
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
// </remark... | 24.125 | 65 | 0.394819 | [
"MIT"
] | KosukeOnishi/final | Packages/GameCanvas/Runtime/Scripts/Enum/GcSoundTrack.cs | 986 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace RethinkDb.Driver.Linq
{
public class RethinkDbGroup<T, TVal> : IGrouping<T, TVal>
{
public IEnumerator<TVal> GetEnumerator()
{
return Reduction.GetEnumerator();
}
IEnumerator I... | 21.608696 | 61 | 0.60161 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | ArnautS/Aetheria-Economy | Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs | 499 | C# |
using DBLayer.Core;
using DBLayer.Core.Condition;
using DBLayer.Core.Interface;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace DBLayer.Persistence
{
public abstract class BaseRepository<T, R> : Bas... | 36.208517 | 239 | 0.547855 | [
"MIT"
] | wutao0315/DBLayer | src/DBLayer.Persistence/BaseRepositoryGeneric.cs | 26,136 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SpacechemPatch.Patches
{
[Decoy("#=qgb_1dBoxJTxMr57bMeIXeThMSy7VcbiYQtte9Drmlz4=")]
struct BoundingBox
{
[Decoy(".ctor")]
public BoundingBox(Vector2i topLeft, Vector2i dimensions)
{
... | 20.821429 | 65 | 0.586621 | [
"MIT"
] | csaboka/spacechempatch | SpacechemPatch/Patches/BoundingBox.cs | 585 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NhInterMySQL.Model;
using System;
using System.Collections.Generic;
using NhInterMySQL;
using TLJCommon;
using TLJ_MySqlService.Utils;
namespace TLJ_MySqlService.Handler
{
[Handler("LoginDataStatistics")]
class StatictisLoginHandler : BaseHandler
{
... | 32.3 | 118 | 0.56192 | [
"Apache-2.0"
] | zhangfengqwer/TLJ_MySqlService | TLJ_MySqlService/Handler/Statictis/StatictisLoginHandler.cs | 1,970 | C# |
using System;
using System.Globalization;
using System.Text;
namespace RunTicks.AssertionMessages
{
internal class NotExceedAverageSecondsAssertionMessage : AssertionMessageBase
{
private readonly Int64 _expectedMaxAverageSeconds;
private readonly Double _actualAverageSeconds;
public ... | 39.678571 | 206 | 0.749775 | [
"Apache-2.0"
] | khanlarmammadov/RunTicks | src/RunTicks/AssertionMessages/NotExceedAverageSecondsAssertionMessage.cs | 1,113 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1019_005c-9929")]
public void /* sys_mve */ Method_1019_005c_v2()
{
ii(0x1019_005c, 2); mov(al, bl); ... | 24.866667 | 88 | 0.549598 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-1019-005c-sys-mve.2.cs | 373 | C# |
using LitJson;
using UnityEngine;
namespace ROSBridgeLib
{
namespace bolt_msgs
{
public class SteeringCmdMsg : ROSBridgeMsg
{
public SteeringCmdMsg() : base() {}
public SteeringCmdMsg(JsonData msg) : base(msg) {}
public override string ROSMessageType()
... | 26.883721 | 84 | 0.474913 | [
"MIT"
] | the-gooniest/autonomous_vehicle_sim | Assets/ROSBridgeLib/bolt_msgs/SteeringCmdMsg.cs | 1,158 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace JFlepp.Epub
{
internal static class ExtensionMethods
{
public static bool EqualsIgnoreCaseWithNull(this string? str1, string? str2)
{
if (str1 == null && str2 == null) return true;
if (str1 == ... | 30.947368 | 91 | 0.580782 | [
"MIT"
] | jflepp/Epub | JFlepp.Epub/ExtensionMethods.cs | 1,178 | C# |
using System;
using System.Diagnostics;
using clojure.lang;
using clojure.clr.api;
namespace sample
{
class Program
{
private readonly Stopwatch start = Stopwatch.StartNew();
void Log(string message) =>
Console.WriteLine($"{start.ElapsedMilliseconds,5:N0}: {message}");
vo... | 23.571429 | 97 | 0.549091 | [
"MIT"
] | dnikku/clojure.clr.sample | sample/Program.cs | 825 | C# |
using System.Text.Json;
namespace ATI.Services.Serialization
{
internal static class SerializationOptions
{
public static JsonSerializerOptions SnakeCase = new JsonSerializerOptions
{
IgnoreNullValues = true,
PropertyNamingPolicy = new SnakeCaseNamingPolicy()
};... | 28.526316 | 81 | 0.669742 | [
"MIT"
] | atidev/ATI.Services.Serialization | ATI.Services.Serialization/SerializationOptions.cs | 544 | C# |
#region LICENSE
//-----------------------------------------------------------------------------
// For the purpose of making video games, educational projects or gamification,
// GeonBit is distributed under the MIT license and is totally free to use.
// To use this source code or GeonBit as a whole for other purposes... | 33.867647 | 96 | 0.53756 | [
"MIT"
] | RonenNess/GeonBit | GeonBit/Source/ECS/Components/Graphics/Renderers/BoundingBoxRenderer.cs | 2,305 | 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 Microsoft.EntityFrameworkCore.InMemory.ValueGeneration.Internal;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.Entit... | 50.893333 | 136 | 0.66754 | [
"Apache-2.0"
] | Alecu100/EntityFrameworkCore | test/EFCore.InMemory.Tests/InMemoryIntegerValueGeneratorFactoryTest.cs | 3,817 | C# |
namespace $rootnamespace$
{
using Catel.MVVM;
using System.Threading.Tasks;
public class $safeitemname$ : ViewModelBase
{
public $safeitemname$(/* dependency injection here */)
{
}
public override string Title { get { return "View model title"; } }
// TODO: Re... | 27.454545 | 102 | 0.618102 | [
"MIT"
] | Catel/Catel.Templates | templates/C#/ItemTemplates/Catel.ViewModel/UserControlViewModel.cs | 908 | 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>
//--... | 38.513889 | 174 | 0.602236 | [
"MIT"
] | PikminGuts92/BSpliner | BSpliner/Properties/Resources.Designer.cs | 2,775 | C# |
using System;
namespace SimplePagedList
{
public class PageMetadata
{
public int PageNumber { get; }
public int? PreviousPageNumber { get; }
public int? NextPageNumber { get; }
public int FirstPageNumber { get; }
public int LastPageNumber { get; set; }
public in... | 32.918033 | 129 | 0.555279 | [
"MIT"
] | joakimskoog/PagedList | src/SimplePagedList/PageMetadata.cs | 2,010 | C# |
using System.ComponentModel.DataAnnotations;
namespace MyRestfulApp.Infraestructure.DataContext.DbModels
{
public class Usuario
{
[Key]
public int Id { get; set; }
[Required(ErrorMessage = "Name is required")]
[StringLength(255, ErrorMessage = "Must be between 1 and 255 charac... | 37.354839 | 101 | 0.650259 | [
"MIT"
] | emontenegro/MyRestfulApp | MyRestfulApp/MyRestfulApp.Infraestructure/DataContext/DbModels/Usuario.cs | 1,160 | C# |
using EIS.AppBase;
using EIS.AppModel.Service;
using EIS.DataAccess;
using EIS.DataModel.Access;
using EIS.DataModel.Model;
using EIS.Permission.Model;
using EIS.Permission.Service;
using WebBase.JZY.Tools;
using EIS.WorkFlow.Access;
using EIS.WorkFlow.Engine;
using EIS.WorkFlow.Model;
using EIS.WorkFlow.Service;
usin... | 50.548094 | 1,060 | 0.456807 | [
"MIT"
] | chen1993nian/CPMPlatform | Dev/SysFolder/WorkFlow/DealFlowBatch.aspx.cs | 28,008 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Parithon.StreamDeck.SDK.Models
{
public interface ISettings
{
dynamic Settings { get; }
Coordinates Coordinates { get; }
short State { get; }
bool IsInMultiAction { get; ... | 22.5 | 56 | 0.693056 | [
"MIT"
] | parithon/sdsdk | Parithon.StreamDeck.SDK/Models/SettingsPayload.cs | 722 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
namespace Hong.Abp.Core.Utils
{
public class EnumUtil
{
/// <summary>
/// 获取name,descriptions 数组
/// </summary>
/// <typeparam name="T">玫举类型</typeparam>
/// <returns></... | 33.863636 | 94 | 0.465324 | [
"MIT"
] | gzh4455/Hong.Abp | Hong.Abp.Core/Utils/EnumUtil.cs | 2,271 | C# |
using System;
using System.Windows.Forms;
using System.Web;
using System.IO;
using System.Web.Mail;
namespace CSScript
{
class Script
{
const string usage = "Usage: cscscript smtpMailTo smtpServer to subject body [file0] [fileN] ...\nSends e-mail to the specified address (use \"\" for local smtp server)\n"+
... | 24.521127 | 174 | 0.570362 | [
"MIT"
] | JTOne123/cs-script | Source/deployment/lib/SMTPMailTo.cs | 1,741 | C# |
using System;
using R5T.Frisia.Suebia;
using R5T.T0064;
namespace R5T.Antium.Default
{
[ServiceImplementationMarker]
public class RemoteDeploymentSerializationAwsEc2ServerHostFriendlyNameProvider : IAwsEc2ServerHostFriendlyNameProvider, IServiceImplementation
{
private IRemoteDeploymentSecretsS... | 32.90625 | 147 | 0.780627 | [
"MIT"
] | MinexAutomation/R5T.Antium.Default | source/R5T.Antium.Default/Code/Services/Implementations/RemoteDeploymentSerializationAwsEc2ServerHostFriendlyNameProvider.cs | 1,055 | C# |
using System;
using System.Threading.Tasks;
using JetBrains.Collections.Viewable;
using JetBrains.Rd.Reflection;
using NUnit.Framework;
namespace Test.RdFramework.Reflection
{
[TestFixture]
public class AsyncCornerCases : ProxyGeneratorAsyncCallsTest
{
protected override bool IsAsync => true;
[Test]
... | 30.112676 | 101 | 0.65131 | [
"Apache-2.0"
] | yvvan/rd | rd-net/Test.RdFramework/Reflection/ProxyGeneratorCornerCasesTests.cs | 4,278 | 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("03.... | 38.432432 | 84 | 0.746132 | [
"MIT"
] | GabrielRezendi/Programming-Fundamentals-2017 | 02.Extented Fundamentals/18.ARRAY AND LIST ALGORITHMS - EXERCISES/03.01 Sort Array of Strings/Properties/AssemblyInfo.cs | 1,425 | 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.Reflection.Emit;
/// <summary>
/// OpCodes.Ldlen [v-minch]
/// </summary>
public class OpC... | 37.064935 | 183 | 0.589348 | [
"MIT"
] | AaronRobinsonMSFT/coreclr | tests/src/CoreMangLib/cti/system/reflection/emit/opcodes/opcodesldlen.cs | 5,708 | C# |
using System;
using System.Linq;
using System.Net;
using EventStore.ClientAPI.Common.Log;
using EventStore.ClientAPI.Common.Utils;
using EventStore.ClientAPI.SystemData;
namespace EventStore.ClientAPI
{
/// <summary>
/// Used to build a connection settings (fluent API)
/// </summary>
public class Conn... | 40.265795 | 194 | 0.586841 | [
"Apache-2.0"
] | accraze/EventStore | src/EventStore.ClientAPI/ConnectionSettingsBuilder.cs | 18,484 | C# |
using UnityEngine;
using System.Collections.Generic;
public class Enlighten: SingleTarget {
public override string animation { get { return "ClericCast"; }}
public override Color castColor { get { return castColorEnhancer; }}
public Enlighten() {
range = 5;
useLos = false;
name = "Enlighten";
m... | 23.424242 | 80 | 0.689521 | [
"MIT"
] | Fellowship-of-the-Bus/Draconia-Unity | Assets/Script/Skills/Active/Enhancer/Enlighten.cs | 773 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.