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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#nullable disable
namespace Microsoft.VisualStudio.TestPlatform.ObjectModel;
/// <summary>
/// Specifies what messages to output for the System.Diagnosti... | 33.7625 | 131 | 0.654943 | [
"MIT"
] | Evangelink/vstest | src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/Tracing/IPlatformEqtTrace.cs | 2,703 | C# |
//-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Moritz Jökel">
// Copyright (c) Moritz Jökel. All Rights Reserved.
// Licensed under Creative Commons Zero v1.0 Universal
// </copyright>
//---------------------------------------------------... | 44 | 106 | 0.706566 | [
"CC0-1.0"
] | MrzJkl/DiveraFMSConnect | DiveraFMSConnect/Properties/AssemblyInfo.cs | 1,999 | C# |
using Interface.Base;
public class RuntimeContext : IContext
{
private IInjector injector;
public IInjector Injector
{
set
{
injector = value;
}
}
public void Setup()
{
}
}
| 14.105263 | 40 | 0.481343 | [
"Apache-2.0"
] | TypeMonad/tinyMVC | Assets/Scripts/Application/RuntimeModules/RuntimeContext.cs | 270 | C# |
using System.ComponentModel.DataAnnotations;
namespace DropzoneField.Settings
{
public class DropzoneFieldSettings
{
public const int DefaultMaxWidth = 1024;
public const int DefaultFileLimit = 5;
private int _maxWidth;
private int _fileLimit;
public string Hint { get... | 23.090909 | 75 | 0.568241 | [
"BSD-3-Clause"
] | planetClaire/Orchard-LETS | src/Orchard.Web/Modules/DropzoneField/Settings/DropzoneFieldSettings.cs | 764 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TokenAnimationMovement : MonoBehaviour
{
private Vector3 destination;
private Animator anim;
private float time_to_reach_target = 0.4f;
float t =0;
private void Awake()
{
anim = GetComponent<An... | 26.963636 | 135 | 0.618341 | [
"MIT"
] | GerardClotet/Networking | New York Walk - Networking/Assets/Scripts/NetworkPhoton/Utils/TokenAnimationMovement.cs | 1,483 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LightController : MonoBehaviour
{
public GameObject pivot;
public GameObject light;
public Vector3 rotation;
public Slider SunY, SunZ;
public Text SunYText, SunZText;
... | 22.611111 | 63 | 0.60688 | [
"MIT"
] | WathikAhmed/chance-the-gardener-viewer | Assets/Scripts/Farmbot/LightController.cs | 814 | C# |
#pragma checksum "C:\Users\Richard\source\repos\KLove Test\KLove Test\Views\Employees\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ff5b58ab61aff3380f3285272581cf7dbabf2529"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeo... | 54.624352 | 300 | 0.656059 | [
"MIT"
] | badcomics/KLove-Test | KLove Test/obj/Debug/netcoreapp2.1/Razor/Views/Employees/Index.g.cshtml.cs | 21,085 | C# |
using System.Collections.Generic;
using SmartStore.Core.Domain.Customers;
using SmartStore.Core.Domain.Security;
namespace SmartStore.Services.Security
{
public partial class StandardPermissionProvider : IPermissionProvider
{
//admin area permissions
public static readonly PermissionRecord Acce... | 70.124402 | 251 | 0.641512 | [
"MIT"
] | jenmcquade/csharp-snippets | SmartStoreNET-3.x/src/Libraries/SmartStore.Services/Security/StandardPermissionProvider.cs | 14,656 | C# |
using Wyam.Common.Tracing;
namespace Wyam.Razor
{
internal class SilentDiagnosticSource : System.Diagnostics.DiagnosticSource
{
public override void Write(string name, object value)
{
// Do nothing
}
public override bool IsEnabled(string name) => true;
}
} | 22.5 | 79 | 0.64127 | [
"MIT"
] | FBoucher/Wyam | src/extensions/Wyam.Razor/SilentDiagnosticSource.cs | 317 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HabitantSpawner : MonoBehaviour{
private CircleCollider2D circleCollider;
public GameObject habitantPrefab;
private float radius;
public int numberOfHabitants = 4;
private void Start() {
circleCol... | 32.638889 | 88 | 0.645106 | [
"MIT"
] | RichieSjt/Unity-projects | Unity Projects/Homework 7/Assets/Scripts/HabitantSpawner.cs | 1,177 | C# |
using revghost;
using revghost.Module;
namespace PataNext.Export.Desktop;
public class EntryModule : HostModule
{
public EntryModule(HostRunnerScope scope) : base(scope)
{
}
protected override void OnInit()
{
LoadModule(sc => new PataNext.Game.Module(sc));
LoadModule(sc => new Pat... | 21.058824 | 62 | 0.678771 | [
"MIT"
] | guerro323/Patapon4Unity | src/PataNext.Export.Desktop/EntryModule.cs | 358 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace BitPayAPI
{
/// <summary>
/// Based on BitPay API v0.3.1 - https://... | 29.415541 | 146 | 0.59033 | [
"MIT"
] | zzc1308/bitpay-webforms | App_Code/Bitpay.cs | 8,709 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.AspNet.SignalR.Hubs
{
/// <summary>
/// Implementations of this interface are responsible for... | 58.948052 | 142 | 0.664904 | [
"Apache-2.0"
] | AlaShiban/SignalR | src/Microsoft.AspNet.SignalR.Core/Hubs/Pipeline/IHubPipelineInvoker.cs | 4,541 | C# |
// Decompiled with JetBrains decompiler
// Type: System.Fabric.Management.ServiceModel.ServiceTypeTypeServicePlacementPolicy
// Assembly: System.Fabric.Management.ServiceModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: C6D32D4D-966E-4EA3-BD3A-F4CF14D36DBC
// Assembly location: C:\Git\S... | 27.9375 | 191 | 0.721104 | [
"MIT"
] | aL3891/ServiceFabricSdk-Contrib | System.Fabric.Management.ServiceModel/ServiceTypeTypeServicePlacementPolicy.cs | 1,343 | C# |
/*
* Original author: Max Horowitz-Gelb <maxhg .at. washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2014 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... | 44.273349 | 173 | 0.540749 | [
"Apache-2.0"
] | shze/pwizard-deb | pwiz_tools/Skyline/SettingsUI/DiaIsolationWindowsGraphForm.cs | 19,438 | C# |
using UnityEngine;
using MessagePack;
[MessagePackObject, System.Serializable]
public class SampleMessagePackObject
{
[Key(0)] public int id;
[Key(1)] public float value;
[Key(2)] public string name;
[IgnoreMember] public string ignored;
[Key(3)] public Vector3 posit... | 30.583333 | 104 | 0.697548 | [
"BSD-3-Clause"
] | XJINE/Unity_MessagePackSample | Assets/SerializeDeserializeSample.cs | 1,101 | 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... | 36.50134 | 182 | 0.571282 | [
"ECL-2.0",
"Apache-2.0"
] | mitchellmaler/pulumi-rancher2 | sdk/dotnet/AuthConfigKeycloak.cs | 13,615 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using WVisibility = Microsoft.UI.Xaml.Visibility;
namespace Microsoft.Maui.Controls.Compatibility.Platform.UWP
{
internal class TitleViewManage... | 26.574468 | 105 | 0.757006 | [
"MIT"
] | 10088/maui | src/Compatibility/Core/src/Windows/TitleViewManager.cs | 2,498 | C# |
// Copyright 2012-2013 Chris Patterson
//
// 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... | 33.711864 | 93 | 0.636501 | [
"Apache-2.0"
] | phatboyg/FeatherVane | src/FeatherVane/Configuration/VaneConfigurators/VaneConfiguratorImpl.cs | 1,991 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extens... | 30.492537 | 123 | 0.631914 | [
"MIT"
] | CaraLagumen/CaraForBP | API/Startup.cs | 2,043 | 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.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | 44.238579 | 198 | 0.604016 | [
"Apache-2.0"
] | Sliptory/roslyn | src/Workspaces/Remote/ServiceHub/Services/RemoteHostService.cs | 17,432 | 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... | 29.587097 | 112 | 0.573485 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/CloudDirectory/Generated/Model/TypedLinkAttributeDefinition.cs | 4,586 | C# |
using Autofac;
using System.Windows.Controls;
using TianYiSdtdServerTools.Client.Services.UI;
using TianYiSdtdServerTools.Client.ViewModels.ControlPanel;
using TianYiSdtdServerTools.Client.Views.Services;
namespace TianYiSdtdServerTools.Client.Views.PartialViews.ControlPanel
{
/// <summary>
/// TelnetConsoleV... | 29.777778 | 111 | 0.711443 | [
"MIT"
] | 1249993110/TianYiSdtdServerTools | Client/Views/PartialViews/ControlPanel/TelnetConsoleView.xaml.cs | 816 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebAPIDatabase.Controllers
{
public class ValuesController : ApiController
{
private DBHelper mDBHelper = new DBHelper();
// GET api/values
publ... | 20.325581 | 55 | 0.549199 | [
"Apache-2.0"
] | skbhati199/Web-API-.net-Database | WebAPIDatabase/Controllers/ValuesController.cs | 876 | C# |
using System;
namespace Axinom.Cpix
{
public sealed class ContentKey : Entity
{
/// <summary>
/// Unique ID of the content key.
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the value of the content key. Must be 128 bits (16 bytes) long.
/// Null if the content key was lo... | 35.627907 | 135 | 0.70953 | [
"MIT"
] | Heronyme/cpix | Cpix/ContentKey.cs | 1,534 | C# |
using System.Collections;
using EasyBlock.Core.Interfaces.HostFiles;
namespace EasyBlock.Core.Tests
{
public class HostFileLineComparer : IComparer
{
public int Compare(object x, object y)
{
var left = x as IHostFileLine;
var right = y as IHostFileLine;
if (l... | 35.5 | 64 | 0.518566 | [
"BSD-2-Clause"
] | fluffynuts/easyblock | source/EasyBlock.Core.Tests/HostFileLineComparer.cs | 781 | C# |
/*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
#if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
#if CORE
namespace HelixToolkit.SharpDX.Core
#else
namespace HelixToolkit.UWP
#endif
#endif
{
#if NETFX_CORE
... | 29.430657 | 98 | 0.491319 | [
"MIT"
] | JeremyAnsel/helix-toolkit | Source/HelixToolkit.SharpDX.Shared/Extensions/CollectionExtensions.cs | 4,034 | C# |
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Rect)]
[Tooltip("Tests if 2 Rects overlap.")]
public class RectOverlaps : FsmStateAction
{
[RequiredField]
[Tooltip("First Rectangle.")]
public FsmRe... | 22.244444 | 66 | 0.581918 | [
"MIT"
] | 517752548/UnityFramework | GameFrameWork/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs | 2,004 | C# |
using System.Linq;
using System.Xml.Linq;
using Moq;
using Should;
using Xunit;
namespace Cassette
{
public class AssetSerializer_Tests
{
readonly XElement containerElement;
readonly XElement assetElement;
readonly Mock<IAsset> asset;
public AssetSerializer_Tests()
... | 37.406977 | 108 | 0.622319 | [
"MIT"
] | WS-QA/cassette | src/Cassette.UnitTests/AssetSerializer.cs | 3,219 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinaryTrees
{
public class SplayTree<K, V> where K : IComparable where V : IComparable
{
/// <summary>
/// Inner class for nodes of this tree
/// </summary>
... | 28.839827 | 93 | 0.41444 | [
"MIT"
] | DeepGameAnalysis/dga-datalgo | SpatialAnalysis/Datalgo/Trees/Binary-Trees/SplayTree.cs | 6,664 | C# |
using ULMClubManager.DTO.Enums;
namespace ULMClubManager.DTO.Exceptions
{
/// <summary>
/// Représente une exception pour un membre qui n'est pas en ordre de cotisation
/// </summary>
public class InvalidSubscriptionForBookingException : BusinessException
{
public InvalidSubscriptionForBoo... | 27.935484 | 102 | 0.65358 | [
"MIT"
] | Agatolies/ULMClubManager | src/ULMClubManager/ULMClubManager.DTO/Exceptions/InvalidSubscriptionForBookingException.cs | 869 | C# |
using FluentAssertions;
using System.Collections.Generic;
using System.Threading.Tasks;
using Timeline.Models.Http;
using Xunit;
using Xunit.Abstractions;
namespace Timeline.Tests.IntegratedTests
{
public class SearchTest : IntegratedTestBase
{
public SearchTest(ITestOutputHelper testOutput... | 37.794118 | 118 | 0.555642 | [
"MIT"
] | crupest/Timeline | BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs | 2,572 | C# |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-edition... | 31.312102 | 103 | 0.526444 | [
"CC0-1.0"
] | Diffblue-benchmarks/Gridgain-gridgain | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryTypeHolder.cs | 4,916 | C# |
using System;
namespace TaskMonitor.ViewModels
{
// The ProcessInfoDetails class is used to collect data for each process
// for a given resource group, and then displayed in the app Details pivot.
public class ProcessInfoDetails
{
public int ProcessId { get; internal set; }
public str... | 42.43662 | 153 | 0.641885 | [
"MIT"
] | Bhaskers-Blu-Org2/AppModelSamples | Samples/UWPTaskMonitor/UWPTaskMonitor/ViewModels/ProcessInfoDetails.cs | 3,015 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Blindspot.Core;
using Blindspot.Core.Models;
namespace Blindspot.ViewModels
{
public class PlaylistBufferItem : BufferItem
{
public PlaylistContainer.PlaylistInfo Model { get; set; }
public Pla... | 21.04 | 70 | 0.642586 | [
"BSD-2-Clause"
] | craigbrett17/Blindspot | Blindspot/ViewModels/PlaylistBufferItem.cs | 528 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.172414 | 153 | 0.583333 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IWorkbookFunctionsLenRequest.cs | 2,040 | 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.188612 | 111 | 0.580927 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.DirectConnect/Model/CreatePrivateVirtualInterfaceResult.cs | 8,483 | C# |
using System;
namespace Wonka.Eth.Extensions.OpSource.ERC721
{
public class WonkaEthERC721SafeTransferOpSource : WonkaEthERC721OpSource
{
public WonkaEthERC721SafeTransferOpSource(string psSourceId, string psSenderAddr, string psPwd, string psContractAddr, string psCustomOpMethodName, string psWeb3Url = "") :
b... | 37.882353 | 174 | 0.805901 | [
"MIT"
] | Nethereum/Wonka | WonkaSystem/WonkaEth/Extensions/OpSource/ERC721/WonkaEthERC721SafeTransferOpSource.cs | 644 | C# |
namespace Task.Sample
{
using System;
using System.Threading;
using System.Xml.Linq;
using TaskManager.Common;
/// <summary>
/// A sample module.
/// </summary>
public class TestModule2: ITaskModule
{
/// <summary>
/// Executes some work.
/// </summary>
/// <returns>True if there is more work to be d... | 21.411765 | 80 | 0.649725 | [
"MIT"
] | giacomelli/TaskManager | src/Task.Sample/TestModule2.cs | 730 | C# |
using System;
namespace SIT.Web.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Describes a type model.
/// </summary>
public abstract class ModelDescription
{
public string Documentation { get; set; }
public Type ModelType { get; set; }
public string Name { get; set;... | 20.625 | 50 | 0.612121 | [
"MIT"
] | WS-and-Cloud/Issue-Tracker | SoftUniIssueTracker.Web/Areas/HelpPage/ModelDescriptions/ModelDescription.cs | 330 | C# |
// Generated class v2.19.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Activex.Javascript.Msxml
{
public partial class XMLHTTPRequest : NHtmlUnit.Activex.Javascript.Msxml.MSXMLScriptable
... | 25.227642 | 138 | 0.616178 | [
"Apache-2.0"
] | JonAnders/NHtmlUnit | app/NHtmlUnit/Generated/Activex/Javascript/Msxml/XMLHTTPRequest.cs | 3,103 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Core.Exceptions;
using Core.Meta.Interfaces;
namespace Core.Meta
{
/// <inheritdoc/>
public readonly struct BebopSchema : ISchema
{
public BebopSchema(string nameSpace, Dictionary<string, IDefinition> definitions)
{
... | 43 | 153 | 0.489767 | [
"Apache-2.0"
] | MendelMonteiro/bebop | Core/Meta/BebopSchema.cs | 4,302 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAttackDamageLeft : MonoBehaviour
{
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnTriggerEnter2D(Collider2D collision)
{
BaseStandardE... | 18.529412 | 89 | 0.62381 | [
"MIT"
] | AGGP-NHTI/Vibin | Assets/Scripts/PlayerAttackDamageLeft.cs | 632 | C# |
using System;
using Elasticsearch.Net;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework;
using Tests.Framework.Integration;
namespace Tests.Indices.IndexManagement.OpenCloseIndex.OpenIndex
{
public class OpenIndexApiTests
: ApiIntegrationTestBase<WritableCluster, IOpenIndexResponse... | 33.08 | 121 | 0.770254 | [
"Apache-2.0"
] | Henr1k80/elasticsearch-net | src/Tests/Tests/Indices/IndexManagement/OpenCloseIndex/OpenIndex/OpenIndexApiTests.cs | 1,656 | C# |
namespace RippleDictionary
{
public class Ripple
{
#region Constructors
public Ripple(Screen screen, Floor floor)
{
Screen = screen;
Floor = floor;
}
#endregion
#region Objects
public Screen Screen;
public Floor Floor;
... | 18.105263 | 49 | 0.526163 | [
"MIT"
] | Bhaskers-Blu-Org2/kinect-ripple | Ripple-V2/RippleDictionary/Ripple.cs | 346 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace HandelNieruchomosciami.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return ... | 21.666667 | 88 | 0.642308 | [
"MIT"
] | przemexsoft/HandelNieruchomosciami | HandelNieruchomosciami/Controllers/HomeController.cs | 520 | C# |
using System;
using System.Collections.Generic;
using WDE.Common.CoreVersion;
using WDE.Common.Database;
using WDE.Module.Attributes;
namespace WoWDatabaseEditorCore.CoreVersion
{
[AutoRegister]
[SingleInstance]
public class UnspecifiedCoreVersion : ICoreVersion, IDatabaseFeatures, ISmartScriptFeatures, IC... | 41.12 | 115 | 0.736381 | [
"Unlicense"
] | Crypticaz/WoWDatabaseEditor | WoWDatabaseEditor/CoreVersion/UnspecifiedCoreVersion.cs | 1,028 | C# |
// 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
//
// THIS CODE IS PROVIDED ON AN ... | 40.822222 | 116 | 0.689167 | [
"Apache-2.0"
] | 6paklata/python-language-server | src/Analysis/Ast/Impl/Diagnostics/DiagnosticsSeverityMap.cs | 1,839 | C# |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of condi... | 43.772727 | 84 | 0.751298 | [
"BSD-3-Clause"
] | eleks/EventStore | src/EventStore/EventStore.ClientAPI/SystemData/InspectionResult.cs | 1,926 | C# |
/*******************************************************************
* Copyright(c) #YEAR# #COMPANY#
* All rights reserved.
*
* 文件名称: #SCRIPTFULLNAME#
* 简要描述:
*
* 创建日期: #DATE#
* 作者: #AUTHOR#
* 说明:
******************************************************************/
using System;
using System.Collections;
using S... | 26.639344 | 124 | 0.559385 | [
"Apache-2.0"
] | Oxford561/MyArchero | Assets/SYJFramework/Test/TestEvent.cs | 1,815 | C# |
using Microsoft.CognitiveServices.Speech.Audio;
using System;
using System.Diagnostics;
using System.IO;
//from https://raw.githubusercontent.com/Azure-Samples/cognitive-services-speech-sdk/master/samples/csharp/sharedcontent/console/helper.cs
namespace NetToolBox.SpeechRecognition.Azure
{
public static class Az... | 39.115578 | 248 | 0.587102 | [
"MIT"
] | npnelson/SpeechRecognition | src/NetToolBox.SpeechRecognition.Azure/AzureSpeechHelpers.cs | 7,786 | C# |
using Microsoft.FSharp.Collections;
using ProtoBuf.Serializers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProtoBuf.FSharp
{
/// <summary>
/// Serialisation provider for F# Set unique collection
/// </summary>
/// <type... | 33.946429 | 131 | 0.623356 | [
"Apache-2.0"
] | CommonGuy/protobuf-net | src/protobuf-net.FSharp/FSharpSetSerializer.cs | 1,903 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Transactions;
using BackendDotNet.Common.NHibernate;
using BackendDotNet.Domain;
using BackendDotNet.Dto;
using BackendDotNet.Repository;
using Backe... | 28.339286 | 190 | 0.661626 | [
"MIT"
] | Lucifer21123/fullstacksample | backend-dotnet/BackendDotNet/src/BackendDotNet.Library/Service/Impl/StockServiceImpl.cs | 3,176 | C# |
using System;
using System.IO;
using System.Text;
namespace ATLAS_MICRO_ASSEMBLER_8
{
class Program
{
static void Main(string[] args)
{
// ATLAS CPU-16 MICRO-ASSEMBLER
// WRITTEN BY HAYDEN B. - 2021
// Define microcode file
string PATH = @"C:\Us... | 104.661485 | 374 | 0.544563 | [
"Apache-2.0"
] | AtlasCPU/CPU-16 | Microassembly/CPU-16 Microassembler/CPU-16 Microassembler/Program.cs | 121,200 | C# |
namespace IntersectionSim
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... | 45.637751 | 139 | 0.571253 | [
"MIT"
] | FabioCZ/IntersectionSim | IntersectionSim/Form1.Designer.cs | 56,821 | C# |
namespace ViceCity.Models.Guns
{
using System;
using ViceCity.Models.Guns.Contracts;
public abstract class Gun : IGun
{
private string name;
private int bulletsPerBarrel;
private int totalBullets;
private int shootBullets;
private int capacity;
... | 27.204545 | 93 | 0.451546 | [
"MIT"
] | q2kPetrov/SoftUni | C# OOP/Exams/OOP Exam - 11 August 2019/1. Vice City - Structure/Models/Guns/Gun.cs | 2,396 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 41.562044 | 182 | 0.621092 | [
"Apache-2.0"
] | Singh400/aws-sdk-net | sdk/src/Services/APIGateway/Generated/Model/UpdateAuthorizerResponse.cs | 11,388 | C# |
using System;
using System.IO;
namespace Xamarin.Android.Prepare
{
partial class Configurables
{
const string CorrettoDistVersion = "8.222.10.1";
const string CorrettoUrlPathVersion = CorrettoDistVersion;
partial class Defaults
{
public const string DefaultCompiler = "cc";
public static readonly Versi... | 30.206897 | 134 | 0.723744 | [
"MIT"
] | 06051979/xamarin-android | build-tools/xaprepare/xaprepare/ConfigAndData/Configurables.Unix.cs | 876 | C# |
/*
* Copyright © 2016-2018 EDDiscovery development team
*
* 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 ap... | 38.630137 | 196 | 0.647518 | [
"Apache-2.0"
] | NonnEmilia/EliteDangerousCore | EliteDangerous/JournalEvents/JournalSupercruise.cs | 2,751 | C# |
using Microsoft.OpenApi.Extensions;
namespace WebApi.Models
{
public class VerseReference
{
public Books Book { get; }
public byte Chapter { get; }
public byte Verse { get; }
public VerseReference(Books book, byte chapter, byte verse)
{
Book = book;
... | 23.09375 | 67 | 0.500677 | [
"MIT"
] | mjrousos/FCFVerses | src/WebApi/Models/VerseReference.cs | 741 | C# |
//
// IKosParametersApi.cs
//
// Copyright (c) Christofel authors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Kos.Data;
namespace Kos.Abst... | 37.509434 | 119 | 0.605634 | [
"MIT"
] | ctu-fee-group/KosApi | src/Kos/Abstractions/IKosParametersApi.cs | 1,988 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActivateTextAtLine : MonoBehaviour {
public TextAsset theText;
public int startingLine;
public int endLine;
public TextBoxManager tbm;
public bool destrouWhenActivated;
// Use this for initialization
... | 20 | 55 | 0.609524 | [
"MIT"
] | ankanx/GGJ18 | GGJ18/Assets/Scripts/Dialogue/ActivateTextAtLine.cs | 842 | C# |
namespace AngleSharp.Dom
{
using AngleSharp.Attributes;
using AngleSharp.Css;
using AngleSharp.Css.Dom;
using System;
/// <summary>
/// A set of useful extension methods for the Window class.
/// </summary>
[DomExposed("Window")]
public static class WindowExtensions
{
//... | 45.968421 | 120 | 0.631326 | [
"MIT"
] | Fraaankes/AngleSharp.Css | src/AngleSharp.Css/Extensions/WindowExtensions.cs | 4,367 | C# |
using IdeaRS.OpenModel.Geometry3D;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IdeaRS.OpenModel.Model
{
/// <summary>
/// The Pretensioned tendon group
/// </summary>
[OpenModelClass("CI.StructModel.Structure.PretensionedTendonGroup... | 27.058824 | 174 | 0.707246 | [
"MIT"
] | idea-statica/ideastatica-public | src/IdeaRS.OpenModel/Model/PretensionedTendonGroup.cs | 1,382 | C# |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
... | 28.521463 | 171 | 0.595764 | [
"MIT"
] | BenInCOSprings/WpfDockingWindowsApplicationTemplate | wpftoolkit-110921/Main/Source/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Pie/Implementation/Pie.cs | 17,942 | C# |
using MyEvernote.Entities.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyEvernote.Entities.ResultModel
{
public class MessageResult<T> where T : class
{
public List<ErrorMessageObj> Errors { get; set; }
... | 24.103448 | 81 | 0.645207 | [
"Apache-2.0"
] | sinantok/my-notes-web-project | MyEvernote.Entities/ResultModel/MessageResult.cs | 701 | C# |
//GENERATED: CS Code
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine{
public partial class UNumericProperty:UProperty
{
}
}
| 20 | 49 | 0.785 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile/UNumericProperty.cs | 200 | C# |
using System;
namespace PartsUnlimited.ViewModels
{
// Test
public class ProductData
{
public string Title { get; set; }
public string Url { get; set; }
}
}
| 14.461538 | 41 | 0.606383 | [
"MIT"
] | datadevopslabs/PartsUnlimitedE2E | PartsUnlimited-aspnet45/src/PartsUnlimitedWebsite/ViewModels/AlbumData.cs | 190 | C# |
using System;
using System.Runtime.InteropServices;
namespace ProjectCeilidh.NativeTK.Native.Platform
{
internal class MacNativeLibraryLoader : NativeLibraryLoader
{
private const int RTLD_NOW = 0x002;
private const string LIBDL = "libdl";
protected override string[] GetNativeL... | 33.6 | 98 | 0.579167 | [
"MIT"
] | Ceilidh-Team/NativeTK | ProjectCeilidh.NativeTK/Native/Platform/MacNativeLibraryLoader.cs | 1,680 | 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... | 25 | 81 | 0.6 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Maps/V20170101Preview/Outputs/SkuResponse.cs | 900 | C# |
namespace MadHoneyStore.Web.ViewModels.Home
{
public class IndexCategoryViewModel
{
public string Name { get; set; }
}
} | 17.75 | 44 | 0.661972 | [
"MIT"
] | russeva/MadHoneyStore | src/Web/MadHoneyStore.Web.ViewModels/Home/IndexCategoryViewModel.cs | 144 | C# |
#pragma checksum "C:\Users\lord\source\repos\ClearPost\ClearPost\Views\Report\ShowSportClearedReport.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d38c39ddf1ba72ef57befa80294386830cae3e62"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttrib... | 42.31068 | 202 | 0.738183 | [
"MIT"
] | koninlord/ClearPost | ClearPost/obj/Debug/netcoreapp3.1/Razor/Views/Report/ShowSportClearedReport.cshtml.g.cs | 4,358 | C# |
using System;
using System.Collections.Generic;
namespace eBookManager.Engine
{
[Serializable]
public class StorageSpace
{
public int ID { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public List<Document> BookList { get; set; }
}... | 20.25 | 52 | 0.623457 | [
"MIT"
] | OliverForral/C-8-and-.NET-Core-3-Projects-Using-Azure-Second-Edition | Chaper01/eBookManager/eBookManager.Engine/StorageSpace.cs | 326 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApiTemplate.Models
{
public class StudentDto
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
}
}
| 19.6 | 41 | 0.653061 | [
"MIT"
] | luuucio/DotNetCoreWebApiTemplate | Models/StudentDto.cs | 296 | C# |
using Iot.Device.BrickPi3;
using Iot.Device.BrickPi3.Models;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace BrickPiHardwareTest
{
partial class Program
{
const string MotorTest = "-motor";
const string VehiculeTest = "-vehicle";
const... | 41.505848 | 182 | 0.504826 | [
"MIT"
] | 491134648/iot | src/devices/BrickPi3/samples/BrickPi3.samples.cs | 14,197 | C# |
using System;
using System.Reflection;
using AutoFixture.Idioms;
using Xunit;
namespace AutoFixture.IdiomsUnitTest
{
public class ReflectionExceptionUnwrappingCommandTest
{
[Fact]
public void SutIsContextualCommand()
{
// Arrange
var dummyCommand = new Delegatin... | 36.85906 | 157 | 0.575929 | [
"MIT"
] | damian-krychowski/AutoFixture | Src/IdiomsUnitTest/ReflectionExceptionUnwrappingCommandTest.cs | 5,494 | C# |
/**
* Copyright 2003, 2004, 2005. CodeStreet LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 45.840278 | 236 | 0.702772 | [
"Apache-2.0"
] | jamsel/jamsel | src/CSHARP/Selector/CodeStreet/Selector/Parser/Identifier.cs | 6,601 | C# |
namespace Skeleton.Dapper.Tests.Tvp
{
using Common.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using Dapper.Extensions;
using Dapper.Tvp;
using JetBrains.Annotations;
using Xunit;
public class TvpParameterTests : DbUsingTestBase
{
publ... | 43.785714 | 131 | 0.385882 | [
"MIT"
] | slooooowpanda/WebInfrastructure | test/Infrastructure/Dapper.Tests/Tvp/TvpParameterTests.cs | 6,745 | C# |
#if false
using System;
using GameAnalyticsSDK;
using GameAnalyticsSDK.Events;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("GameAnalytics")]
[Tooltip("Sends a error event message to the GameAnalytics server.")]
[HelpUrl("https://hutonggames.fogbugz.com/default.asp?W1171")]
public class SendErrorEven... | 21.210526 | 80 | 0.729529 | [
"MIT"
] | Enes04/HandShake | Assets/GameAnalytics/Plugins/Playmaker/SendErrorEvent.cs | 806 | C# |
namespace AspnetRunBasics.Settings;
public class ApiSettings
{
public string GatewayAddress { get; set; }
}
| 16 | 44 | 0.767857 | [
"MIT"
] | shockzinfinity/shockz.msa | src/webApps/AspnetRunBasics/Settings/ApiSettings.cs | 114 | C# |
namespace p02.ConvertFromBase_NToBase_10
{
using System;
using System.Numerics;
using System.Collections.Generic;
public class StartUp
{
public static void Main()
{
string[] lineOfDigits = Console.ReadLine().Split();
BigInteger baseToConvert = BigInteger.Par... | 31.6875 | 92 | 0.575937 | [
"MIT"
] | GitHarr/SoftUni | Homework/TechModule/ProgramingFundamentals-Normal/StringsAndTextProcessing-Exercises/p02.ConvertFromBase-NToBase-10/StartUp.cs | 1,016 | C# |
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Equinox.Application.ViewModels
{
public class UserRolesViewModel
{
public UserRolesViewModel()
{
UserRoles =... | 28.136364 | 59 | 0.663974 | [
"MIT"
] | duyxaoke/DEV | src/Equinox.Application/ViewModels/UserRolesViewModel.cs | 621 | C# |
using ProfileData.DataLayer.Profile;
namespace GlobalChange8.DataLayer.Profile
{
/// <summary>
/// Profile manager container class.
/// </summary>
/// <remarks>
/// Container class to provide access to individual profiles.
/// </remarks>
/// <author>Kenneth McSkimming</author>
public cl... | 37.272727 | 139 | 0.66748 | [
"Apache-2.0"
] | mcskik/Utilities | GlobalChange8/GlobalChange8/DataLayer/Profile/ProfileManager.cs | 1,230 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview
{
using Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="ResourceProviderOperation"... | 52.823944 | 273 | 0.593521 | [
"MIT"
] | Avivskie/azure-powershell | src/DesktopVirtualization/generated/api/Models/Api20191210Preview/ResourceProviderOperation.TypeConverter.cs | 7,360 | C# |
using System;
namespace Sam.Extensions.EntityFramework.EFHooks
{
public class OrderAttribute : Attribute
{
public int Position { get; private set; }
public OrderAttribute(int position) { Position = position; }
}
}
| 22.181818 | 68 | 0.680328 | [
"MIT"
] | lionsoft/SampleSPA | Sam/Extensions/EntityFramework/EFHooks/OrderAttribute.cs | 246 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Benchmark.Objects;
using MessagePack;
namespace Benchmark
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Start");
... | 34.135468 | 134 | 0.473772 | [
"BSD-2-Clause"
] | hhblaze/Biser | Benchmark/Program.cs | 13,861 | C# |
using AutoMapper;
using DDNSUpdate.Application.Providers.DigitalOcean.Requests;
using DDNSUpdate.Domain;
namespace DDNSUpdate.Application.Providers.DigitalOcean.Converters
{
public class DNSRecordToDigitalOceanUpdateDomainRecordRequestConverter : ITypeConverter<DNSRecord, DigitalOceanUpdateDomainRecordRequest>
... | 39.076923 | 153 | 0.683071 | [
"MIT"
] | TheDanielDoyle/DDNSUpdate | src/DDNSUpdate/Application/Providers/DigitalOcean/Converters/DNSRecordToDigitalOceanUpdateDomainRecordRequestConverter.cs | 1,018 | C# |
using System.Threading.Tasks;
namespace SignalR.Hubs
{
/// <summary>
/// Enables disconnect notificatins for a <see cref="IHub"/>
/// </summary>
/// <example>
/// public class MyHub : Hub, IDisconnect
/// {
/// public Task Disconnect()
/// {
/// // Tell everyone thi... | 28.666667 | 129 | 0.551163 | [
"MIT"
] | Icenium/SignalR | SignalR/Hubs/IDisconnect.cs | 862 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Security.Cryptography;
using System.Text;
using Microsoft.Extensions.Configuration;
using System.Net.H... | 38.268116 | 143 | 0.622609 | [
"MIT"
] | Bhaskers-Blu-Org2/Healthcare-Blockchain-Solution-Accelerator | 03_Application_Deployment/src/Healthcare.Proofing/Healthcare.Proofing.Service/ProofStorageService.cs | 5,283 | C# |
using System;
using System.Linq;
using System.IO;
using ECommon.Logging;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Layout;
namespace ECommon.Log4Net
{
/// <summary>Log4Net based logger factory.
/// </summary>
public class Log4NetLoggerFactory : ILoggerFactory
{
... | 31.757576 | 110 | 0.583492 | [
"MIT"
] | DrDao/ecommon | src/ECommon.Log4Net/Log4NetLoggerFactory.cs | 2,098 | C# |
/*
* Tester.PCL
*
* This file was automatically generated for Stamplay by APIMATIC v2.0 ( https://apimatic.io ) on 08/09/2016
*/
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
usin... | 39.349183 | 134 | 0.586323 | [
"MIT"
] | mnaumanali94/CSHARP-SDK | Tester.PCL/Controllers/QueryParamController.cs | 26,482 | C# |
using System;
using System.Windows.Input;
namespace Coffee.Security.Authentication.Input
{
public class AuthCommand<T> : ICommand
{
#region Fields
private Action<T> action;
private string node;
#endregion
#region Constructors
public AuthCommand(Action<T> a... | 19.285714 | 76 | 0.555556 | [
"MIT"
] | g3ntle/Coffee.Security | src/Coffee.Security/Authentication/Input/AuthCommandGeneric.cs | 1,082 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace buildeR.DAL.Migrations
{
public partial class AddNotificationSetting : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "NotificationSettings",
... | 37.090909 | 75 | 0.514093 | [
"MIT"
] | BinaryStudioAcademy/bsa-2020-buildeR | backend/buildeR.DAL/Migrations/20200819091945_AddNotificationSetting.cs | 1,634 | 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.md file in the project root for more information.
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Thread... | 47.743243 | 204 | 0.720917 | [
"MIT"
] | 77-A/.Net-Project | src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Properties/StartupObjectsEnumProvider.cs | 3,462 | C# |
namespace nuPickers.PropertyEditors.SqlCheckBoxPicker
{
using nuPickers.EmbeddedResource;
using Umbraco.Core.PropertyEditors;
internal class SqlCheckBoxPickerPreValueEditor : PreValueEditor
{
[PreValueField("dataSource", "", EmbeddedResource.ROOT_URL + "SqlDataSource/SqlDataSourceConfig.html",... | 50.615385 | 138 | 0.723404 | [
"MIT"
] | OxygenAS/nuPickers | source/nuPickers/PropertyEditors/SqlCheckBoxPicker/SqlCheckBoxPickerPreValueEditor.cs | 1,318 | 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.056604 | 95 | 0.664384 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ApiManagement/V20170301/Outputs/RequestContractResponse.cs | 1,752 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection.PortableExecutable;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Lunar.Native.Structures;
using Lunar.PortableExecutable.Structures;
namespace Lunar.PortableExecutable.Data... | 36.683453 | 161 | 0.582075 | [
"MIT"
] | Aekras1a/Lunar | Lunar/PortableExecutable/DataDirectories/ImportDirectory.cs | 5,101 | 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.Globalization;
using System.IO;
using System.Text;
namespace System.Net.NetworkInformation
{
inter... | 42.814433 | 122 | 0.620034 | [
"MIT"
] | BigBadBleuCheese/corefx | src/Common/src/System/Net/NetworkInformation/UnixCommandLinePing.cs | 4,153 | C# |
using System;
using System.Linq;
using Alea;
using AleaTK;
using NUnit.Framework;
using Context = AleaTK.Context;
using static AleaTK.Library;
using static AleaTKUtil.Common;
using static AleaTKTest.Common;
namespace AleaTKTest
{
public static class TensorComputing
{
private static readonly Context cp... | 35.383321 | 144 | 0.442071 | [
"Apache-2.0"
] | fastai/AleaTK | tests/AleaTKTest/TensorComputing.cs | 46,248 | C# |
using System;
using Archimedes.Framework.Stereotype;
namespace Archimedes.Framework.Test.ContainerTest
{
[Service]
public class ServiceC
{
[Inject]
public ServiceC(ServiceA serviceA, ServiceB serviceB)
{
if(serviceA == null) throw new ArgumentNullException("serviceA");
... | 24.434783 | 77 | 0.629893 | [
"MIT"
] | ElderByte-/Archimedes.Framework | Archimedes.Framework.Test/ContainerTest/ServiceC.cs | 564 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.