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) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using mshtml;
using OpenLiveWriter.ApplicationFramework;
using OpenLiveWriter.Localization;
using OpenLiveWriter.Mshtml;
namespace OpenLiveWriter.HtmlEditor
{
public interfac... | 23.437838 | 100 | 0.555812 | [
"MIT"
] | eocampo/OpenLiveWriter | src/managed/OpenLiveWriter.HtmlEditor/IHtmlEditorCommandSource.cs | 4,336 | C# |
using NUnit.Framework;
using System;
namespace Exceptions.Tests
{
public static class PersonTests
{
[Test]
public static void Create()
{
var person = new Person(new Name("Joe", "Smith"), 44);
Assert.AreEqual(44, person.Age);
Assert.AreEqual("Joe", person.Name.FirstName);
Assert.AreEqual("Smith", ... | 26.04 | 100 | 0.678955 | [
"MIT"
] | JasonBock/ExceptionalDevelopment | Exceptions/Exceptions.Tests/PersonTests.cs | 653 | 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... | 35.830986 | 190 | 0.65566 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/DataFactory/V20170901Preview/Outputs/PostgreSqlLinkedServiceResponse.cs | 2,544 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using lsc.Common;
using lsc.Bll;
using lsc.Model;
using Microsoft.AspNetCore.Http;
namespace lsc.crm.Controllers
{
public class AccountController : Controller
{
/// <summary... | 28.451613 | 91 | 0.527778 | [
"Apache-2.0"
] | 2551405234/crm | lsc/lsc.crm/Controllers/AccountController.cs | 1,792 | C# |
using Autofac.Integration.Mvc;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System.Web.Mvc;
using Wutnu.Common;
us... | 33.197917 | 117 | 0.566677 | [
"Apache-2.0"
] | Matty9191/Wutnu | Wutnu3/Infrastructure/Filters/ApiAuthAttribute.cs | 3,189 | C# |
namespace CQELight
{
/// <summary>
/// Bootstrapper options.
/// </summary>
public sealed class BootstrapperOptions
{
#region Properties
/// <summary>
/// Flag that indicates if services are autoloaded.
/// Warning : Setting this flag to true will ignore all your cu... | 29.916667 | 83 | 0.583101 | [
"MIT"
] | cdie/CQELight | src/CQELight/Bootstrapping/BootstrapperOptions.cs | 1,079 | C# |
using JetBrains.Annotations;
using JetBrains.Diagnostics;
using JetBrains.Metadata.Reader.API;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Modules;
using JetBrains.ReSharper.Psi.Util;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity
{
public class UnityTypeSpec
{
publi... | 37.732143 | 118 | 0.636536 | [
"Apache-2.0"
] | JetBrains/resharper-unity | resharper/resharper-unity/src/UnityTypeSpec.cs | 2,113 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using System.Windows.Input;
using System.Diagnostics;
using System.IO;
using Microsoft.Win32;
using lexRC5;
namespace lexRSA
{
class MainViewModel : ViewModelBase... | 28.790385 | 120 | 0.461158 | [
"MIT"
] | lexakogut/DataSafetyApps | Lab4/lexRSA/MainViewModel.cs | 14,973 | 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... | 55.925844 | 203 | 0.663396 | [
"Apache-2.0"
] | joshongithub/aws-sdk-net | sdk/src/Services/EventBridge/Generated/_bcl35/AmazonEventBridgeClient.cs | 152,342 | C# |
using UnityEngine;
using System;
//-----------------------------------------------------------------------------
// structure definition
//-----------------------------------------------------------------------------
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
[GenerateHLSL(PackingRules.Exact)]
p... | 24.617647 | 79 | 0.510155 | [
"MIT"
] | ToadsworthLP/Millenium | Library/PackageCache/com.unity.render-pipelines.high-definition@5.10.0-preview/Runtime/RenderPipeline/ShaderPass/ShaderPass.cs | 837 | C# |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// 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 wi... | 33.8 | 80 | 0.731953 | [
"MIT"
] | isse-augsburg/ssharp | SafetySharpTests/Execution/Components/Fields/list.cs | 1,692 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
namespace MovieTheater.Validations
{
public class FileWeightValidation : ValidationAttribute
{
private readonly int maxWeightIn... | 29.647059 | 111 | 0.662698 | [
"MIT"
] | NeshGogo/movie-theater | MovieTheater/Validations/FileWeightValidation.cs | 1,010 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("TestDNetLibrary")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TestDNetLibrary")]
[assembly: Assembly... | 30 | 56 | 0.757143 | [
"MIT"
] | yamanobori-old/DNetLibrary | TestDNetLibrary/Properties/AssemblyInfo.cs | 631 | C# |
using Reception.App.Model.Auth;
using Reception.Model.Interface;
using System.Threading.Tasks;
namespace Reception.App.Network.Auth
{
public interface IUserService
{
AuthenticateResponse AuthData { get; }
public IToken Token { get; }
Task<AuthenticateResponse> Authenticate(Authentica... | 22.894737 | 77 | 0.701149 | [
"MIT"
] | kirichenec/ReceptionNetCore | src/Reception.App.Network/Auth/IUserService.cs | 437 | C# |
#if NETSTANDARD2_0
namespace System.IO
{
using System.Buffers;
/// <summary>
/// Shims for .netstandard 2.0.
/// </summary>
public static class TextWriterExtensions
{
/// <summary>
/// Writes <paramref name="buffer"/> to <paramref name="writer"/>.
/// Just a copy of code that is in .NET Core so .netstandar... | 25.787879 | 77 | 0.654524 | [
"MIT"
] | Michmcb/SectionConfig | src/SectionConfig/Shims/TextWriterExtensions.cs | 853 | 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... | 35.75 | 178 | 0.798601 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementOrStatementStatementAndStatementStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArgumentsGetArgs.cs | 715 | C# |
/*
* The contents of this file are subject to MIT Licence. Please
* view License.txt for further details.
*
* The Original Code was created by Simon Carter (s1cart3r@gmail.com)
*
* Copyright (c) 2015 Simon Carter
*
* Purpose: Simple control for selecting a colour
*
*/
using System;
using System.Colle... | 26.381679 | 105 | 0.540509 | [
"MIT"
] | k3ldar/SharedControls | Controls/ColorSelector.cs | 3,458 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Add one or more voice mail aliases to a users voice message.
/// The response... | 29.193548 | 130 | 0.598343 | [
"MIT"
] | Rogn/broadworks-connector-net | BroadworksConnector/Ocip/Models/UserVoiceMessagingUserAddAliasListRequest.cs | 1,810 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Windows.Forms;
namespace Desktop
{
public partial class WorkspaceControl : UserControl
{
public IWorkspace Workspace { get; set; }
private Dictionary<IActivity, TabPage> _tabs = new Dictionary<IActivity, TabPage>();
private... | 24.601093 | 139 | 0.691248 | [
"MIT"
] | laytonc32/spnati | editor source/Desktop/Controls/WorkspaceControl.cs | 4,504 | C# |
namespace NPatternRecognizer.Interface
{
using System;
using NPatternRecognizer.Common;
[Serializable()]
public class Example
{
#region Fields
private string m_id;
private SparseVector m_X;
private Category m_Label;
// foamliu, 2009/01/03, ... | 17.685393 | 41 | 0.344346 | [
"Apache-2.0"
] | foamliu/NPatternRecognizer | src/NPatternRecognizer/Interface/Example.cs | 1,576 | C# |
using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;
using System.Security.Permissions;
using Microsoft.Win32;
using TestFramework.Run;
using TestFramework.Log;
using TestFramework.Exceptions;
using Holodeck;
using FaultsXMLFramework;
namespace FaultXMLTest
{
/// <summary>
/// Summ... | 28.479167 | 160 | 0.698244 | [
"MIT"
] | SecurityInnovation/Holodeck | Test/Automation/TestingFaultsXML/TestingFaultsXML/FaultXMLTest24.cs | 2,734 | C# |
namespace IDisposableAnalyzers.Test.Helpers
{
using System;
using System.Linq;
using System.Threading;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CSharp;
using NUnit.Framework;
internal class ConstructorsWalkerTests
{
[Test]
public void TwoInternalChained()
... | 32.683168 | 169 | 0.582854 | [
"MIT"
] | AArnott/IDisposableAnalyzers | IDisposableAnalyzers.Test/Helpers/ConstructorsWalkerTests.cs | 3,301 | C# |
using DarkSoulsII.DebugView.Core;
namespace DarkSoulsII.DebugView.Model.Resources.Param.Character
{
public class BossPartsParam : IReadable<BossPartsParam>
{
public BossPartsParam Read(IPointerFactory pointerFactory, IReader reader, int address, bool relative = false)
{
return this;... | 26.076923 | 118 | 0.699115 | [
"MIT"
] | Atvaark/DarkSoulsII.DebugView | DarkSoulsII.DebugView.Model/Resources/Param/Character/BossPartsParam.cs | 339 | C# |
using System;
using System.Diagnostics;
using System.IO;
using Codeer.Friendly.Dynamic;
using Codeer.Friendly.Windows;
using Codeer.Friendly.Windows.Grasp;
using RM.Friendly.WPFStandardControls;
using Tttt.Gui.Windows.Test.Helper;
namespace Tttt.Gui.Windows.Test.Driver
{
internal class AppDriver : IDisposable
... | 28.970149 | 113 | 0.599176 | [
"MIT"
] | YoshihiroIto/Tttt | Tttt/source/Tttt.Gui.Windows.Test/Driver/AppDriver.cs | 1,989 | C# |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using UnityEngine;
using System.Collections;
using System;
using HUX.Focus;
namespace HUX.Receivers
{
/// <summary>
/// Example receiver tha... | 30.271186 | 150 | 0.587346 | [
"MIT"
] | AhmedAldahshoury/HololensApp | DesignLabs_Unity/Assets/MRDesignLab/HUX/Scripts/Receivers/GazeScaleReceiver.cs | 1,786 | C# |
using CompanyName.MyMeetings.Modules.Payments.Application.Contracts;
using MediatR;
namespace CompanyName.MyMeetings.Modules.Payments.Application.Configuration.Queries
{
public interface IQueryHandler<in TQuery, TResult> :
IRequestHandler<TQuery, TResult> where TQuery : IQuery<TResult>
{
}
} | 28.727273 | 83 | 0.772152 | [
"MIT"
] | Allesad/modular-monolith-with-ddd | src/Modules/Payments/Application/Configuration/Queries/IQueryHandler.cs | 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.ComponentModel;
using Pulumi;
namespace Pulumi.AzureNextGen.Resources.V20201001
{
/// <summary>
/// The mode that is used to dep... | 47.616162 | 437 | 0.71224 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Resources/V20201001/Enums.cs | 9,428 | 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("En... | 38.027027 | 84 | 0.746979 | [
"MIT"
] | Hypertyrannical/EnhancedDiscord | installer/EnhancedDiscordUI/Properties/AssemblyInfo.cs | 1,410 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Authorization.Roles;
using Abp.AutoMapper;
using AgentPurchaseManagementPlatform.Authorization.Roles;
namespace AgentPurchaseManagementPlatform.Roles.Dto
{
[AutoMapTo(typeof(Role))]
public class CreateRoleDto
{
... | 27.4 | 58 | 0.678832 | [
"MIT"
] | q397133334/AgentPurchaseManagementPlatform | aspnet-core/src/AgentPurchaseManagementPlatform.Application/Roles/Dto/CreateRoleDto.cs | 822 | C# |
using System;
using Harmony;
using Steamworks;
using UnityEngine;
using BWModLoader;
using Alternion.Structs;
namespace Alternion.SkinHandlers
{
[Mod]
public class weaponSkinHandler : MonoBehaviour
{
/// <summary>
/// WeaponSkinHandler instance
/// </summary>
public static... | 40.529644 | 157 | 0.486249 | [
"MIT"
] | cheesenibbles123/Alternion-BW-mod | Alternion/SkinHandlers/WeaponSkinHandler.cs | 10,322 | C# |
using OpenONVIF.Surveillance.Camera;
using System;
using System.Collections.Generic;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenONVIF.Surveillance.Snapshot
{
internal class SnapshotHandler : IDisposable
{
... | 28.886792 | 124 | 0.600261 | [
"MIT"
] | trembon/OpenONVIF | OpenONVIF.Surveillance/Snapshot/SnapshotHandler.cs | 1,533 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerManager : MonoBehaviour {
public float speedX;
public float jumpSpeedY;
public GameObject firePrefab;
public Transform fireSpawn;
public int score = 0;
... | 22.650794 | 125 | 0.486101 | [
"Apache-2.0"
] | PetrGasparik/Unity.Game.1 | Assets/Scripts/PlayerManager.cs | 4,297 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "TB_HeadlessHorseman_H2d",
"name": [
"暴风城调查员 - 木乃伊",
"Stormwind Investigator Mummy"
],
"text": [
null,
null
],
"cardClass": "NEUTRAL",
"type": "HERO",
"cost": null,
"rarity": null,
"set": "TB",
"collectible": null,
"dbfId": 59196
}
_END_TEMPLATE_ */
n... | 15.185185 | 51 | 0.590244 | [
"MIT"
] | chi-rei-den/Silverfish | cards/TB/TB/Sim_TB_HeadlessHorseman_H2d.cs | 428 | C# |
using System;
[Equals]
public class GuidClass
{
public Guid Key { get; set; }
}
| 11.625 | 34 | 0.602151 | [
"MIT"
] | GeertvanHorrik/Equals | AssemblyToProcess/GuidClass.cs | 88 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 29.771429 | 180 | 0.586052 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/AVS/V20210101Preview/GetDatastore.cs | 3,126 | C# |
// MIT License
//
// Copyright (c) 2019 Jeesu Choi
//
// 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, modify... | 36.763158 | 81 | 0.732999 | [
"MIT"
] | s2quake/JSSoft.Communication | JSSoft.Communication/Logging/ILogger.cs | 1,397 | C# |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... | 27.118182 | 235 | 0.614147 | [
"MIT"
] | zxsean/DCET | Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapDCETModelPlayerComponentWrapWrapWrapWrapWrap.cs | 2,985 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Security.Cryptography.Certificates
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class ChainBuildingParameters
{
#if __ANDROID__ || __IOS_... | 46.92623 | 214 | 0.799127 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Security.Cryptography.Certificates/ChainBuildingParameters.cs | 5,725 | C# |
// package main -- go2cs converted at 2020 October 09 06:03:46 UTC
// Original source: C:\Users\ritchie\go\src\golang.org\x\tools\go\ssa\interp\testdata\initorder.go
using fmt = go.fmt_package;
using static go.builtin;
namespace go
{
public static partial class main_package
{
// Test of initialization ... | 26.514851 | 98 | 0.434279 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/initorder.cs | 2,678 | C# |
using FluentAssertions;
using FullCalendar.Serialization.SerializableObjects;
using FullCalendar.Tests.Mocks;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace FullCalendar.Serialization.Tests
{
[TestFixture]
public class NullPropertiesConverterTests
{
[Test]
... | 38.74359 | 116 | 0.636995 | [
"MIT"
] | HajbokRobert/FullCalendarMVC | FullCalendarMVC/FullCalendar.Tests/Serialization/NullPropertiesConverterTests.cs | 3,024 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenCodeDev.NetCMS.Core.Server.Plugin.Options.Controllers
{
public interface IPluginController : IPluginHookActionController, IPluginHookFilterController
{
bool PluginContain(... | 25.095238 | 97 | 0.749526 | [
"MIT"
] | OpenCodeDev/OpenCodeDev.NetCMS.Core | Server/Plugin/Controllers/IPluginController.cs | 529 | C# |
using System.Threading.Tasks;
using Conflux.JsonRpc.Client;
using Newtonsoft.Json.Linq;
namespace Conflux.Parity.RPC.Trace
{
public interface ITraceTransaction
{
RpcRequest BuildRequest(string transactionHash, object id = null);
Task<JArray> SendRequestAsync(string transactionHash, object id =... | 25.846154 | 80 | 0.741071 | [
"Apache-2.0",
"MIT"
] | NconfluxSDK/Nconflux | src/Nethereum.Parity/RPC/Trace/ITraceTransaction.cs | 338 | C# |
using System.IO;
using Vokabular.DataEntities.Database.Entities.Enums;
namespace Vokabular.MainService.Core.Utils
{
public class AudioEnumHelper
{
public static AudioTypeEnum FileNameToAudioType(string fileName)
{
var extension = Path.GetExtension(fileName)?.ToLower();
... | 27.4 | 72 | 0.525547 | [
"BSD-3-Clause"
] | RIDICS/ITJakub | UJCSystem/Vokabular.MainService.Core/Utils/AudioEnumHelper.cs | 687 | C# |
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace ShippingContainer.Tests
{
/// <summary>
/// Extension methods for controller testing
/// </summary>
public static class ControllerExtensions
{
/// <su... | 35.225806 | 146 | 0.680403 | [
"MIT"
] | gplumb/CertainSix | ShippingContainer/ShippingContainer.Tests/ControllerExtensions.cs | 1,094 | C# |
using System;
namespace csharpdemo
{
class Program
{
static void Main()
{
FizzBuzzExample1.FizzBuzz();
FizzBuzzExample2.FizzBuzz();
FizzBuzzExample3.FizzBuzz();
var i = CalculationExample.NestedCalls();
Console.WriteLine($"NestedCall... | 22.862069 | 56 | 0.559578 | [
"Apache-2.0"
] | swlaschin/pipeline_oriented_programming_talk | csharpdemo/Program.cs | 665 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using Microsoft.ML;
using Microsoft.ML.Sweeper;
[assembly: LoadableClass(typeof(UniformRandomSwe... | 39.567568 | 139 | 0.724727 | [
"MIT"
] | IndigoShock/machinelearning | src/Microsoft.ML.Sweeper/Algorithms/Random.cs | 1,464 | C# |
using EdnaMonitoring.App.Data;
using EdnaMonitoring.Domain.Entities;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EdnaMonitoring.App.Icts.Queries.GetAllActiveIcts
{
public clas... | 29.53125 | 115 | 0.679365 | [
"MIT"
] | nagasudhirpulla/edna_monitoring | src/EdnaMonitoring.App/Icts/Queries/GetAllActiveIcts/GetAllActiveIctsQuery.cs | 947 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Networking.NetworkOperators
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class MobileBroadb... | 48.696429 | 165 | 0.765677 | [
"Apache-2.0"
] | AbdalaMask/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.NetworkOperators/MobileBroadbandModemConfiguration.cs | 2,727 | C# |
using Fitness.SocketClient;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SocketMono : MonoBehaviour {
// Use this for initialization
void Start () {
DontDestroyOnLoad(this.gameObject);
this.InitManager();
}
private void InitManager()
{
... | 19.551724 | 54 | 0.673721 | [
"MIT"
] | Altoid76/Unity3DTraining | NetWorkAndResources/Socket_Protobuff/Assets/Scripts/Socket/SocketMono.cs | 569 | C# |
//
// Copyright (c) Antmicro
// Copyright (c) Bas Stottelaar <basstottelaar@gmail.com>
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using Emul8.Logging;
using Emul8.Peripherals.Bus;
namespace Emul8.Peripherals
{
[AllowedTranslations(AllowedTranslation.... | 55.292208 | 124 | 0.582501 | [
"MIT"
] | basilfx/EFM2RIOT | dist-development/contrib/emul8/EFR32FG13PDeviceInformation.cs | 8,515 | C# |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX - License - Identifier: Apache - 2.0
// snippet-start:[dynamodb.dotnet35.06_UpdatingItem]
using System;
using System.Threading.Tasks;
using Amazon.DynamoDBv2.Model;
namespace GettingStarted
{
public static partial class DdbIntro
{
... | 34.04 | 113 | 0.571093 | [
"Apache-2.0"
] | 1n5an1ty/aws-doc-sdk-examples | dotnet3.5/dynamodb/GettingStarted/06_UpdatingItem.cs | 1,704 | C# |
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class PacmanEditorTarget : TargetRules
{
public PacmanEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
DefaultBuildSettings = BuildSe... | 25.4375 | 79 | 0.744472 | [
"MIT"
] | michal-z/Pacman | Source/PacmanEditor.Target.cs | 407 | C# |
using System;
using System.Collections.Generic;
using System.ServiceModel;
using Fhi.HelseId.Web.Hpr.Core;
using HprServiceReference;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Fhi.HelseId.Web.Hpr
{
public interface IHprFactory
{
IHPR2ServiceChannel? ServiceProx... | 36.179487 | 140 | 0.681432 | [
"MIT"
] | folkehelseinstituttet/fhi.helseid | Fhi.HelseId/Web/Hpr/HprFactory.cs | 2,826 | C# |
namespace SellMe.Web.ViewModels.InputModels.Ads
{
public class AdDetailsInputModel
{
public int Id { get; set; }
}
}
| 17.25 | 48 | 0.644928 | [
"MIT"
] | kriskok95/SellMe | Web/SellMe.Web.ViewModels/InputModels/Ads/AdDetailsInputModel.cs | 140 | 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.
//
// Generated on 2020 October 09 05:40:44 UTC
// </auto-generated>
//--------------... | 32.57971 | 111 | 0.607651 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/cmd/compile/internal/syntax/dumper_localErrorStruct.cs | 2,248 | C# |
using System;
namespace Popcron.Sheets
{
[Serializable]
public class Response
{
public object kind;
}
}
| 11.818182 | 27 | 0.615385 | [
"MIT"
] | popcron/sheets | Popcron.Sheets/Responses/Response.cs | 132 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class addDetails : System.Web.UI.Page
{
connection con = new connection();
protected void Page_Load(object se... | 29.888889 | 132 | 0.593866 | [
"MIT"
] | upmasharma/OnlineLawSystem | addDetails.aspx.cs | 1,078 | C# |
using System;
using DATReader.DatStore;
namespace DATReader.DatClean
{
public static partial class DatClean
{
public static void MakeDatSingleLevel(DatHeader tDatHeader)
{
DatBase[] db = tDatHeader.BaseDir.ToArray();
tDatHeader.Dir = "noautodir";
... | 32.208333 | 84 | 0.402652 | [
"MIT"
] | eingrossfilou/RVWorld | DATReader/DatClean/DatClean.cs | 3,094 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AccountingSystems.Controllers;
using Microsoft.AspNetCore.Mvc;
namespace AccountingSystems.Web.Controllers
{
public class ARReportController : AccountingSystemsControllerBase
{
public IActionResult I... | 22.411765 | 69 | 0.71916 | [
"MIT"
] | CorinthDev-Github/Invoice-and-Accounting-System | aspnet-core/src/AccountingSystems.Web.Mvc/Controllers/ARReportController.cs | 383 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 29.027778 | 112 | 0.660287 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/ServiceFabric/V20160901/Outputs/ClientCertificateThumbprintResponse.cs | 1,045 | C# |
using Claw.Documents;
using Claw.Validation;
using System;
using System.Collections.Generic;
namespace Claw.Commands
{
/// <summary>
/// Represents an action command. This can be a macro or normal key strike.
/// </summary>
public class ActionCommand : Command
{
internal const string ACTIO... | 30.358696 | 179 | 0.586824 | [
"MIT"
] | UserXXX/Claw | ClawLib/Commands/ActionCommand.cs | 2,795 | C# |
namespace vein.cmd;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using compilation;
using project;
using Spectre.Console;
using Spectre.Console.Cli;
public class RestoreCommand : AsyncCommandWithProject<RestoreCommandSettings>
{
publ... | 36.5 | 114 | 0.609304 | [
"MIT"
] | 0xF6/mana_lang | compiler/cmd/RestoreCommand.cs | 3,508 | C# |
using OpenTK.Mathematics;
namespace StarSystemSimulator.Graphics
{
public class Point
{
public readonly Vector3 Position;
public Color4 Color;
readonly Matrix4 objectMatrix;
public Point(Vector3 position, Color4 color, float size = 0.01f)
{
Position = position;
Color = color;
objectMatrix = Ma... | 21.428571 | 92 | 0.751667 | [
"MIT"
] | abc013/StarSystemSimulator | StarSystemSimulator/Graphics/Point.cs | 602 | C# |
namespace MassTransit.GrpcTransport.Fabric
{
using System;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using Context;
using Contexts;
using GreenPipes;
using GreenPipes.Internals.Extensions;
using Util;
public class GrpcQueue :
... | 33.363014 | 141 | 0.585095 | [
"ECL-2.0",
"Apache-2.0"
] | zbarrier/MassTransit | src/Transports/MassTransit.GrpcTransport/Fabric/GrpcQueue.cs | 4,873 | C# |
// File initially copied from
// https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/4d9b3e3bb785a55f73b3029a843f0c0b73cc9ea7/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/Helpers/DocumentBasedFixAllProvider.cs
// Original copyright statement:
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Rese... | 47.391304 | 189 | 0.627339 | [
"MIT"
] | jannesrsa/Meziantou.Analyzer | src/Meziantou.Analyzer/Internals/DocumentBasedFixAllProvider.cs | 5,452 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.IO;
using System.Te... | 42.035836 | 221 | 0.57013 | [
"Apache-2.0"
] | aspnet/DataCommon.SQLite | src/Microsoft.Data.Sqlite.Core/SqliteDataReader.cs | 24,635 | C# |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Configuration;
using Abp.Domain.Uow;
using DevPP.Authorization.Roles;
using DevPP.Authorization.Use... | 30.051282 | 69 | 0.646758 | [
"MIT"
] | ThinkAcademy-BR/DevPP | aspnet-core/src/DevPP.Core/Identity/SignInManager.cs | 1,174 | C# |
using UnityEngine;
public class ManagerScript : MonoBehaviour
{
public static ManagerScript Instance { get; private set; }
public static int Counter { get; private set; }
// Use this for initialization
void Start()
{
Instance = this;
}
public void IncrementCounter()
{
... | 20.892857 | 87 | 0.644444 | [
"MIT"
] | Bhasfe/BoggyBall | Assets/Scripts/ManagerScript.cs | 587 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main()
{
int hours = int.Parse(Console.ReadLine());
int minutes = int.Parse(Console.ReadLine());
minutes += 30;
if (minutes >= 60)
... | 18.464286 | 52 | 0.512573 | [
"MIT"
] | radoslavvv/Programming-Fundamentals-Extended-May-2017 | Labs/02.CSharpConditionalStatementsAndLoops/03.BackInThirtyMinutes/03.BackInThirtyMinutes.cs | 519 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace LadderDemo.GumRuntimes.DefaultForms
{
public partial class DialogBoxRuntime
{
partial void CustomInitialize ()
{
}
}
}
| 16.714286 | 45 | 0.675214 | [
"MIT"
] | coldacid/FlatRedBall | Samples/Platformer/LadderDemo/LadderDemo/GumRuntimes/DefaultForms/DialogBoxRuntime.cs | 234 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 32.794479 | 145 | 0.455617 | [
"Apache-2.0"
] | MiliasBalint/Beadando | MiliasBalint_Beadando/MiliasBalint_Beadando/MainWindow.xaml.cs | 10,815 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Drawing.Text;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AYN.Data.Common.Repositories;
using AYN.Data.Models;
using AYN.Services.Data.Interfaces... | 38.155477 | 139 | 0.652528 | [
"MIT"
] | georgidelchev/AYN- | Services/AYN.Services.Data/Implementations/UsersService.cs | 10,800 | 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;
namespace AspNetCoreIdentity
{
public class Program
{
... | 23.346154 | 61 | 0.667216 | [
"MIT"
] | 4L4M1N/aspnet-core-identity | AspNetCoreIdentity/Program.cs | 607 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ploeh.Samples.Dependency.Lifetime
{
public class XferProductRepository : ProductRepository
{
}
}
| 17.25 | 58 | 0.763285 | [
"MIT"
] | owolp/Telerik-Academy | Module-2/Design-Patterns/Materials/DI.NET/Lifetime/Lifetime/XferProductRepository.cs | 209 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;
public class AdManager : MonoBehaviour, IUnityAdsListener
{
[SerializeField] private bool testMode = true;
public static AdManager Instance;
private GameOverHandler gameOverHa... | 26.102941 | 78 | 0.610704 | [
"MIT"
] | OmerKilicc/Asteroid-Avoider | Assets/Scripts/AdManager.cs | 1,775 | C# |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class RewindTestTarget : TargetRules
{
public RewindTestTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.Add("RewindTest");
}
}
| 21.214286 | 60 | 0.767677 | [
"Apache-2.0"
] | ultratroll/RewindTime | RewindTest/Source/RewindTest.Target.cs | 297 | C# |
namespace CinemaWorld.Data.Models.Enumerations
{
using System.ComponentModel.DataAnnotations;
public enum Resolution
{
Unknown = 0,
HD = 1,
SD = 2,
[Display(Name = "4K")]
FourK = 3,
}
}
| 17.428571 | 48 | 0.553279 | [
"MIT"
] | stanislavstoyanov99/CinemaWorld | src/Data/CinemaWorld.Data.Models/Enumerations/Resolution.cs | 246 | C# |
namespace KSoft.Blam.Blob.Transport
{
partial class BlobTransportStream
{
struct StreamHeader
: IO.IEndianStreamSerializable
{
const int kVersion = 1;
const int kFlags = BlobChunkHeader.kFlagIsHeader;
internal const int kSizeOfData = sizeof(short) + (TypeExtensionsBlam.kTagStringLength+1) ... | 30.293333 | 94 | 0.707746 | [
"MIT"
] | KornnerStudios/KSoft.Blam | KSoft.Blam/Blob/Transport/BlobTransportStreamHeader.cs | 2,274 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.ComponentModel;
namespace WebApp.Config
{
public enum RenderManagerType
{
[Description("Deadline 10")]
Deadline = 0,
[Description("Qube 6.10")]
Qube610 = 1,
[... | 19.137931 | 61 | 0.571171 | [
"MIT"
] | Azure/azure-render-farm-manager | src/AzureRenderHub/AzureRenderHub.WebApp/Config/RenderManagerType.cs | 557 | C# |
using System;
using System.Collections.Generic;
using Xunit;
using Moq;
using SpatialLite.Core;
using SpatialLite.Core.Geometries;
using SpatialLite.Osm.Geometries;
using SpatialLite.Osm;
namespace Tests.SpatialLite.Osm.Geometries {
public class WayTests {
List<Node> _nodes = new List<Node>... | 35.618421 | 122 | 0.591799 | [
"MIT"
] | lukaskabrt/SpatialLITE | src/Tests.SpatialLite.Osm/Geometries/WayTests.cs | 5,416 | C# |
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
namespace Site.Areas.KnowledgeBase.ViewModels
{
public class RelatedArticle
{
public RelatedArticle(string title, string url)
{
Title = title;
Ur... | 19.363636 | 94 | 0.711268 | [
"MIT"
] | Adoxio/xRM-Portals-Community-Edition | Samples/MasterPortal/Areas/KnowledgeBase/ViewModels/RelatedArticle.cs | 426 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <auto-generated>
// Generated using OBeautifulCode.CodeGen.ModelObject (1.0.0.0)
// </auto-generated>
// -----------------------------------------------------------------------------------------... | 69.639607 | 255 | 0.684533 | [
"MIT"
] | OBeautifulCode/OBeautifulCode.CodeGen | OBeautifulCode.CodeGen.ModelObject.Test/ModelTests/Scripted/Comparing/PublicSet/None/ModelComparingPublicSetNoneChild1Test.designer.cs | 134,685 | C# |
using PanteonRemoteTest.Abstract.Managers;
using PanteonRemoteTest.Controllers;
using PanteonRemoteTest.ScriptableObjects;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace PanteonRemoteTest.Managers
{
public class GameManager... | 26.62406 | 95 | 0.572155 | [
"Unlicense"
] | OsmanDDursun/PanteonTest | PanteonTest/Assets/GameFolders/Scripts/Concretes/Managers/GameManager.cs | 3,554 | C# |
using System;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Data;
using DTcms.DBUtility;
using DTcms.Common;
namespace DTcms.DAL
{
public partial class Order
{
public bool Exists(int Id)
{
StringBuilder strSql = new StringBuilder();... | 48.438445 | 426 | 0.530477 | [
"Apache-2.0"
] | LutherW/MTMS | Source/DTcms.DAL/Order.cs | 22,539 | C# |
// Generated on 12/11/2014 19:01:32
using System;
using System.Collections.Generic;
using System.Linq;
using BlueSheep.Common.Protocol.Types;
using BlueSheep.Common.IO;
using BlueSheep.Engine.Types;
namespace BlueSheep.Common.Protocol.Messages
{
public class GameRolePlayGameOverMessage : Message
{
... | 16.6 | 64 | 0.586345 | [
"MIT"
] | Sadikk/BlueSheep | BlueSheep/Common/Protocol/messages/game/context/roleplay/death/GameRolePlayGameOverMessage.cs | 747 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Entities;
using Unity.Transforms;
using AnimationBaker;
using AnimationBaker.Baked;
using AnimationBaker.Components;
using AnimationBaker.Interfaces;
using AnimationBaker.StateMachine;
using AnimationBaker.Systems;... | 30.193548 | 145 | 0.74359 | [
"MIT"
] | zulfajuniadi/Animation-Texture-Baker | Assets/Example/Scripts/StateMachineBootstrap.cs | 2,810 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Web.Http.ModelBinding;
using System.Web.Http.ValueProviders;
namespace System.Web.Http.ApiExplorer
{
public class ParameterSo... | 32.508197 | 133 | 0.650025 | [
"Apache-2.0"
] | Distrotech/mono | external/aspnetwebstack/test/System.Web.Http.Integration.Test/ApiExplorer/Controllers/ParameterSourceController.cs | 1,985 | 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("SharedFunctionalities")]
[assembly: Assem... | 38.222222 | 84 | 0.744913 | [
"MIT"
] | Tvede-dk/c-winforms-componets-collection | winforms-collection/SharedFunctionalities/Properties/AssemblyInfo.cs | 1,379 | C# |
using FluentPOS.Modules.Identity.Core.Abstractions;
using FluentPOS.Modules.Identity.Core.Entities;
using FluentPOS.Modules.Identity.Core.Exceptions;
using FluentPOS.Shared.Core.Constants;
using FluentPOS.Shared.Core.Interfaces.Services;
using FluentPOS.Shared.Core.Settings;
using FluentPOS.Shared.Core.Wrapper;
using ... | 47.799213 | 252 | 0.594185 | [
"MIT"
] | abdul-qadirdeveloper/fluentpos | src/server/Modules/Identity/Modules.Identity.Infrastructure/Services/IdentityService.cs | 12,143 | C# |
namespace TestPlatform
{
partial class FormShowData
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 52.271429 | 144 | 0.650724 | [
"MIT"
] | lab-neuro-comp/Test-Plataform | StroopTest/Views/StroopPages/FormShowData.Designer.cs | 10,979 | C# |
using System;
namespace Oqtane.Shared {
public class Constants {
public static readonly string Version = "3.0.3";
public const string ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,2.0.0,2.0.1,2.0.2,2.1.0,2.2.0,2.3.0,2.3.1,3.0.0,3.0.1,3.0.2,3.0.3";
public const string PackageId = "Oqtane... | 55.150538 | 175 | 0.68025 | [
"MIT"
] | QuasarTechnologies/oqtane.framework | Oqtane.Shared/Shared/Constants.cs | 5,129 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Snapshot.cs" company="WildGums">
// Copyright (c) 2008 - 2016 WildGums. All rights reserved.
// </copyright>
// -----------------------------------------------------------------... | 28.719577 | 125 | 0.47255 | [
"MIT"
] | WildGums/Orc.Snapshots | src/Orc.Snapshots/Models/Snapshot.cs | 5,430 | C# |
namespace DiscordBot{
public interface ILogger
{
void LogLine(string line);
}
} | 16.5 | 34 | 0.626263 | [
"MIT"
] | joefroh/JetsDiscordBot | DiscordBot/ILogger.cs | 99 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeInvoiceItemUpdateOptions
{
[JsonProperty("amount")]
public int? Amount { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("cur... | 23.75 | 64 | 0.622807 | [
"Apache-2.0"
] | HilalRather/stripe.net | src/Stripe.net/Services/InvoiceItems/StripeInvoiceItemUpdateOptions.cs | 572 | C# |
using System;
namespace org.apache.lucene.analysis.path
{
/*
* 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 ... | 44.896861 | 169 | 0.707651 | [
"Apache-2.0"
] | mdissel/lucene.net | src/Lucene.Net.Tests.Analysis.Common/Analysis/Path/TestPathHierarchyTokenizer.cs | 10,014 | C# |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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
//
//... | 29.729167 | 76 | 0.733707 | [
"Apache-2.0"
] | balefrost/CastleProject.Core | src/Castle.Core/DynamicProxy/Generators/Emitters/SimpleAST/ByRefReference.cs | 1,427 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi.Utilities... | 39.59292 | 500 | 0.653554 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/Apigee/V1/GetArchiveDeployment.cs | 4,474 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FantasyData.Soccer.Entities
{
public class Venues : List<Venue> { }
public class Venue
{
public int VenueId { get; set; }
public string Name { get; set; }
p... | 29.928571 | 45 | 0.599045 | [
"MIT"
] | pzadafiya/FantasyDataAPI | Soccer/FantasyData.Soccer.Entities/Venue.cs | 840 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DAL.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Authors",
columns... | 45.129825 | 98 | 0.484062 | [
"MIT"
] | marcvil/VideogameArtGallery | DAL/Migrations/20200914094144_Initial.cs | 12,864 | 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/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
namespace TerraFX.Int... | 28.941176 | 145 | 0.737805 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/d3d12/D3D12_PIPELINE_STATE_FLAGS.cs | 494 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.