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 |
|---|---|---|---|---|---|---|---|---|
// 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.
//
//
// This file was generated, please do not edit it directly.
//
// Please see MilCodeGen.html for more informat... | 25.189873 | 88 | 0.502848 | [
"MIT"
] | KodamaSakuno/wpf | src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media3D/Generated/Transform3D.cs | 5,970 | C# |
/*
* Copyright 2020 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 "licens... | 37.686747 | 180 | 0.688939 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/FieldLevelEncryptionProfileSizeExceededExceptionUnmarshaller.cs | 3,128 | C# |
using Akka.Actor;
using AKDK.Actors;
using AKDK.Messages;
using Docker.DotNet.Models;
using System;
using DockerEvents = AKDK.Messages.DockerEvents;
namespace AKDK.Examples.Orchestration.Actors
{
/// <summary>
/// Actor that manages an instance of a Docker container.
/// </summary>
public partial... | 34.117257 | 160 | 0.498282 | [
"MIT"
] | tintoy/akdk | examples/orchestration/Actors/Process.cs | 15,423 | C# |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using AutoQC;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using SharedBatch;
using SharedBatchTest;
namespace AutoQCTest
{
[TestClass]
public class PanoramaTest: AbstractUnitTest
... | 42.110345 | 145 | 0.610383 | [
"Apache-2.0"
] | vagisha/pwiz | pwiz_tools/Skyline/Executables/AutoQC/AutoQCTest/PanoramaTest.cs | 6,108 | C# |
using JetBrains.Annotations;
using Novell.Directory.Ldap.Controls;
using System;
using System.Collections.Generic;
namespace Novell.Directory.Ldap
{
/// <summary>
/// Provides extensions methods for <see cref="ILdapConnection"/> to do paged searches
/// with <see cref="SimplePagedResultsControl"/> using <... | 33.929825 | 190 | 0.609617 | [
"MIT"
] | kbezuid/Novell.Directory.Ldap.NETStandard | src/Novell.Directory.Ldap.NETStandard/SearchExtensions/SimplePagedResultsControlSearchExtensions.cs | 1,936 | 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("02.... | 37.783784 | 84 | 0.744635 | [
"MIT"
] | vankatalp360/Programming-Fundamentals-2017 | Exam Preparation V/02. Hornet Comm/Properties/AssemblyInfo.cs | 1,401 | C# |
using System;
using System.Collections.Generic;
using System.Net.Http;
using KeyPayV2.Nz.Models.Common;
using KeyPayV2.Nz.Enums;
namespace KeyPayV2.Nz.Models.RosterShift
{
public class FindMatchingClockOffRosterShiftQueryModel
{
public int KioskId { get; set; }
public DateTime DateUt... | 23.133333 | 59 | 0.697406 | [
"MIT"
] | KeyPay/keypay-dotnet-v2 | src/keypay-dotnet/Nz/Models/RosterShift/FindMatchingClockOffRosterShiftQueryModel.cs | 347 | C# |
/*
* 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
* d... | 32.023715 | 133 | 0.529005 | [
"ECL-2.0",
"Apache-2.0"
] | bastie/NetSpider | NetVampiro/java/lang/Thread.cs | 8,104 | C# |
using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using System.Threading.Tasks;
using System.Net.Http.Headers;
using iCoreService.Models;
using iCoreService.AzureServices;
namespace iCoreService.Controllers
{
/// <summary>
/// Provide data to the... | 55.193277 | 155 | 0.527253 | [
"MIT"
] | mikechristel/iCoreService-Digital-Archive-API | iCoreService/Controllers/BiographySearchController.cs | 6,570 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// using ApiManagement.Management.Tests;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Azure.Management.ApiMan... | 46.457317 | 121 | 0.530122 | [
"MIT"
] | jijohn14/azure-sdk-for-net | sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/tests/ManagementApiTests/DiagnosticTests.cs | 7,621 | 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("Intellichess.Core")]
[assembly: Assembly... | 35.769231 | 84 | 0.739785 | [
"MIT"
] | m-sadegh-sh/Intellichess | src/Intellichess.Core/Properties/AssemblyInfo.cs | 1,398 | C# |
using Assets.PatternDesigner.Scripts.PaintSystem.Player;
using Assets.PatternDesigner.Scripts.PaintSystem.Stroke;
using Assets.PatternDesigner.Scripts.Util;
using Assets.PatternDesigner.Scripts.Values;
using Assets.PatternDesigner.Scripts.Values.Resources;
using UnityEngine;
using UnityEngine.UI;
namespace Assets.Pat... | 31.165179 | 119 | 0.597909 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | obkaul/VRTactileDraw | Assets/PatternDesigner/Scripts/UI/RadialMenu/PlaybackRadialMenu.cs | 6,983 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Printing;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using Microsoft.Msagl.... | 37.985768 | 181 | 0.536442 | [
"MIT"
] | cgravill/automatic-graph-layout | GraphLayout/tools/GraphViewerGDI/GViewer.cs | 90,748 | C# |
using Pulumi;
using Kubernetes = Pulumi.Kubernetes;
class MyStack : Stack
{
public MyStack()
{
var bar = new Kubernetes.Core.v1.Pod("bar", new Kubernetes.Core.v1.PodArgs
{
ApiVersion = "v1",
Kind = "Pod",
Metadata = new Kubernetes.Meta.Inputs.ObjectMetaArgs
... | 28.275 | 87 | 0.354553 | [
"Apache-2.0"
] | marcusturewicz/pulumi | pkg/codegen/internal/test/testdata/kubernetes-pod.pp.cs | 1,131 | C# |
using System;
using System.Runtime.InteropServices;
using LowLevelDesign.Win32.NUMA;
using VsChromium.Core.Win32.Interop;
namespace LowLevelDesign.Win32.Jobs
{
public enum JOBOBJECTINFOCLASS
{
JobObjectAssociateCompletionPortInformation = 7,
JobObjectBasicLimitInformation = 2,
JobObject... | 39.839506 | 109 | 0.724357 | [
"MIT"
] | rowandh/process-governor | ProcessGovernor/Win32/Jobs/NativeMethods.cs | 6,454 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace EasyNetQ
{
/// <summary>
/// Collection of precondition methods for qualifying method arguments.
/// </summary>
internal static class Preconditions
{
/// <summary>
/// Ensures that ... | 37.04898 | 129 | 0.529911 | [
"MIT"
] | IvanSorokin/EasyNetQ | Source/EasyNetQ/Preconditions.cs | 9,077 | C# |
#region Copyright
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Phoenix Contact GmbH & Co KG
// This software is licensed under Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////
#endregion
using System;
using... | 30.972222 | 113 | 0.543498 | [
"Apache-2.0"
] | PLCnext/PLCnext_CLI | src/PlcNext.CppParser/CppRipper/Messages/NoDeclarationFound.cs | 1,117 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using PKG1;
namespace Edelstein.Provider.Reactors
{
public class ReactorStateTemplate
{
public int ID { get; set; }
// TODO: timeOut
public ICollection<ReactorEventTemplate> Events;
public static ReactorStateTem... | 27.346154 | 64 | 0.547117 | [
"MIT"
] | kaokaotw/Edelstein-archive | src/Edelstein.Provider/Reactors/ReactorStateTemplate.cs | 711 | C# |
using System.Collections.Generic;
namespace ProjectN.TicketManagement.Application.Responses
{
public class BaseResponse
{
public BaseResponse()
{
Success = true;
}
public BaseResponse(string message = null)
{
Success = true;
... | 23.642857 | 59 | 0.528701 | [
"MIT"
] | Naveenpatancheru/ProjectN | ProjectN.Application/Responses/BaseResponse.cs | 664 | 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.Collections.Generic;
using System.Linq;
using System.Reflection;
using Bifrost.Concepts;
using Microsoft.WindowsAzure.Storage;
using Micro... | 35.078261 | 162 | 0.603123 | [
"MIT"
] | msdevno/PowerBIDotNet | Source/PowerBIDotNet/ConfigurationForTenants.cs | 4,036 | C# |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using Sy... | 28.08 | 70 | 0.571225 | [
"Apache-2.0"
] | assessorgeneral/ConQAT | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitCore/tests/ThreadedTestRunnerTests.cs | 702 | C# |
using System;
//using JustDecompile.EngineInfrastructure;
using Mono.Cecil;
using System.IO;
using Telerik.JustDecompiler.Languages.CSharp;
using Telerik.JustDecompiler.Languages;
using System.Collections.Generic;
using JustDecompile.Tools.MSBuildProjectBuilder.FilePathsServices;
using JustDecompile.Tools.MSBuildProje... | 40.932692 | 169 | 0.630491 | [
"ECL-2.0",
"Apache-2.0"
] | Bebere/JustDecompileEngine | MSBuildProjectCreator/ProjectItemFileWriters/ProjectItemWriterFactory.cs | 4,259 | C# |
/*
* MIT License
*
* Copyright (c) 2019 plexdata.de
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | 42.333333 | 108 | 0.657651 | [
"MIT"
] | akesseler/Plexdata.Abstractions | code/src/Plexdata.AspNetCore.Http/Abstraction/IHttpContextCreator.cs | 2,923 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class ButtonLogic : MonoBehaviour
{
private AudioManager audioManager;
private void Start() {
audioManager = FindObjectOfType<AudioManager>();
}
public void WiggleButton() {
trans... | 24.392857 | 78 | 0.670571 | [
"MIT"
] | guigs10mil/EddieTheMole | Assets/Scripts/ButtonLogic.cs | 685 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using EK.CommonUtils.Extensions;
using Xunit;
namespace EK.CommonUtils.Tests.Extensions;
public sealed class IEnumerableExtensionsTests
{
[Fact]
public void ForEach_WithoutIndex()
{
var items = new int[] { 1, 2, 3, 4, 5 };
... | 28.866667 | 90 | 0.535412 | [
"MIT"
] | ekisielinski/CommonUtils | EK.CommonUtils.Tests/Code/Extensions/IEnumerableExtensionsTests.cs | 2,600 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1378
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated... | 35.967742 | 151 | 0.573094 | [
"MIT"
] | faizol/ai-algorithmplatform | AIAlgorithmPlatform/2007/algorithm/pathfinding/PositionSet_Connected_ViewerDemo/Properties/Settings.Designer.cs | 1,117 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Publishing;
namespace OfficeDevPnP.SPOnline.Core
{
public static class SPOWikiPage
{
public static void SetWikiPageCo... | 34.666667 | 129 | 0.66867 | [
"Apache-2.0"
] | HappySolutions/PnP | Solutions/OfficeDevPnP.SPOnline/Core/SPOWikiPage.cs | 2,498 | C# |
class Ref {}
class Def : Ref {}
interface IFooRef {
Ref Bar { get; }
}
interface IFooDef : IFooRef {
new Def Bar { get; set; }
}
class FooProcessor<T> where T : IFooDef {
public void Attach (T t, Def def)
{
t.Bar = def;
}
}
class Program {
public static void Main ()
{
}
}
| 12.72 | 41 | 0.553459 | [
"Apache-2.0"
] | 121468615/mono | mcs/tests/gtest-488.cs | 318 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 40.022222 | 82 | 0.762909 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-cloudwf/Cloudwf/Transform/V20170328/GetScanModeResponseUnmarshaller.cs | 1,801 | C# |
using HelpMyStreet.Utils.Enums;
using HelpMyStreet.Utils.Models;
using HelpMyStreet.Utils.Utils;
using RequestService.Core.Dto;
using RequestService.Core.Interfaces.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
... | 38.06383 | 234 | 0.634433 | [
"MIT"
] | Magicianred/request-service | RequestService/RequestService.Core/Services/JobService.cs | 5,369 | C# |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00025286", true, 0xE1FF)]
[Attributes(9)]
public class LteB7C2LnaRangeRiseFall
{
[Eleme... | 21.809524 | 60 | 0.617904 | [
"MIT"
] | HomerSp/EfsTools | EfsTools/Items/Efs/LteB7C2LnaRangeRiseFallI.cs | 458 | C# |
namespace zControl.Math {
/// <summary>
/// A mathematical vector space over a <see cref="IField{T}"/> <typeparamref name="F"/>, which is an <see cref="IAbelian{T}"/> <typeparamref name="V"/>
/// together with a scalar <see cref="Multiply(F)"/> operation (noted '*') that satisfies the following properties:
/// <li... | 49.296296 | 153 | 0.646131 | [
"MIT"
] | Helluys/zControl | Runtime/zControl/Math/IVector.cs | 1,333 | C# |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | 30.433735 | 110 | 0.710808 | [
"BSD-2-Clause"
] | Caprica666/vixen | build/swig/VixenCS/Sources/Model.cs | 10,104 | C# |
#region License
/*
MIT License
Copyright (c) 2020 Petteri Kautonen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, c... | 43.056818 | 187 | 0.570599 | [
"MIT"
] | VPKSoft/InstallerBaseWixSharp | InstallerBaseWixSharp/Files/Localization/TabDeliLocalization/TabDeliLocalization.cs | 7,580 | C# |
namespace Zu.ChromeDevTools.Page
{
using Newtonsoft.Json;
/// <summary>
/// Deletes browser cookie with given name, domain and path.
/// </summary>
public sealed class DeleteCookieCommand : ICommand
{
private const string ChromeRemoteInterface_CommandName = "Page.deleteCookie";
... | 24.02439 | 91 | 0.546193 | [
"Apache-2.0"
] | DoctorDump/AsyncChromeDriver | ChromeDevToolsClient/Page/DeleteCookieCommand.cs | 985 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RadCBA.Core.ViewModels.UserViewModels
{
public class EditUserViewModel
{
public string Id { get; set; }
[Required, MinLen... | 35.688889 | 132 | 0.64259 | [
"MIT"
] | Sulzmido/Core-Banking-Application---RadCBA | RadCBA.Core/ViewModels/UserViewModels/EditUserViewModel.cs | 1,608 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
namespace WebJobs.Extensions.DurableTask.Tests.V2... | 29.709677 | 96 | 0.692725 | [
"MIT"
] | Azure/azure-functions-durable-extension | test/FunctionsV2/TestCustomConnectionsStringResolver.cs | 923 | C# |
using Factory.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
namespace Factory.Controllers
{
public class MachinesController : Controller
{
private readonly FactoryContext _db;
public MachinesControlle... | 31.064 | 107 | 0.657481 | [
"MIT"
] | MorganJBradford/Factory.Solution | Factory/Controllers/MachinesController.cs | 3,883 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.PlatformAbstractions;
usin... | 46.595238 | 132 | 0.63209 | [
"MIT"
] | kmdlogic/kmd-logic-logging-sample-aspnetcore | src/Kmd.Logic.Logging.Sample.AspnetCore/Program.cs | 3,916 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... | 24.083333 | 76 | 0.622837 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Vod/Client/BatchUpdateVideosExecutor.cs | 1,543 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.DesignScript.Runtime;
using Autodesk.DesignScript.Interfaces;
using Autodesk.DesignScript.Geometry;
using Machina;
using MAction = Machina.Action;
using MPoint = Machina.Point;
using MVe... | 29.35 | 77 | 0.43356 | [
"MIT"
] | RobotExMachina/Machina-Dynamo | src/MachinaDynamo/Actions/_base.cs | 1,714 | C# |
using Lexical.Localization.Utils;
using System.Collections.Generic;
namespace Lexical.Localization
{
/// <summary>
/// Extension functions for <see cref="ILineFormat"/>.
/// </summary>
public static partial class ILineFormatExtensions
{
/// <summary>
/// Build name for k... | 46.081761 | 196 | 0.590419 | [
"MIT"
] | tagcode/Lexical.Localization | Lexical.Localization.Abstractions/Line/Format/ILineFormatExtensions.cs | 7,329 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace project2_razors_coop.Models.ManageViewModels
{
public class TwoFactorAuthenticationViewModel
{
public bool HasAuthenticator { get; set; }
pub... | 23.111111 | 54 | 0.735577 | [
"MIT"
] | michailvarouchas/project2-razors-coop | Models/ManageViewModels/TwoFactorAuthenticationViewModel.cs | 418 | C# |
using Blog.Core.DTOs;
using Blog.Core.Models;
using Sparrow.Core.DTOs.Responses;
using Sparrow.Core.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Blog.Core.Services
{
public interface ICategoryService : IAppService<Category, int, CategoryCreateDTO, CategoryUpdateDTO, Category... | 26.615385 | 117 | 0.631503 | [
"MIT"
] | RajeshJs/Blog | src/Blog.Core/Services/ICategoryService.cs | 736 | 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.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace System.Text
{
/... | 44.524138 | 144 | 0.585605 | [
"MIT"
] | 6opuc/coreclr | src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs | 19,368 | C# |
using Com.Ctrip.Framework.Apollo.Enums;
using Com.Ctrip.Framework.Apollo.Util;
namespace Com.Ctrip.Framework.Apollo.Core
{
class MetaDomainConsts
{
public static string GetDomain(Env env)
{
return env switch
{
Env.Dev => GetAppSetting("DEV.Meta", GetAppS... | 37.285714 | 115 | 0.631226 | [
"Apache-2.0"
] | nixiaodong/apollo.net | Apollo.ConfigurationManager/Core/MetaDomainConsts.cs | 1,046 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 43.854962 | 242 | 0.575283 | [
"Apache-2.0"
] | StefanWarringa/Lean | Algorithm.CSharp/FutureOptionPutITMExpiryRegressionAlgorithm.cs | 11,490 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | 42.04902 | 130 | 0.633015 | [
"Apache-2.0"
] | 3ai-co/Lean | Indicators/ExponentialMovingAverage.cs | 4,291 | C# |
#if !NETSTANDARD13
/*
* 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 ... | 38.061856 | 152 | 0.658992 | [
"Apache-2.0"
] | orinem/aws-sdk-net | sdk/src/Services/Route53/Generated/Model/_bcl45+netstandard/ListHostedZonesPaginator.cs | 3,692 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 31.149254 | 81 | 0.618112 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Cpdp/V20190820/Models/DistributeAccreditTlinxResponse.cs | 2,271 | C# |
using Encodable;
namespace Sample_Encodable
{
public class Sample3
{
class Model : ICodable
{
private bool EncodableSomeProperty;
public bool SomeProperty { get => EncodableSomeProperty; set => EncodableSomeProperty = value; }
}
public Sample3()
... | 24.4 | 108 | 0.535861 | [
"Unlicense"
] | HotariTobu/Encodable | Sample_Encodable/Sample3.cs | 978 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
namespace MP_EF_HeberAndrade
{
class TvService
{
public Tv GetById(int itemId)
{
using (var context = new AssetsContext())
{
return context.Tvs.Find(itemId);
}
}
... | 25.338983 | 58 | 0.474247 | [
"Apache-2.0"
] | IdesignerSe/MP_EF_HeberAndrade | MP_EF_HeberAndrade/Service/TvService.cs | 1,497 | C# |
using System;
using System.Threading.Tasks;
using WebPerformanceMeter.Interfaces;
using WebPerformanceMeter.PerformancePlans;
namespace WebPerformanceMeter
{
public sealed class ActiveUsersBySteps<TData> : BasicActiveUsersBySteps
where TData : class
{
private readonly IDataReader<TData> dataRe... | 31.642857 | 121 | 0.612491 | [
"MIT"
] | evgenynazarchuk/WebPerformanceMeter | WebPerformanceMeter/PerformancePlans/TypedActiveUsersBySteps.cs | 1,331 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Vibrant.Tsdb.ConsoleApp.Entries
{
public enum Sampling
{
FiveMinutely,
Hourly,
Daily
}
}
| 15 | 41 | 0.702222 | [
"MIT"
] | MikaelGRA/Tsdb | test/Vibrant.Tsdb.ConsoleApp/Entries/Sampling.cs | 227 | C# |
using System;
using System.Linq;
namespace ExtendedDatabase
{
public class Database
{
private Person[] persons;
private int count;
public Database(params Person[] persons)
{
this.persons = new Person[16];
AddRange(persons);
}
public int C... | 27.635417 | 101 | 0.477573 | [
"MIT"
] | hidden16/Softuni-Advanced | OOP/UnitTesting/Exercises/DatabaseExtended/Database.cs | 2,655 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V23.Segment;
using NHapi.Model.V23.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V23.Group
{
///<summary>
///Represents the PPT_PCL_PATIENT Group. A Group is an ordered collecti... | 29.437086 | 153 | 0.687964 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V23/Group/PPT_PCL_PATIENT.cs | 4,445 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | 32.340909 | 88 | 0.587491 | [
"MIT"
] | dlnuckolls/glorykidd-public | web/elusivesoftware/ElusiveSoftware.net/MasterPage.Master.designer.cs | 2,848 | C# |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBTTaskStopBeingScaredDef : IBehTreeReactionTaskDefinition
{
public... | 31.73913 | 137 | 0.754795 | [
"MIT"
] | DerinHalil/CP77Tools | CP77.CR2W/Types/W3/RTTIConvert/CBTTaskStopBeingScaredDef.cs | 708 | C# |
using Umbraco.Core.Persistence.Migrations.Syntax.Delete.Expressions;
namespace Umbraco.Core.Persistence.Migrations.Syntax.Delete.Constraint
{
public class DeleteConstraintBuilder : ExpressionBuilderBase<DeleteConstraintExpression>, IDeleteConstraintOnTableSyntax
{
public DeleteConstraintBuilder(... | 33.75 | 125 | 0.712963 | [
"MIT"
] | Abhith/Umbraco-CMS | src/Umbraco.Core/Persistence/Migrations/Syntax/Delete/Constraint/DeleteConstraintBuilder.cs | 542 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 53 | 243 | 0.775009 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/MachineLearning/Properties/AssemblyInfo.cs | 2,809 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace PropertyDependencyFramework
{
public static class PlatformSpecificSanityChecks
{
public static void TryVerifyLastPropertySetterEquals(string expectedPropertySetter... | 23.043478 | 89 | 0.796226 | [
"MIT"
] | interknowlogy/pdfx | PropertyDependencyFramework/PropertyDependencyFramework_WindowsStore/PlatformSpecificSanityChecks.cs | 532 | C# |
using AspNetCoreHero.Results;
using AutoMapper;
using CaraDotNetCore5V2.Application.Extensions;
using CaraDotNetCore5V2.Application.Features.Face.Commands.Create;
using CaraDotNetCore5V2.Application.Features.Face.Queries;
using CaraDotNetCore5V2.Application.Interfaces.Repositories;
using CaraDotNetCore5V2.Domain.Entit... | 32.815385 | 133 | 0.66526 | [
"MIT"
] | rosdisulaiman/CaraDotNetCore5V2 | CaraDotNetCore5V2.Application/Features/Scan/Queries/GetAllPaged/GetAllScansQuery.cs | 2,135 | C# |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Semp.WebHost.Migrations
{
public partial class InitialMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Creat... | 47.824261 | 681 | 0.50717 | [
"Apache-2.0"
] | afernandes/Projeto-Piloto | src/Semp.WebHost/Migrations/20180626144410_InitialMigration.cs | 30,753 | C# |
namespace ZENBEAR.Services.Data
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using ZENBEAR.Data.Models;
using ZENBEAR.Web.ViewModels.Projects;
public interface IProjectsService
{
IDictionary<string, List<string>> GetPr... | 22.903226 | 61 | 0.695775 | [
"Unlicense"
] | gready000/ZENBEAR-Digital | Services/ZENBEAR.Services.Data/IProjectsService.cs | 712 | C# |
using UnityEngine;
using System.Collections;
// Warps the land to make it look like an iseland
public class LandWarp : MonoBehaviour
{
public static float[,] CreateWarpedLand(int width, int height)
{
float[,] warpDepth = new float[width + 1, height + 1];
float[,] warpXVals = new float[width + ... | 31.282353 | 124 | 0.495299 | [
"MIT"
] | khorotyan/procedural-terrain-generation | Dwelland/Assets/Scripts/LandWarp.cs | 2,661 | C# |
/* Copyright 2013-2017 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 35.730088 | 213 | 0.586873 | [
"Apache-2.0"
] | KermitCoder/mongo-csharp-driver | src/MongoDB.Driver.Core/Core/Operations/FindOneAndUpdateOperation.cs | 8,075 | C# |
namespace LoopingPattern._01_LoppingTypes._06_NestedToNested.OtherExample {
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"LoopingPattern._01_LoppingTypes._06_NestedToNested.OtherExample.Families", typeof(global::LoopingPattern._01_LoppingTypes._06_NestedToNested.OtherExample.Families))]
[Microsoft.XLA... | 33.472222 | 418 | 0.608417 | [
"MIT"
] | sandroasp/BizTalk-Server-Learning-Path | Working-with-Maps/Looping-Pattern/LoopingPattern/01-LoppingTypes/06-NestedToNested/OtherExample/NestedFamiliesMapCorrect.btm.cs | 8,435 | C# |
using GroupGenerator.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GroupGenerator.Data
{
public class GroupGeneratorDbContext : DbContext
{
public GroupGeneratorDbContext(DbContextOptions<GroupGen... | 21.95 | 105 | 0.731207 | [
"MIT"
] | Kcils360/GroupGenerator | GroupGenerator/Data/GroupGeneratorDbContext.cs | 441 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OlympicGames.Core.Commands.Abstracts;
using OlympicGames.Core.Contracts;
using OlympicGames.Utils;
namespace OlympicGames.Core.Commands
{
public class ListOlympiansCommand : Command, ICommand
{
private string ... | 31.301205 | 92 | 0.506543 | [
"MIT"
] | VProfirov/Telerik-Academy | Alpha/OOP-Ex-Alpha/OlympicGamesSkeleton v0.2/OlympicGames/Core/Commands/ListOlympiansCommand.cs | 2,600 | C# |
#if false
using UnityEngine;
using UnityEngine.Experimental.UIElements;
using UnityEditor;
namespace UnityEngine.Experimental.UIElements
{
public class Element3D : VisualElement
{
Mesh m_Mesh;
Material m_Material;
Material m_LineMaterial;
public Vector3 position { get; set; }... | 30.385714 | 181 | 0.581805 | [
"BSD-2-Clause"
] | 1-10/VisualEffectGraphSample | GitHub/com.unity.visualeffectgraph/Editor/Controls/Element3D.cs | 4,254 | C# |
namespace MuziqGrabber.Core.Models {
public abstract class ModelBase : IModel {}
} | 29 | 47 | 0.747126 | [
"MIT"
] | m-sadegh-sh/MuziqGrabber | src/MuziqGrabber.Core/Models/ModelBase.cs | 89 | C# |
// Copyright 2010-2021 Google 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 law or agreed to in... | 34.554622 | 106 | 0.521644 | [
"Apache-2.0"
] | AlohaChina/or-tools | ortools/sat/samples/BinPackingProblemSat.cs | 4,112 | C# |
using MatterHackers.VectorMath;
// Copyright 2006 Herre Kuijpers - <herre@xs4all.nl>
//
// This source file(s) may be redistributed, altered and customized
// by any means PROVIDING the authors name and all copyright
// notices remain intact.
// THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPR... | 27.07874 | 119 | 0.665019 | [
"BSD-2-Clause"
] | 595787816/agg-sharp | PolygonMesh/Processors/IBvhItem.cs | 3,441 | C# |
//-----------------------------------------------------------------------
// <copyright file="SerializedScriptableObject.cs" company="Sirenix IVS">
// Copyright (c) 2018 Sirenix IVS
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.... | 35.1 | 103 | 0.639601 | [
"Apache-2.0"
] | ImandaSyahrul/odin-serializer | OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedScriptableObject.cs | 2,108 | C# |
#region Copyright
/*Copyright (C) 2015 Konstantin Udilovich
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 applicab... | 28.354839 | 75 | 0.745165 | [
"Apache-2.0"
] | Kodestruct/Kodestruct.Design | Kodestruct.Steel/AISC/Entities/Enums/HssPlateConnection/TransversePlateType.cs | 879 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Threading;
using KdSoft.Lmdb.Interop;
namespace KdSoft.Lmdb
{
//TODO Implement .NET 5.0 native i... | 47.846652 | 149 | 0.616666 | [
"MIT"
] | kwaclaw/KdSoft.Lmdb | Lmdb/LmdbEnvironment.cs | 22,155 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace MappingApplication
{
class PageNode
{
private int m_size;
private MPoint m_position;
private Page m_Page;
private PageNode m_parent;
priva... | 29.918919 | 92 | 0.494128 | [
"Apache-2.0"
] | HaanstootZA/DotNet-Playground | MappingApplication/MappingApplication/Bck/PageNode.cs | 2,216 | C# |
using System;
using AGO.Core.Migration;
using AGO.Tasks.Model.Dictionary;
using AGO.Tasks.Model.Task;
using FluentMigrator;
namespace AGO.Tasks.Migrations
{
/// <summary>
/// Первая миграция - основные таблицы и связи
/// </summary>
[MigrationVersion(2013, 09, 16, 01), Tags(MigrationTags.ProjectDb)]
... | 42.520408 | 117 | 0.673146 | [
"MIT"
] | olegsmetanin/apinet-server | AGO.Tasks/Migrations/TasksBootstrapMigration.cs | 4,204 | C# |
namespace StardewMods.FuryCore.Models.GameObjects.Storages;
using System;
using System.Collections.Generic;
using System.Linq;
using StardewMods.FuryCore.Interfaces.GameObjects;
using StardewValley;
using StardewValley.Menus;
/// <inheritdoc cref="StardewMods.FuryCore.Interfaces.GameObjects.IStorageContainer" />
pub... | 28.320755 | 144 | 0.579614 | [
"MIT"
] | KRISSzxc/StardewMods | FuryCore/Models/GameObjects/Storages/StorageContainer.cs | 4,505 | C# |
using System;
using System.Linq;
using Newtonsoft.Json;
using Sora.Enumeration;
namespace Sora.Entities.Segment.DataModel;
/// <summary>
/// <para>自定义转发节点</para>
/// <para>仅用于发送</para>
/// </summary>
public sealed record CustomNode
{
/// <summary>
/// 转发消息Id
/// </summary>
[JsonProperty(PropertyName =... | 30.288889 | 103 | 0.588041 | [
"Apache-2.0"
] | CBGan/Sora | Sora/Entities/Segment/DataModel/CustomNode.cs | 2,914 | 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.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServi... | 35.859425 | 156 | 0.542944 | [
"MIT"
] | bpschoch/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/LightLambda.cs | 11,224 | C# |
namespace Xamarin.Forms
{
public class WebNavigatingEventArgs : WebNavigationEventArgs
{
public WebNavigatingEventArgs(WebNavigationEvent navigationEvent, WebViewSource source, string url) : base(navigationEvent, source, url)
{
}
public bool Cancel { get; set; }
}
} | 25.272727 | 138 | 0.773381 | [
"MIT"
] | 07101994/Xamarin.Forms | Xamarin.Forms.Core/WebNavigatingEventArgs.cs | 278 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using AdaptiveExpressions.Properties;
using Newtonsoft.Json;
using Microsoft.Bot.Builder.Dialogs;
using Octokit;
using System.ComponentModel.DataAnnotations;
n... | 37.621622 | 178 | 0.627874 | [
"MIT"
] | coldplaying42/iciclecreek.bot | source/Libraries/Iciclecreek.Bot.Builder.Dialogs.Adaptive.GitHub/Actions/Enterprise/SearchIndexing/Queue.cs | 2,784 | C# |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... | 44.954545 | 138 | 0.711325 | [
"MIT"
] | UE4DotNet/Plugin | DotNet/DotNet/UE4/Generated/UnrealEd/LevelEditor2DSettings.cs | 1,978 | C# |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /tcb/getenvinfo 接口的响应。</para>
/// </summary>
public class TcbGetEnvironmentInfoResponse : WechatApiResponse
{
public static class Types
{
... | 41.397436 | 130 | 0.547848 | [
"MIT"
] | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | src/SKIT.FlurlHttpClient.Wechat.Api/Models/Tcb/ThirdPartyPlatforms/TcbGetEnvironmentInfoResponse.cs | 3,407 | C# |
using System;
using Medical;
using System.Net.Http;
using Anomalous.OSPlatform;
using System.IO;
using System.Runtime.InteropServices;
using Anomalous.OSPlatform.Mac;
using DentalSim;
using Lecture;
using AppKit;
using ModernHttpClient;
namespace AnomalousMedicalMac
{
class MainClass
{
static void Main(string[] a... | 24.818182 | 183 | 0.729853 | [
"MIT"
] | AnomalousMedical/Medical | AnomalousMedicalMac/Main.cs | 2,186 | 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("Tex... | 37.513514 | 84 | 0.747118 | [
"MIT"
] | VsIG-official/Study-Projects | Unity/Intermediate Object-Oriented Programming for Unity Games/1_week/TextFileIO/TextFileIO/Properties/AssemblyInfo.cs | 1,391 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... | 35.384615 | 84 | 0.557609 | [
"MIT"
] | SveGeorgiev/OpenJudgeSystem | Open Judge System/Tools/OJS.Tools.OldDatabaseMigration/aspnet_Profile.cs | 920 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using mvc_minitwit.Data;
using System;
using System.Linq;
namespace mvc_minitwit.Models
{
public static class SeedData
{
public static void Initialize(IServiceProvider serviceProvider)
{
using (var ... | 27.393939 | 87 | 0.52323 | [
"Apache-2.0"
] | albertbethlowsky/DevOpsGroupH | mvc-minitwit/Models/SeedData.cs | 904 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FractalTree
{
/// <summary>
/// A stationary branch. Forces cannot be applied to it. It is a line drawn onscreen by rotating and scaling a sprite between a start and end point.
/// </summary>
public class StationaryBranch : M... | 31.850242 | 149 | 0.650538 | [
"MIT"
] | GandhiGames/fractal_trees_with_spring | fractal_tree/Assets/FT/Scripts/Branch/StationaryBranch.cs | 6,595 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.17929
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
n... | 34.972222 | 178 | 0.559968 | [
"MIT"
] | victoryckl/csharp | WpfPagesApp/Properties/Resources.Designer.cs | 2,874 | 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("Bu... | 38.081081 | 84 | 0.745919 | [
"MIT"
] | TeamGotha/BullsAndCows | BullsAndCows.Tests/Properties/AssemblyInfo.cs | 1,412 | C# |
using DotVVM.Framework.ViewModel;
using System.Collections.Generic;
namespace DotVVM.Samples.BasicSamples.ViewModels.ControlSamples.Literal
{
public class Literal_CollectionLengthViewModel : DotvvmViewModelBase
{
public List<string> MyCollection { get; set; } = new List<string>();
public string... | 28.956522 | 76 | 0.623123 | [
"Apache-2.0"
] | AMBULATUR/dotvvm | src/DotVVM.Samples.Common/ViewModels/ControlSamples/Literal/Literal_CollectionLenghtViewModel.cs | 666 | C# |
using TONBRAINS.TONOPS.WebApp.Common;
using System.Collections.Generic;
namespace TONBRAINS.TONOPS.WebApp.Models.Nodes
{
/// <summary>
/// View model for dropdowns node
/// </summary>
public class NodeDropdowns
{
/// <summary>
/// Types node
/// </summary>
public IE... | 25.860465 | 81 | 0.572842 | [
"MIT"
] | mvkhokhlov/telegram_blockchain_devops | TONBRAINS.TONOPS.WebApp/Models/Nodes/NodeDropdowns.cs | 1,114 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Bicep.Core.Diagnostics;
using Bicep.Core.UnitTests.Assertions;
using Bicep.Core.UnitTests.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bicep.Core.IntegrationTests.Scenarios
{
[TestClass]
public class Resou... | 49.885417 | 307 | 0.691167 | [
"MIT"
] | AzureMentor/bicep | src/Bicep.Core.IntegrationTests/Scenarios/ResourceListFunctionTests.cs | 4,789 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
using System.Colle... | 45.750289 | 378 | 0.572093 | [
"Apache-2.0"
] | BrendanBeachBC/jag-lcrb-carla-public | cllc-interfaces/Dynamics-Autorest/Regardingobjectidadoxioapplicationlicenseechangesv10.cs | 39,574 | C# |
using UnityEngine;
namespace Cryptoverse.Examples
{
public class ServiceExample : MonoBehaviour
{
public string ApiUrl = "http://api.cryptoverse.io";
ICache Cache;
Service Service;
void Awake()
{
// This GameObject will be used to run the coroutines required by the Service class,
// so we make s... | 38.349398 | 125 | 0.70311 | [
"MIT"
] | Cryptoverse/cryptoverse-plugin-unity3d | Assets/Plugins/Cryptoverse/Examples/ServiceExample.cs | 3,185 | C# |
namespace Gecko.WebIDL
{
using System;
internal class DOMRect : WebIDLBase
{
public DOMRect(nsIDOMWindow globalWindow, nsISupports thisObject) :
base(globalWindow, thisObject)
{
}
public double X
{
get
... | 19.857143 | 76 | 0.354916 | [
"MIT"
] | haga-rak/Freezer | Freezer/GeckoFX/__Core/WebIDL/Generated/DOMRect.cs | 1,251 | C# |
/*
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Gra... | 33.801136 | 119 | 0.576399 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Blayer98/FreeSO | TSOClient/tso.client/UI/Panels/UIMessageController.cs | 5,951 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AntMapGenerator
{
[System.Serializable]
[CreateAssetMenu(fileName = "NewDataLayer", menuName = "Ant Map Generator/DataLayer", order = 362)]
public class DataLayer : ScriptableObject
{
[SerializeField]
... | 25.239437 | 103 | 0.506696 | [
"MIT"
] | daleran/ant-map-generator | AntMapGenerator/DataLayer.cs | 1,794 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.