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 |
|---|---|---|---|---|---|---|---|---|
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210
{
using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell;
/// <summary>Subnets of the network.</summary>
[System.ComponentModel.TypeConverter(typeof(SubnetTypeConverter))]
public partial class Subnet
{
... | 66.82963 | 357 | 0.690202 | [
"MIT"
] | AverageDesigner/azure-powershell | src/Migrate/generated/api/Models/Api20210210/Subnet.PowerShell.cs | 8,888 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObjectCalisthenics
{
class Withdrawal : Transaction
{
public Withdrawal(Amount amount) : base(amount)
{
}
public override Amount AddTo(Amount givenAmou... | 18.714286 | 56 | 0.638677 | [
"MIT"
] | it-depends/SoftwareCraftmanship | ObjectCalisthenics/Withdrawal.cs | 395 | C# |
using System.Resources;
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.
[asse... | 39.075 | 136 | 0.75048 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470 | Source/Krypton Toolkit Suite Extended/Applications/Palette Creator/Properties/AssemblyInfo.cs | 1,566 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Grabacr07.KanColleWrapper;
using Grabacr07.KanColleWrapper.Models;
using Livet;
using Livet.EventListeners;
using LvChartPlugin.Settings;
namespace LvChartPlugin.ViewModels
{
public class ChartWindowViewModel : ViewModel
{
#regio... | 30.747664 | 136 | 0.521884 | [
"MIT"
] | veigr/LevelChartPlugin | LvChartPlugin/ViewModels/ChartWindowViewModel.cs | 6,726 | C# |
using Mono.Cecil.Cil;
namespace Stratis.SmartContracts.Executor.Reflection.ILRewrite
{
public class ObserverRewriterContext
{
public ObserverReferences Observer { get; }
public VariableDefinition ObserverVariable { get; }
public ObserverRewriterContext(ObserverReferences observer, Va... | 26.388889 | 104 | 0.696842 | [
"MIT"
] | DennisAMenace/X42-FullNode | src/Stratis.SmartContracts.Executor.Reflection/ILRewrite/ObserverRewriterContext.cs | 477 | C# |
using System;
using System.Collections.Generic;
namespace DataAccess.Model
{
public partial class Track
{
public Track()
{
InvoiceLine = new HashSet<InvoiceLine>();
PlaylistTrack = new HashSet<PlaylistTrack>();
}
public int TrackId { get; set; }
... | 31.516129 | 77 | 0.597748 | [
"MIT"
] | 2006-jun15-net/asher-code | ChinookApp/DataAccess/Model/Track.cs | 979 | C# |
using System.Web.Mvc;
using EpiCustomRendering.Models.Pages;
using EpiCustomRendering.Models.ViewModels;
using EPiServer.Web.Routing;
namespace EpiCustomRendering.Business
{
/// <summary>
/// Intercepts actions with view models of type IPageViewModel and populates the view models
/// Layout and Section pro... | 36.107143 | 134 | 0.628586 | [
"Apache-2.0"
] | stormid/Episerver-conventional-rendering | EpiCustomRendering/Business/PageContextActionFilter.cs | 2,022 | C# |
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Newtonsoft.Json;
namespace EInfrastructure.Core.AliYun.DaYu.Model.SendSms
{
/// <summary>
/// 发送语音短信信息
/// </summary>
internal class SendVoiceSmsRespon... | 25.305556 | 99 | 0.592755 | [
"MIT"
] | Hunfnfmvkvllv26/System.Extension.Core | src/Sms/AliDaYu/src/EInfrastructure.Core.AliYun.DaYu/Model/SendSms/SendVoiceSmsResponseDto.cs | 957 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Store
{
public interface IBookRepository
{
Book[] GetAllByTitle(string titlePart);
}
}
| 16.785714 | 47 | 0.72766 | [
"Unlicense"
] | GrimFatum/store | domain/Store/IBookRepository.cs | 237 | 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: AssemblyTi... | 38.459459 | 85 | 0.724526 | [
"MIT"
] | glueckkanja/dirlink | Properties/AssemblyInfo.cs | 1,426 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Workshell.OpenMcdf.Extensions.OLEProperties.Interfaces;
namespace Workshell.OpenMcdf.Extensions.OLEProperties
{
internal class DictionaryProperty : IDictionaryProperty
{
private int codePage;
public Dict... | 24.128205 | 74 | 0.494155 | [
"MIT"
] | Workshell/file-formats | src/FileFormats/OpenMcdf/Extensions/OLEProperties/DictionaryProperty.cs | 1,884 | 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.Reflection;
using System.Diagnostics.CodeAnalysis;
namespace System.Text.Json.Serialization.Converter... | 33.810811 | 123 | 0.657074 | [
"MIT"
] | 06needhamt/runtime | src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Value/EnumConverterFactory.cs | 1,253 | C# |
using UnityEngine;
// This class implements simple ghosting type Motion Blur.
// If Extra Blur is selected, the scene will allways be a little blurred,
// as it is scaled to a smaller resolution.
// The effect works by accumulating the previous frames in an accumulation
// texture.
namespace UnitySampleAssets.Image... | 37.628571 | 116 | 0.601367 | [
"MIT"
] | DavidLibeau/Delphinarium-Unity | Assets/Store/Standard Assets/Effects/ImageEffects (Pro Only)/Scripts/MotionBlur.cs | 2,634 | C# |
/*
* This file is automatically generated; any changes will be lost.
*/
#nullable enable
#pragma warning disable
using NTangle.Cdc;
using NTangle.Data;
using System.Collections.Generic;
using System.Data;
namespace SqlServerDemo.Publisher.Data
{
/// <summary>
/// Provides the <see cref="IdentifierMapping{... | 29.37931 | 114 | 0.690141 | [
"MIT"
] | Avanade/NTangle | samples/SqlServerDemo/SqlServerDemo.Publisher/Data/Generated/IdentifierMappingMapper.cs | 852 | 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... | 34.90991 | 139 | 0.618323 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/ECS/Generated/Model/Internal/MarshallTransformations/ListClustersRequestMarshaller.cs | 3,875 | C# |
using System;
using System.Linq;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
namespace WebApiContrib.Core.Versioning
{
/// <summary>
/// This version strategy gets its version from the <c>Accept</c>-header, using a faceted sub-type.
/// </summary>
public class AcceptHeader... | 26.770492 | 103 | 0.524801 | [
"MIT"
] | DevX-Realtobiz/WebAPIContrib.Core | src/WebApiContrib.Core.Versioning/Strategies/AcceptHeaderFacetVersionStrategy.cs | 1,635 | C# |
using RimWorld;
using AbilityUser;
using Verse;
namespace TorannMagic
{
public class Verb_DismissEarthSprites : Verb_UseAbility
{
protected override bool TryCastShot()
{
bool flag = false;
CompAbilityUserMagic comp = this.CasterPawn.GetComp<CompAbilityUserMagic>();
... | 25.621622 | 88 | 0.492616 | [
"BSD-3-Clause"
] | Evyatar108/TMagic-Optimized | Source/TMagic/TMagic/Verb_DismissEarthSprites.cs | 950 | C# |
using System;
using CodeMill.VMFirstNav;
using System.ComponentModel;
using Xamarin.Forms;
namespace VMFirstNav.Demo
{
public class NormalChildTwoViewModel : IViewModel, INotifyPropertyChanged
{
INavigationService _navService;
public NormalChildTwoViewModel()
{
Title = "Normal Two";
_navService... | 19 | 104 | 0.694508 | [
"MIT"
] | codemillmatt/codemill.vmfirstnav | VMFirstNav.Demo/ViewModels/Normal/NormalChildTwoViewModel.cs | 876 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Framework.Pipeline.GameWorldObjects;
using Framework.Pipeline.Geometry;
using Framework.Pipeline.Geometry.Interactors;
namespace Framework.Pipeline.Standard.PipeLineSteps.TrialCellularAutomata.Steps
{
public class TrialCaCellInitialisationSt... | 39.62931 | 147 | 0.623015 | [
"MIT"
] | OrganicaWild/OrganicaWild | Framework/Pipeline/Standard/PipeLineSteps/TrialCellularAutomata/Steps/TrialCaCellInitialisationStep.cs | 4,599 | 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... | 36.871429 | 166 | 0.606935 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/AutoScaling/Generated/Model/Internal/MarshallTransformations/DeleteTagsResponseUnmarshaller.cs | 5,162 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileRemover
{
class Program
{
static void Main(string[] args)
{
String folderNames = File.ReadAllText("FolderNa... | 36.6 | 160 | 0.499425 | [
"MIT"
] | GeekMasterX/File-Remover | FileRemover/Program.cs | 6,956 | C# |
using System;
namespace Terraria.GameContent.UI
{
// Token: 0x02000126 RID: 294
public class WiresUI
{
// Token: 0x170000B5 RID: 181
public static bool Open
{
// Token: 0x06000B50 RID: 2896 RVA: 0x001FAF53 File Offset: 0x001F9153
get
{
return WiresUI.radial.active;
}
}
/... | 25.68595 | 204 | 0.634813 | [
"MIT"
] | BloodARG/tModLoaderTShock | TShock-general-devel/TerrariaServerAPI/Terraria/GameContent/UI/WiresUI.cs | 2,990 | C# |
using Root.Coding.Code.Domains.E01D;
using Root.Coding.Code.Models.E01D.Base.Cli.Metadata.Conceptual.Elements;
namespace Root.Coding.Code.Api.E01D.Base.Cli.Metadata.Conceptual.Elements
{
public class ConceptualIndexerApi: ConceptualMemberVisbilityBaseApi
{
/// <summary>
/// Gets whether the in... | 33.73913 | 85 | 0.594502 | [
"Apache-2.0"
] | E01D/Base | src/E01D.Base.Cli.Metadata.Conceptual.Api/Coding/Code/Api/E01D/Base/Cli/Metadata/Conceptual/Elements/ConceptualIndexerApi.cs | 2,330 | C# |
using UnityEngine;
using SanAndreasUnity.Importing.Animation;
namespace SanAndreasUnity.Behaviours.Weapons
{
public class DesertEagle : Weapon
{
public override AnimId IdleAnim {
get {
return new AnimId (AnimGroup.WalkCycle, AnimIndex.Idle);
}
}
public override AnimId WalkAnim {
get {
ret... | 18.791667 | 70 | 0.694013 | [
"MIT"
] | Bigbossbro08/SanAndreasUnity | Assets/Scripts/Behaviours/Weapons/DesertEagle.cs | 904 | C# |
using SteamKit2;
namespace SteamKit2X2.Internal.SteamAPI
{
internal sealed class ISteamEconomy
{
/// <summary>
///
/// </summary>
/// <param name="appid">Must be a steam economy app.</param>
/// <param name="class_count">Number of classes requested. Must be at least on... | 40.875 | 176 | 0.580275 | [
"MIT"
] | Scillman/SteamAchievementsViewer | SteamAchievementsViewer/SteamKit2X2/Internal/SteamAPI/ISteamEconomy.cs | 2,618 | C# |
using System;
class FibonacciNumbers
{
static void Main()
{
var n = int.Parse(Console.ReadLine());
long result = GetFibNum(n);
Console.WriteLine(result);
}
private static int GetFibNum(int n)
{
var fi1 = 1;
var fi2 = 0;
var nextNumber = 0;
... | 18.576923 | 46 | 0.469979 | [
"MIT"
] | V-Uzunov/Soft-Uni-Education | 02.ProgrammingFundamentalsC#/05.MethodsAndDebuggingExercise/05.FibonacciNumbers/FibonacciNumbers.cs | 485 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
namespace Microsoft.AspNet.SignalR.Hubs
{
public interface IJavaScriptProxyGenerator
{
string GenerateProxy(string serviceUrl);
}
}
| 28.6 | 132 | 0.748252 | [
"Apache-2.0"
] | AlaShiban/SignalR | src/Microsoft.AspNet.SignalR.Core/Hubs/IJavaScriptProxyGenerator.cs | 288 | 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("Se... | 37.486486 | 84 | 0.743331 | [
"Apache-2.0"
] | anovkova/BoardingHouse | Service/Properties/AssemblyInfo.cs | 1,390 | C# |
using System.ComponentModel.DataAnnotations;
namespace TestAuth01.Models.AccountViewModels
{
public class ForgotPasswordViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
}
} | 22.090909 | 46 | 0.654321 | [
"Apache-2.0"
] | marcogazzola/TestAuth01 | Models/AccountViewModels/ForgotPasswordViewModel.cs | 245 | C# |
using Mzg.Module.Abstractions;
using System;
namespace Mzg.Business.DataAnalyse.Visualization
{
/// <summary>
/// 模块描述
/// </summary>
public class ModuleEntry : IModule
{
public string Name
{
get
{
return ChartDefaults.ModuleName;
... | 26.051282 | 82 | 0.525591 | [
"MIT"
] | lygwys/dlvm_lygwys | Libraries/Business/Mzg.Business.DataAnalyse/Visualization/ModuleEntry.cs | 1,026 | C# |
using System;
using Windows.UI.Xaml;
namespace UnoAutomatedTestsApp.Wasm
{
public class Program
{
private static App _app;
static int Main(string[] args)
{
Windows.UI.Xaml.Application.Start(_ => _app = new App());
return 0;
}
}
}
| 16.777778 | 69 | 0.562914 | [
"MIT"
] | PacktPublishing/Creating-Cross-Platform-C-Sharp-Applications-with-Uno-Platform | Chapter07/UnoAutomatedTestsApp.Wasm/Program.cs | 304 | C# |
using Core;
using LykkeWalletServices;
using NBitcoin;
using NBitcoin.OpenAsset;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using static LykkeWalletServices.OpenAssetsHelpe... | 41.047826 | 121 | 0.590721 | [
"MIT"
] | LykkeCity/WalletBackEnd | Tests/SwapTests.cs | 9,443 | C# |
using System.Text.Json.Serialization;
namespace AzureMapsToolkit.Spatial
{
public class PointInPolygonResult
{
/// <summary>
/// Geometries array
/// </summary>
[JsonPropertyName("intersectingGeometries")]
public string[] IntersectingGeometries { get; set; }
//... | 26.157895 | 60 | 0.605634 | [
"MIT"
] | anaratz/AzureMapsRestServices | AzureMapsRestToolkit/AzureMapsRestToolkit/Spatial/PointInPolygonResult.cs | 499 | C# |
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
namespace Adxstudio.Xrm.Web.UI.JsonConfiguration
{
/// <summary>
/// Override the column display name and width.
/// </summary>
public interface IViewCol... | 23.333333 | 94 | 0.655556 | [
"MIT"
] | Adoxio/xRM-Portals-Community-Edition | Framework/Adxstudio.Xrm/Web/UI/JsonConfiguration/IViewColumn.cs | 630 | C# |
using CommunityToolkit.WinUI.UI.Controls;
using Microsoft.UI;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using Windows.Storage;
using Windows.System;... | 40.695833 | 264 | 0.530664 | [
"MIT"
] | CanTalat-Yakan/3D_Engine-WinUI3 | WinUI3DEngine/WinUI3DEngine/WinUI3DEngine/Assets/Controls/COutput.cs | 9,769 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StrongPlate.App.Services
{
public interface IFrameNavigation
{
void NavigateToFrame(Type frameType);
void NavigateBack();
}
}
| 18.8 | 45 | 0.72695 | [
"MIT"
] | pxlit-projects/entmob2016_10 | UWP2/StrongPlate.App/StrongPlate.App/Services/IFrameNavigation.cs | 284 | C# |
using Abstract_Car_Example.Entities.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abstract_Car_Example.Entities.Concrete
{
public class Car : BaseEntity
{
//car entities created
public stri... | 21.3125 | 70 | 0.570381 | [
"MIT"
] | kadir-code/OOP_Applications | Abstraction/Abstract_Car_Example/Abstract_Car_Example/Entities/Concrete/Car.cs | 684 | C# |
namespace Specifications4Net
{
public interface ISpecificationBuilder<T>
{
ISpecificationBuilder<T> Property(string property,string filterOperator,object value);
}
}
| 20.888889 | 94 | 0.739362 | [
"MIT"
] | ckalan/Spec4Net | src/Specifications4Net/ISpecificationBuilder.cs | 190 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading;
using Microsoft.CodeAnalysis.Operations;
using Microsoft.CodeAnalysis.Text;
namesp... | 54.278057 | 280 | 0.669532 | [
"Apache-2.0"
] | DaiMichael/roslyn | src/Compilers/Core/Portable/DiagnosticAnalyzer/DiagnosticAnalysisContext.cs | 64,810 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using DreamBuilder.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Mic... | 38.174825 | 154 | 0.576113 | [
"MIT"
] | MiroslavaPetrova/DreamBuilder | DreamBuilder/Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs | 5,461 | C# |
namespace Attributes.Modifiers.BaseValueModifiers
{
public class AdditionBaseModifier : BaseModifier<float>
{
public float AdditionValue;
public AdditionBaseModifier()
{
Order = 0;
}
public override float CalculateValue(float baseValue)
{
... | 23.25 | 61 | 0.604839 | [
"MIT"
] | NikitaHerndlhofer/Attributes | Modifiers/BaseValueModifiers/AdditionBaseModifier.cs | 374 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SMBMessageParser.Models.NetworkStruct.Create
{
[Flags]
public enum ShareAccessFlags : uint
{
None = 0,
ShareRead = 0x00000001,
ShareWrite = 0x00000002,
ShareDelete = 0x00000004,
}
static cl... | 24.394737 | 93 | 0.539374 | [
"MIT"
] | tlsnns/NTLMClient | NTLMTest/SMBMessageParser/Models/NetworkStruct/Create/ShareAccessFlags.cs | 929 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MyIP
{
public interface IMyIPClient
{
#region Methods
MyIPResponse Get();
Task<MyIPResp... | 25.948864 | 134 | 0.425224 | [
"BSD-3-Clause"
] | Workshell/myip-dotnet | src/MyIP.Client/MyIPClient.cs | 4,569 | C# |
using System;
using System.Collections.Generic;
using Zpp.DataLayer.impl.WrappersForCollections;
namespace Zpp.Util.Graph.impl
{
public sealed class Nodes : CollectionWrapperWithStackSet<INode>, INodes
{
public Nodes(IEnumerable<INode> list)
{
AddAll(list);
}
public... | 20.422222 | 76 | 0.479869 | [
"Apache-2.0"
] | MaxWeickert/ng-erp-4.0 | Zpp/Utils/Graph/impl/Nodes.cs | 919 | C# |
using SuperMemoAssistant.Interop.SuperMemo.Content.Components;
using SuperMemoAssistant.Interop.SuperMemo.Content.Models;
using SuperMemoAssistant.Interop.SuperMemo.Registry.Members;
using SuperMemoAssistant.SuperMemo.SuperMemo17.Files;
namespace SuperMemoAssistant.SuperMemo.SuperMemo17.Content.Components
{
public c... | 33.341463 | 93 | 0.709583 | [
"MIT"
] | leowalkling/SuperMemoAssistant | src/Core/SuperMemoAssistant.Core/SuperMemo/SuperMemo17/Content/Components/ComponentHtml.cs | 1,367 | 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 UsageSampleMvc.AspNetCore
{
public class Program... | 24.84 | 76 | 0.698873 | [
"MIT"
] | TormentorMaharaj/stuntman | samples/UsageSampleMvc.AspNetCore/Program.cs | 623 | C# |
using System;
using FlightNode.Common.BaseClasses;
namespace FlightNode.DataCollection.Domain.Entities
{
/// <summary>
/// Models the results of running the view "WaterbirdForagingExport"
/// </summary>
public class RookeryCensusExportItem : IEntity
{
/// <summary>
/// Gets or sets... | 30.108949 | 84 | 0.540579 | [
"MIT"
] | FlightNode/FlightNode.Api | DataCollection/src/Domain/Entities/RookeryCensusExportItem.cs | 7,740 | C# |
using System;
using System.Collections.Generic;
class LongestCommonSubsequence
{
const int NOT_CALCULATED = -1;
static string firstStr = "xabcxxxx";
static string secondStr = "abcxxyxabcx";
static int[,] lcs = new int[firstStr.Length, secondStr.Length];
static void Main()
{
InitializeLCS();
CalcLCS(firstS... | 21.2125 | 64 | 0.531526 | [
"MIT"
] | Supbads/Softuni-Education | 06 Algorithms 04.16/Demos/4. Dynamic-Programming-Demos/LongestCommonSubsequence/LongestCommonSubsequence.cs | 1,699 | C# |
using System;
namespace Eto.Drawing
{
/// <summary>
/// Wrap mode for a gradient
/// </summary>
/// <copyright>(c) 2012-2014 by Curtis Wensley</copyright>
/// <license type="BSD-3">See LICENSE for full terms</license>
public enum GradientWrapMode
{
/// <summary>
/// The start and end colors fill beyond the ... | 34.386364 | 162 | 0.683245 | [
"BSD-3-Clause"
] | AkiSakurai/Eto | src/Eto/Drawing/LinearGradientBrush.cs | 6,052 | C# |
using System;
using System.Collections.Generic;
using Itinero.Transit.Data;
using Itinero.Transit.Data.Core;
using Itinero.Transit.Data.Synchronization;
using Itinero.Transit.Utils;
namespace Itinero.Transit.Api.Logic.Importance
{
public class ImportanceCounter : ISynchronizationPolicy
{
public uint Fr... | 30.085366 | 83 | 0.549655 | [
"MIT"
] | anyways-open/itinero-transit-server | src/Itinero.Transit.Api/Logic/Importance/ImportanceCounter.cs | 2,467 | C# |
using System;
using System.Collections.Generic;
namespace IListExtension
{
internal sealed class FunctorComparer<T> : IComparer<T>
{
Comparison<T> comparison;
public FunctorComparer(Comparison<T> comparison)
{
this.comparison = comparison;
}
public int Co... | 20 | 59 | 0.5825 | [
"MIT"
] | Emilien-M/IListExtension | src/IListExtension/FunctorComparer.cs | 400 | 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... | 32.829545 | 195 | 0.59242 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20180401/GetPublicIPAddress.cs | 5,778 | C# |
using Mobile_RSS_Reader.UI.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Mobile_RSS_Reader.UI.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class HomePage : ContentPage
{
private readonly HomePageViewModel _model;
public HomePage(HomePageV... | 26.527778 | 108 | 0.645026 | [
"MIT"
] | viktor-zaika/Mobile-RSS-Reader | Mobile-RSS-Reader/Mobile_RSS_Reader/UI/Views/HomePage.xaml.cs | 957 | C# |
using UnityEngine;
using System.Collections;
using EPPZ.Geometry;
using EPPZ.Lines;
public class TestScene_01_Controller : MonoBehaviour
{
// 01 Polygon-segment intersection
public Material polygonMaterial;
public Material passingMaterial;
public PolygonSource polygonSource;
public SegmentSource segmentSou... | 24.686275 | 78 | 0.792693 | [
"MIT"
] | eppz/Deprecated.Unity.Library.eppz | Geometry/Scenes/Controllers/TestScene_01_Controller.cs | 1,261 | 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.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace System.Linq
{
... | 57.606613 | 344 | 0.718196 | [
"MIT"
] | 939481896/dotnet-corefx | src/System.Linq.Queryable/src/System/Linq/CachedReflection.cs | 50,523 | C# |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, inclu... | 38.3 | 123 | 0.599403 | [
"Apache-2.0"
] | Hitcents/iOS4Unity | Assets/NUnitLite/NUnitLite-0.7.0/Constraints/ThrowsConstraint.cs | 5,362 | 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 may not ... | 35.070513 | 121 | 0.599525 | [
"MIT"
] | 0x0L/parquet-dotnet | src/Thrift/Transports/Server/TTlsServerSocketTransport.cs | 5,471 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayDataIotdataAnomalydetectionBaiVerifyModel Data Structure.
/// </summary>
[Serializable]
public class AlipayDataIotdataAnomalydetectionBaiVerifyModel : AopObject
{
/// <summary>
/// b... | 26.162791 | 76 | 0.572444 | [
"Apache-2.0"
] | Varorbc/alipay-sdk-net-all | AlipaySDKNet/Domain/AlipayDataIotdataAnomalydetectionBaiVerifyModel.cs | 1,253 | C# |
// Copyright (c) Isaiah Williams. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter
{
using System;
/// <summary>
/// Holds common partner component properties and behavior. All components sho... | 42.742857 | 112 | 0.668449 | [
"MIT"
] | erickbp/partner-center-dotnet | src/PartnerCenter/BasePartnerComponent.cs | 1,498 | 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("Bin... | 37.621622 | 84 | 0.747845 | [
"MIT"
] | ztimofeev/Programming_Fundamentals_SoftUni-repo | Ext_7.ArrayAndListAlgorithms/BinarySearch/Properties/AssemblyInfo.cs | 1,395 | C# |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 43.779221 | 107 | 0.692969 | [
"Apache-2.0"
] | Energinet-DataHub/geh-metering-point | source/Energinet.DataHub.MeteringPoints.IntegrationTests/TransportTests.cs | 3,373 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http... | 37.285714 | 109 | 0.597701 | [
"MIT"
] | AzureDataBox/azure-powershell | src/ResourceManager/Network/Stack/Commands.Network/PublicIpAddress/RemoveAzurePublicIpAddressCommand.cs | 2,543 | C# |
using System;
using OpenTK.Graphics.OpenGL;
using OpenTKGLUT;
using System.Drawing;
namespace Dibuixos.GameObjects
{
public class TitleFontStrokeRender : Core.IRenderFrame
{
public float X { get; set; }
public float Y { get; set; }
public float Width { get; set; }
public float ... | 26.6 | 127 | 0.544087 | [
"Apache-2.0"
] | bugbit/mathematical-drawings | OpenTK/Dibuixos/Dibuixos/Dibuixos/GameObjects/TitleFontStrokeRender.cs | 1,465 | 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.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Sockets;
using System.Text;
using System... | 45.182156 | 135 | 0.603999 | [
"MIT"
] | JetBrains/corefx | src/System.Net.HttpListener/tests/HttpRequestStreamTests.cs | 24,308 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 39.481481 | 153 | 0.597561 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IServiceUpdateMessageAttachmentsArchiveRequestBuilder.cs | 1,066 | C# |
using Amazon.Lambda;
using Amazon.Lambda.Core;
using Amazon.Lambda.SQSEvents;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Api
{
public class NotificationProcessor
{
public string FunctionHandler(SQSEvent sQSEvent,ILambdaContext lambdaConte... | 23 | 85 | 0.704348 | [
"Apache-2.0"
] | satish860/Notify | notify/src/Api/NotificationProcessor.cs | 462 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace StringToStringAnalyzer
{
[... | 44.378788 | 200 | 0.724138 | [
"MIT"
] | t-johnson/StringToStringAnalyzer | StringToStringAnalyzer/StringToStringAnalyzer/DiagnosticAnalyzer.cs | 2,929 | C# |
using Basket.Api.GrpcServices;
using Basket.Api.Repositories;
using Discount.Grpc.Protos;
using MassTransit;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microso... | 33.0375 | 106 | 0.602346 | [
"MIT"
] | IslamHelmy2030/AspnetMicroservices | src/Services/Basket/Basket.Api/Startup.cs | 2,643 | C# |
// https://docs.microsoft.com/en-us/visualstudio/modeling/t4-include-directive?view=vs-2017
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Bot.Builder.Solutions.Responses;
namespace PhoneSkill.Responses.Main
{
/// <summary>
/// Contains bot res... | 38.26087 | 92 | 0.710227 | [
"MIT"
] | Damarus999/botframework-solutions | skills/src/csharp/phoneskill/phoneskill/Responses/Main/PhoneMainResponses.cs | 882 | C# |
using NetOffice.Attributes;
namespace NetOffice.OutlookApi.Enums
{
/// <summary>
/// SupportByVersion Outlook 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff869338.aspx </remarks>
[SupportByVersion("Outlook", 12, 14, 15, ... | 32.757576 | 121 | 0.582794 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | ehsan2022002/VirastarE | Office/Outlook/Enums/OlRuleExecuteOption.cs | 1,083 | C# |
namespace MusicHub.Data
{
public static class Configuration
{
public static string ConnectionString =
@"Server=PIROMAN\SQLEXPRESS2019;Database=MusicHub;Trusted_Connection=True";
}
}
| 23.777778 | 87 | 0.700935 | [
"MIT"
] | pirocorp/Databases-Advanced---Entity-Framework | 14. Exams/C# DB Advanced Exam Retake - 18 Apr 2019/MusicHub/Data/Configuration.cs | 216 | C# |
//
// Copyright (c) Antmicro
// Copyright (c) Realtime Embedded
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using System;
using Emul8.Peripherals;
namespace Emul8.Peripherals.Input
{
public interface IInputDevice : IPeripheral
{
}
}
| 17.277778 | 58 | 0.70418 | [
"MIT"
] | AntonKrug/emul8-modded | Emulator/Main/Peripherals/Input/IInputDevice.cs | 311 | C# |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using NewRelic.Core.Logging;
using NewRelic.SystemExtensions.Collections.Generic;
namespace NewRelic.Agent.Core.Commands
{
public class ThreadProfilerCommandArgs
{
... | 40 | 171 | 0.644207 | [
"Apache-2.0"
] | JoshuaColeman/newrelic-dotnet-agent | src/Agent/NewRelic/Agent/Core/NewRelic.Agent.Core.Commands/ThreadProfilerCommandArgs.cs | 3,280 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ColorWars.ViewModels.Account
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[EmailAddress]
public string Email { get; ... | 20.9375 | 51 | 0.725373 | [
"MIT"
] | DiglidiDudeNG/ColorWars | ViewModels/Account/ExternalLoginConfirmationViewModel.cs | 337 | C# |
using System;
using Assertion;
using Lemonad.ErrorHandling.Extensions;
using Xunit;
namespace Lemonad.ErrorHandling.Unit.Maybe.Tests {
public class FlattenTests {
[Fact]
public void
Flattening_From_String_Maybe_With_No_Value_To_Maybe_Int_With_No_Value__Expects_String_Maybe_With_Value()... | 39.047619 | 118 | 0.659146 | [
"MIT"
] | inputfalken/Lemonad | test/Lemonad.ErrorHandling.Unit/Maybe.Tests/FlattenTests.cs | 1,642 | C# |
using System.Globalization;
using System.Resources;
using System.Threading;
namespace dCForm.Util.Xsd
{
internal sealed class Res
{
internal const string Logo = "Logo";
internal const string HelpDescription = "HelpDescription";
internal const string HelpUsage = "HelpUsage";
i... | 30.441989 | 108 | 0.620508 | [
"Apache-2.0"
] | superbee66/dcForm | dcForm/Util/Xsd/Res.cs | 5,510 | C# |
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace CSharpier
{
public partial class Printer
{
private Doc PrintBaseTypeDeclarationSyntax(
BaseTypeDeclarationSyntax node)
{
ParameterL... | 35.058824 | 92 | 0.505453 | [
"MIT"
] | askazakov/csharpier | Src/CSharpier/PrinterHelpers/BaseTypeDeclarationSyntax.cs | 4,768 | 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 ... | 18.694118 | 63 | 0.647577 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDocIndexTaskResponse.cs | 1,589 | 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/d2d1helper.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
namespace TerraF... | 36.8 | 152 | 0.643634 | [
"MIT"
] | Ethereal77/terrafx.interop.windows | sources/Interop/Windows/um/dcommon/D2D_SIZE_U.Manual.cs | 1,290 | C# |
#region Copyright (c) 2006-2019 nHydrate.org, All Rights Reserved
// -------------------------------------------------------------------------- *
// NHYDRATE.ORG *
// Copyright (c) 2006-2019 All Rights reserved *
// ... | 48.411765 | 224 | 0.554808 | [
"MIT"
] | mtgibbs/nHydrate | Source/nHydrate.DslPackage/Forms/RegistrationForm.cs | 23,044 | C# |
using EDlib.Platform;
using System;
using System.Runtime.Serialization;
namespace EDlib
{
/// <summary>Represents errors from an API.</summary>
[Preserve(AllMembers = true)]
[Serializable]
public class APIException : Exception
{
/// <summary>The error code from the API if available.</summa... | 62.52 | 217 | 0.692258 | [
"MIT"
] | irongut/EDlib | src/EDlib/Exceptions/APIException.cs | 3,128 | C# |
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace NitraLibSodium
{
public unsafe partial class Utils
{
public partial struct __Internal
{
[SuppressUnmanagedCodeSecurity]
[DllImport("libsodium", CallingConvention = global::Sy... | 48.743682 | 240 | 0.643164 | [
"MIT"
] | nitrachain/NitraLibSodium | NitraLibSodium/Utils.cs | 13,504 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace src.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{... | 29.35 | 111 | 0.577513 | [
"MIT"
] | robertoosantos/ConfigurableAPI | src/Controllers/WeatherForecastController.cs | 1,176 | C# |
/*
Copyright (C) 2008, 2009 Siarhei Novik (snovik@gmail.com)
This file is part of QLNet Project https://github.com/amaggiulli/qlnet
QLNet is free software: you can redistribute it and/or modify it
under the terms of the QLNet license. You should have received a
copy of the license along with this program; if n... | 37.584906 | 99 | 0.643323 | [
"BSD-3-Clause"
] | SalmonTie/QLNet | src/QLNet/Termstructures/Yield/ForwardStructure.cs | 3,986 | C# |
namespace SyncPro
{
using System;
public enum TriggerScheduleInterval
{
Undefined,
Hourly,
Daily,
Weekly,
Monthly
}
[Flags]
public enum WeeklyDays
{
None = 0x00,
Sunday = 0x01,
Monday = 0x02,
Tuesday = 0x04,
We... | 20.827586 | 78 | 0.541391 | [
"MIT"
] | HighEncryption/SyncPro | SyncPro.Core/TriggerScheduleInterval.cs | 604 | C# |
#pragma checksum "C:\git\NoteSystem\NetNotes.Ui.Blazor\Pages\Index.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0470d0a31d8e01cd88a6803e26589b23f5a818a9"
// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#pragma warning disable 0169
namespace NetNotes.Ui.Bl... | 25.823129 | 157 | 0.76765 | [
"MIT"
] | TimPurdum/NetNotes | NetNotes.Ui.Blazor/obj/Debug/netcoreapp3.1/RazorDeclaration/Pages/Index.razor.g.cs | 3,796 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundEffect : MonoBehaviour
{
public AudioSource click;
public AudioSource error;
public AudioSource quiz;
public enum SOUND_TYPE { PICK, ERROR, QUIZ };
public bool enable;
// Start is called before the... | 20.980392 | 52 | 0.514019 | [
"BSD-3-Clause"
] | huzhanbo1996/The-Rocket-Launch-Eve | Assets/SoundEffect.cs | 1,072 | 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... | 29.200935 | 115 | 0.556569 | [
"Apache-2.0"
] | Singh400/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/DescribeTrialResponse.cs | 6,249 | C# |
namespace Pegasus.DataStore.Documents
{
public class Vehicle : DocumentBase
{
public string Tsp { get; set; } // Transport service provider
public string Vin { get; set; } // Vehicle identification number
public VehicleDetails Details { get; set; }
public Seat[] Seats { get; set... | 29.411765 | 72 | 0.606 | [
"MIT"
] | SatyKrish/Pegasus.Web | src/Pegasus/Pegasus.DataStore/Documents/Vehicle.cs | 502 | C# |
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using UI.Animation;
namespace UI.InputTools
{
[RequireComponent(typeof(AnimatedScale), typeof(Button))]
public class ExtendedButton : BaseExtendedSelectable<Button>, IPointerClickHandler, IPointerDownHandler, I... | 30.765101 | 221 | 0.557592 | [
"MIT"
] | FomTarro/vts-heartrate | Assets/UI/Scripts/Animations/ExtendedButton.cs | 4,586 | C# |
/*
* TileDB Storage Platform API
*
* TileDB Storage Platform REST API
*
* The version of the OpenAPI document: 2.2.19
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using Ti... | 25.854167 | 99 | 0.59589 | [
"MIT"
] | TileDB-Inc/TileDB-Cloud-CSharp | TileDB.Cloud.Rest/src/TileDB.Cloud.Rest.Test/Model/AttributeBufferHeaderTests.cs | 2,482 | C# |
namespace Mindstorms.Core.Music._434
{
public class Gisz7 : Note
{
public Gisz7(NoteType noteType = NoteType.Quarter) : base(noteType)
{
Name = "G#7/Ab7";
Frequency = 3277.13;
WaveLength = 10.53;
}
}
}
| 21.076923 | 75 | 0.525547 | [
"MIT"
] | Mortens4444/LegoMindstromsEV3 | Mindstorms.Core/Music/434/Gisz7.cs | 274 | C# |
using Furion.ConfigurableOptions;
namespace ApiTemplApiProject.CoreOptions
{
/// <summary>
/// 刷新令牌设置
/// </summary>
public sealed class RefreshTokenSettingOptions : IConfigurableOptions
{
/// <summary>
/// 令牌过期时间(分钟)
/// </summary>
public int ExpiredTime { get; set... | 21.3125 | 73 | 0.59824 | [
"MIT"
] | LeoXionggg/SeaCodeLib | csharp/ProjectTemplate/ApiFurionTempl/ApiTemplApiProject.Core/Options/RefreshTokenSettingOptions.cs | 375 | C# |
/*
This file is a part of JustLogic product which is distributed under
the BSD 3-clause "New" or "Revised" License
Copyright (c) 2015. All rights reserved.
Authors: Vladyslav Taranov.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following... | 39.607143 | 79 | 0.775473 | [
"BSD-3-Clause"
] | AqlaSolutions/JustLogic | Assets/JustLogicUnits/Generated/Color/JLColorOpAddition.cs | 2,218 | C# |
using System.Collections.Generic;
using RazzleServer.DataProvider.References;
namespace RazzleServer.DataProvider.Cache
{
public sealed class CachedMobs
{
public Dictionary<int, MobReference> Data { get; set; } = new Dictionary<int, MobReference>();
}
}
| 25.090909 | 102 | 0.731884 | [
"MIT"
] | Bia10/RazzleServer | RazzleServer.DataProvider/Cache/CachedMobs.cs | 278 | C# |
using UnityEngine;
using System.Collections;
public class bedController : MonoBehaviour {
// Use this for initialization
public Collider playerCollider;
void OnTriggerEnter(Collider other) {
if ( other.tag == "Player" ) {
EventManager.TriggerEvent("SleepUI");
EventManager.TriggerEvent ("Pause");
}
}
... | 20.125 | 44 | 0.726708 | [
"MIT"
] | BigBroken/sLord | Assets/Scripts/GameObjects/bedController.cs | 324 | C# |
// Copyright (c) 2020-2021 Ubisoft Entertainment
//
// 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 applicabl... | 41.766355 | 159 | 0.624077 | [
"Apache-2.0"
] | Cheaterdev/Sharpmake | Sharpmake.Platforms/Sharpmake.CommonPlatforms/Apple/iOsPlatform.cs | 4,469 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.Analytics.Purview.Catalog
{
/// <summary> The PurviewTypes ... | 39.165058 | 262 | 0.451422 | [
"MIT"
] | AME-Redmond/azure-sdk-for-net | sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewTypes.cs | 365,175 | C# |
using System;
using System.Collections.Generic;
namespace JakePerry
{
public static class AssignValueUtility
{
/// <summary>
/// Assign a value <paramref name="newValue"/> to a variable referenced via <paramref name="currentValue"/>
/// and get a boolean indicating whether the variable... | 41.519231 | 115 | 0.611394 | [
"MIT"
] | nandos13/JakePerry.Common | JakePerry.Common/AssignValueUtility.cs | 2,161 | C# |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
namespace RisenautEditor
{
class FileService : IFileService
{
private Window owner;
public FileService(Window owner)
{
... | 28.784314 | 104 | 0.470708 | [
"MIT"
] | snake-scaly/risenaut-editor | RisenautEditor/FileService.cs | 2,938 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.