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 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 39.608333 | 197 | 0.651588 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/ServiceCatalog/Generated/Model/Internal/MarshallTransformations/ListPrincipalsForPortfolioResponseUnmarshaller.cs | 4,753 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using System.Collections.Generic;
using Microsoft.TemplateEngine.Abstractions;
namespace Microsoft.TemplateEngine.Orchestrator.RunnableProjects
{
internal clas... | 37.384615 | 110 | 0.734568 | [
"MIT"
] | 2mol/templating | src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/CreationEffects.cs | 1,458 | C# |
// <copyright file="LocalIpResolver.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Network
{
using System.Linq;
using System.Net;
using Interfaces;
using log4net;
/// <summary>
... | 32.514286 | 119 | 0.604569 | [
"MIT"
] | Apollyon221/OpenMU | src/Network/LocalIpResolver.cs | 1,140 | C# |
using Microsoft.AspNetCore.Hosting;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Guids;
using Volo.Abp.Identity;
using Volo.Abp.IdentityServer.ApiResources;
using Volo... | 39.9653 | 146 | 0.545978 | [
"MIT"
] | nbnbnb/official-abp-samples | MicroserviceDemo/applications/AuthServer.Host/AuthServerDataSeeder.cs | 12,671 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 30.848101 | 105 | 0.613459 | [
"Apache-2.0"
] | costleya/aws-sdk-net | sdk/src/Services/AppMesh/Generated/Model/AwsCloudMapInstanceAttribute.cs | 2,437 | C# |
using Moq;
using Shouldly;
using Stryker.Core.Exceptions;
using Stryker.Core.Initialisation;
using Stryker.Core.Options;
using Stryker.Core.TestRunners;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;... | 52.745763 | 252 | 0.618915 | [
"Apache-2.0"
] | asalnuuday/stryker-net | src/Stryker.Core/Stryker.Core.UnitTest/Initialisation/InputFileResolverTests.cs | 49,794 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、正しくない動作の原因になったり、
// コードが再生成されるときに失われたりします。
// </auto-generated>
//--------------------------------------------------------------... | 36.507042 | 176 | 0.60108 | [
"BSD-3-Clause"
] | popcorn088/MatricCalculator | MatrixCalc/Properties/Resources.Designer.cs | 3,214 | C# |
using System.Linq;
using System.Text;
namespace PrtgAPI.Tests.UnitTests.Support.TestItems
{
public class SystemInfoItem
{
public SystemInfoType Type { get; set; }
public string Content { get; set; }
public static SystemInfoItem SystemItem(string key = "\"IPAddress / vmxnet3 Ethernet ... | 46.235294 | 398 | 0.586726 | [
"MIT"
] | ericsp59/PrtgAPI | src/PrtgAPI.Tests.UnitTests/Support/TestItems/SystemInfoItem.cs | 4,718 | C# |
using RestaurantWebsite.Core.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantWebsite.Core.Repositories
{
public interface IExtraRepository : IRepository<Extra>
{
}
}
| 19.714286 | 58 | 0.782609 | [
"MIT"
] | smael123/RestaurantWebsite | RestaurantWebsite/Core/Repositories/IExtraRepository.cs | 278 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Exe... | 38.648649 | 84 | 0.754545 | [
"MIT"
] | Brankovanov/SoftUniCourses | 5.OOPAdvanced/01_InterfacesAndAbstraction/Exercise_08_CollectionHierarchy/Properties/AssemblyInfo.cs | 1,433 | C# |
using System;
using System.Runtime.InteropServices;
#pragma warning disable 1591
namespace OpenCvSharp
{
static partial class NativeMethods
{
[DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern IntPtr aruco_getPredefinedDictionary(in... | 79.116438 | 246 | 0.78227 | [
"BSD-3-Clause"
] | CollegiumXR/OpenCvSharp-Xamarin.Droid | src/OpenCvSharp/PInvoke/NativeMethods_aruco.cs | 11,553 | C# |
using Npgsql;
using SimpleMigrations;
using SimpleMigrations.DatabaseProvider;
namespace Athena.Data
{
public class DatabaseMigrator
{
private readonly string _connectionString;
public DatabaseMigrator(string connectionString) => _connectionString = connectionString;
/// <summary>
... | 29.606061 | 109 | 0.615148 | [
"MIT"
] | athena-scheduler/athena | src/Athena.Data/DatabaseMigrator.cs | 979 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 41.843373 | 153 | 0.594587 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/TeamsTemplateReferenceRequest.cs | 3,473 | C# |
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Media3D;
namespace Restless.Tools.Controls
{
/// <summary>
/// Provides static helper methods
/// </summary>
public static class CoreHelper
{
/// <summary>
/// Gets the visual parent of the specified type ... | 36.261538 | 134 | 0.56258 | [
"MIT"
] | victor-david/restless-tools | src/Restless.Tools.Controls/Core/CoreHelper.cs | 2,359 | C# |
using Castle.DynamicProxy;
using NATS.Client;
using NLog;
using System.Reflection;
namespace Nats.Services.Core
{
public class EventInterceptor<T> : IInterceptor
{
static Logger logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.FullName);
private string name;
p... | 32.30303 | 136 | 0.661351 | [
"Unlicense"
] | fremag/Nats.Services | Nats.Services.Core/EventInterceptor.cs | 1,068 | C# |
using UnityEngine;
namespace Lockstep.Data
{
[System.Serializable]
public class DataItem
{
public DataItem(string name)
{
_name = name;
}
public DataItem() { }
[SerializeField]
protected string _name;
public string Name
{
get { return _name; }
}
public override string ToString()
{
... | 12.529412 | 48 | 0.635368 | [
"MIT"
] | AlCaTrAzzALZ/LockstepFramework | Database/Scripts/Core/DataItem.cs | 641 | C# |
public enum HintType
{
MOVE,
TELE,
CAMA,
JUMP,
JUMP2,
HOOK,
HOOK2,
SUPPLY,
DODGE,
ATTACK
}
| 7.214286 | 20 | 0.643564 | [
"MIT"
] | AoTTG-R/mocha | Assembly-CSharp/FengLi/World/Triggers/HintType.cs | 101 | C# |
namespace JSLintNet.Console
{
internal interface IConsoleWriter
{
IConsoleWriter Write(string format, params object[] arg);
IConsoleWriter Write(int indentLength, string format, params object[] arg);
IConsoleWriter WriteLine();
IConsoleWriter WriteLine(string format, params o... | 30.961538 | 92 | 0.709317 | [
"Apache-2.0"
] | benquarmby/jslintnet | source/JSLintNet.Console/IConsoleWriter.cs | 807 | C# |
using PropHunt.Mixed.Systems;
using Unity.Entities;
using Unity.NetCode;
using Unity.Scenes;
using UnityEngine;
using static PropHunt.Game.ClientGameSystem;
namespace PropHunt.Client.Systems
{
/// <summary>
/// System to clear all ghosts on the client
/// </summary>
[UpdateBefore(typeof(ConnectionSyste... | 37.553191 | 123 | 0.596412 | [
"MIT"
] | nicholas-maltbie/SpaceshipMurderTime | Assets/Scripts/Client/Systems/ConnectionSystem.cs | 5,295 | C# |
// Copyright(c) Microsoft Corporation.
// All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the solution root folder for full license information
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net;
using Microsoft.Extensions.Logging;
using Micr... | 52.799202 | 218 | 0.587961 | [
"MIT"
] | laujan/ProposalManager | Infrastructure/Services/OpportunityRepository.cs | 39,707 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> This is the regional replication status. </summary>
public partial class RegionalReplicationStatus
{
... | 41.02439 | 113 | 0.646849 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RegionalReplicationStatus.cs | 1,682 | C# |
// SPDX-License-Identifier: MIT
// Copyright (c) 2020-2021 David Lechner <david@lechnology.com>
using GISharp.Lib.GLib;
using GISharp.Lib.GObject;
using GISharp.Lib.Gtk;
using NUnit.Framework;
namespace GISharp.Test.Gtk
{
public class RecentManagerTests
{
[Test]
public void RecentManagerErrorG... | 25.178571 | 73 | 0.642553 | [
"MIT"
] | dlech/gisharp | test/Test.Gtk-4.0/RecentManagerTests.cs | 705 | C# |
namespace Flutterwave.Net
{
public interface IBanks
{
/// <summary>
/// Get bank branches
/// </summary>
/// <param name="bankId">
/// Unique bank ID, it is returned in the Get banks call as data.id
/// </param>
/// <returns>A list of bank branches</retur... | 28.458333 | 75 | 0.547584 | [
"MIT"
] | EraWi/flutterwave-dotnet | src/flutterwave-dotnet/APIs/Interfaces/IBanks.cs | 685 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public enum ItemType
{
WEAPON,
TOOL,
CRAFTING_COMPONENT
}
| 14.083333 | 34 | 0.686391 | [
"MIT"
] | Epicguru/NotQuiteDead | Assets/Scripts/Item System/ItemType.cs | 171 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace PyDeployer.Common.Encryption
{
public class AesEncrypter
{
/// <summary>
/// Creates an encryption key with the given length
/// </summary>
/// <p... | 33.792208 | 119 | 0.503075 | [
"MIT"
] | mwcaisse/pydeployer-web | PyDeployer/PyDeployer.Common/Encryption/AESEncrypter.cs | 5,206 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelManager1 : MonoBehaviour
{
public void StartGame()
{
SceneManager.LoadScene ("Test_CombatScreen");
}
public void QuitGame()
{
Application.Quit ();
}
}
| 15.684211 | 47 | 0.755034 | [
"MIT"
] | Iceflame21/Colby-s-FTC-Code | Almost Done!!!!/Assets/Scenes/Scripts/LevelManager1.cs | 300 | C# |
using System;
namespace Arch.Data.Orm
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class IgnoredAttribute : Attribute { }
} | 24.571429 | 73 | 0.732558 | [
"Apache-2.0"
] | Mu-L/dal | Arch.Data/Arch.Data/Orm/attribute/IgnoredAttribute.cs | 174 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using ContasimpleAPI.Models;
na... | 45.857143 | 190 | 0.617342 | [
"MIT"
] | JonasBr68/ContaSimpleClient | ClientApi/generated/AccountingSummaryRestClient.cs | 5,778 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Common.Interpolators
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Implements a greedy interpolator that selects the first value from a ... | 50.377193 | 187 | 0.618666 | [
"MIT"
] | CMU-TBD/psi | Sources/Runtime/Microsoft.Psi/Common/Interpolators/FirstAvailableInterpolator.cs | 5,745 | C# |
using System;
using System.Xml.Linq;
namespace Packager.Extensions
{
public static class XElmentExtensions
{
public static bool AttributeEquals(this XAttribute attribute, string expectedValue,
StringComparison comparison = StringComparison.InvariantCultureIgnoreCase)
{
... | 23.772727 | 92 | 0.627151 | [
"Apache-2.0"
] | BrianMcGough/IUMediaHelperApps | Packager/Extensions/XElmentExtensions.cs | 525 | 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.
#if RIBBON_IN_FRAMEWORK
namespace System.Windows.Controls.Ribbon
#else
namespace Microsoft.Windows.... | 40.320281 | 166 | 0.505363 | [
"MIT"
] | 56hide/wpf | src/Microsoft.DotNet.Wpf/src/System.Windows.Controls.Ribbon/Microsoft/Windows/Controls/Ribbon/RibbonComboBox.cs | 68,988 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace UwuNet
{
/// <summary>
/// An adaptor for IOBuffer that attaches String and Integer serialization methods.
///
/// The String serialization is done using a modified UTF8 encoding in which an ASCII NUL
/// is written ... | 34.923567 | 174 | 0.454587 | [
"BSD-3-Clause"
] | ksmathers/Uwu | UwuNet/Marshal.cs | 10,968 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Windows.ApplicationModel.DataTransfer;
using Windows.Foundation;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primit... | 38.707424 | 149 | 0.65704 | [
"MIT"
] | DanieleScipioni/TestApp | TestAppUWP.AppShell/Core/ListViewGroupedDragDrop.cs | 8,866 | C# |
/*
* Copyright (c) 2015 tolina GmbH
*/
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: Assemb... | 39.641026 | 129 | 0.725097 | [
"MIT"
] | arxes-tolina/Tolina.StartAs | Tolina.StartAs/Properties/AssemblyInfo.cs | 1,549 | C# |
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.S... | 37.216667 | 160 | 0.646216 | [
"Apache-2.0"
] | MarcosMeli/Roslynator | source/Refactorings/Refactorings/SwapStatementInIfElseRefactoring.cs | 2,235 | 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;
using System.ComponentModel;
using System.Diagnostics;
using System.Text;
using System.Run... | 31.047203 | 194 | 0.48626 | [
"MIT"
] | dotnet40/corefx | src/System.DirectoryServices.Protocols/src/System/DirectoryServices/Protocols/common/DirectoryControl.cs | 35,518 | 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... | 30.108696 | 91 | 0.646931 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/BotService/V20200602/Outputs/LineChannelPropertiesResponse.cs | 1,385 | C# |
namespace BlazorWorker.WorkerBackgroundService
{
public interface ISerializer
{
string Serialize(object obj);
T Deserialize<T>(string objStr);
}
}
| 17.7 | 47 | 0.672316 | [
"MIT"
] | Tewr/BlazorWorker | src/BlazorWorker.WorkerBackgroundService/ISerializer.cs | 179 | C# |
#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b7372519d2a9b45537aba0e7d34309526d3014c3"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu... | 71.694118 | 349 | 0.743026 | [
"Apache-2.0"
] | benaadams/AspNetCore-Tooling | src/Razor/test/RazorLanguage.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicTagHelpers_Prefixed_Runtime.codegen.cs | 6,094 | C# |
using System.Collections.Generic;
using System.Linq;
using BizHawk.Emulation.Common.IEmulatorExtensions;
namespace BizHawk.Client.Common
{
public class LuaFunctionList : List<NamedLuaFunction>
{
public NamedLuaFunction this[string guid] =>
this.FirstOrDefault(nlf => nlf.Guid.ToString() == guid);
... | 25.263889 | 114 | 0.691589 | [
"MIT"
] | Diefool/BizHawk | BizHawk.Client.Common/lua/LuaFunctionList.cs | 1,821 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace TMS
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
... | 27.208333 | 70 | 0.710567 | [
"MIT"
] | ShimizuShiori/TMS | src/TMS/TMS/Global.asax.cs | 653 | 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:04:23 UTC
// </auto-generated>
//--------------... | 32.75 | 101 | 0.580153 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/syscall/ztypes_freebsd_amd64_FdSetStruct.cs | 1,965 | 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 Microsoft.CodeAnalysis.CSharp.Emit;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Roslyn.Utilities;
using System;
using System.Collections.Generic;... | 40.381853 | 198 | 0.562213 | [
"Apache-2.0"
] | akoeplinger/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberFieldSymbol.cs | 21,364 | 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... | 35.247059 | 141 | 0.674566 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/GlobalAccelerator/Generated/Model/Internal/MarshallTransformations/InvalidPortRangeExceptionUnmarshaller.cs | 2,996 | C# |
/*
Copyright (c) 2017, Nokia
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the... | 25.27459 | 469 | 0.666126 | [
"BSD-3-Clause"
] | nuagenetworks/vspk-csharp | vspk/vspk/RoutingPolicy.cs | 6,167 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | 34.516129 | 150 | 0.583178 | [
"MIT"
] | ni/vdm-dotnet | examples/dotNET/3. Applications/Fusebox Inspection/cs/Backup/Properties/Settings.Designer.cs | 1,072 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Diagnostics;
namespace Coroutines {
public delegate CoResult<T> WrappedCoroutine<T>(object args = null);
public abstract partial class Coroutine : IDisposable {
[ThreadStatic]
... | 33.510448 | 134 | 0.513896 | [
"MIT"
] | Enichan/CoSharp | Coroutines/Coroutine.cs | 11,228 | C# |
using System;
using System.Windows.Forms;
namespace ConvClipboardPath
{
class Program
{
private static readonly string usage =
@"Usage cmd [OPTION]" + "\n" +
@"-bs '\'BackSlash to '/'Slash" + "\n" +
@"-hz '\'hankaku to '¥'zenkaku" + "\n" +
@"-url ... | 27.759259 | 77 | 0.418279 | [
"MIT"
] | yamanobori-old/ConvClipboardPath | ConvClipboardPath/Program.cs | 1,507 | C# |
namespace Milyli.ScriptRunner.Core.Repositories.Interfaces
{
public interface IPermissionRepository
{
bool IsUserAdmin(int userId);
}
} | 22.285714 | 59 | 0.724359 | [
"MIT"
] | Milyli/RelativityScriptRunner | Milyli.ScriptRunner.Core/Repositories/Interfaces/IPermissionRepository.cs | 158 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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>
//-------------... | 34.150646 | 1,425 | 0.743458 | [
"MIT"
] | BeyondDimension/AspNetCore.Mobile | src/AspNetCore.Mobile.Droid/Resources/Resource.designer.cs | 721,569 | C# |
namespace NearClientUnity.Providers
{
public class ExecutionStatus
{
public ExecutionError Failure { get; set; }
public string SuccessReceiptId { get; set; }
public string SuccessValue { get; set; }
public static ExecutionStatus FromDynamicJsonObject(dynamic jsonObject)
... | 28.484848 | 87 | 0.530851 | [
"MIT"
] | near/near-api-unity | Src/NearClientUnity/Providers/ExecutionStatus.cs | 942 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace Modix.Bot.Extensions
{
public static class CommandContextExtensions
{
private static readonly Emoji _checkmarkEmoji = new Emoji("✅");
private static readonly Emoji _xEmoji = new Emo... | 41.666667 | 149 | 0.6448 | [
"MIT"
] | JCBurnside/MODiX | Modix.Bot/Extensions/CommandContextExtensions.cs | 2,506 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RuntimeBindingRedirect.cs" company="Catel development team">
// Copyright (c) 2008 - 2016 Catel development team. All rights reserved.
// </copyright>
// -----------------------... | 36.013158 | 154 | 0.55316 | [
"MIT"
] | 14632791/Catel | src/Catel.Core/Runtime/RuntimeBindingRedirect.cs | 2,739 | 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... | 28.159483 | 104 | 0.53666 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Athena/Generated/Model/ColumnInfo.cs | 6,533 | 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... | 57.027636 | 214 | 0.650173 | [
"Apache-2.0"
] | aws/aws-sdk-net | sdk/src/Services/FSx/Generated/_bcl45/IAmazonFSx.cs | 212,542 | C# |
/*
Claims Authorization Policy Langugage SDK ver. 1.0
Copyright (c) Matt Long labskunk@gmail.com
All rights reserved.
MIT License
*/
namespace Capl.Authorization.Operations
{
using System;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// A dictionary that contains ... | 35.519651 | 136 | 0.565282 | [
"MIT"
] | lulzzz/SkunkLab.Core | src/Capl.Core/Authorization/Operations/OperationsDictionary.cs | 8,136 | C# |
/*==============================================================================
Copyright (c) 2013-2014 Qualcomm Connected Experiences, Inc.
All Rights Reserved.
Confidential and Proprietary - Protected under copyright and other laws.
==============================================================================*/
us... | 31.526946 | 110 | 0.547198 | [
"MIT"
] | ARGameMaker/pianoGameAR | KeyboARd-master/Button/Assets/Vuforia/Scripts/Internal/WSAUnityPlayer.cs | 5,265 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v6/resources/ad_group_criterion_label.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Googl... | 37.426471 | 296 | 0.6822 | [
"Apache-2.0"
] | GraphikaPS/google-ads-dotnet | src/V6/Types/AdGroupCriterionLabel.cs | 12,725 | C# |
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Github, 5204, "... | 28.53125 | 148 | 0.742607 | [
"MIT"
] | Eilon/maui | src/Compatibility/ControlGallery/src/Issues.Shared/Issue5204.cs | 915 | 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 Api
{
public class Program
{
public ... | 24.384615 | 76 | 0.675079 | [
"Apache-2.0"
] | zxbe/Learn.IdentityServer4 | IdentityServer4.Samples/Quickstarts/1_ClientCredentials/src/Api/Program.cs | 636 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Web.Http.Results;
using Microsoft.TestCommon;
using Moq;
names... | 39.275449 | 133 | 0.656503 | [
"Apache-2.0"
] | Darth-Fx/AspNetMvcStack | OData/test/System.Web.Http.OData.Test/OData/Results/UpdatedODataResultTest.cs | 6,561 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EasyLife.Domain.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
n... | 36.576923 | 123 | 0.654048 | [
"MIT"
] | nikolay-danev/EasyLife | EasyLife/EasyLife.Web.Client/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml.cs | 1,904 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Th... | 32.149254 | 143 | 0.629991 | [
"Apache-2.0"
] | eduardodib11/CadClientes | CadCliente/Startup.cs | 2,154 | C# |
using System;
namespace CovarContraVarObjects
{
public class Employee:Person
{
public Employee()
{
this.Name = "Employee Name";
}
public string EmployeeID { get; set; }
}
} | 18 | 47 | 0.507937 | [
"CC0-1.0"
] | ignatandrei/ToolsAndUtilities | VS2015/CovarianceContraVariance/CovarContraVarObjects/Employee.cs | 254 | C# |
/**
* *************************************************
* Copyright (c) 2019, Grindrod Bank Limited
* License MIT: https://opensource.org/licenses/MIT
* **************************************************
*/
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using za.co.grindrodb... | 29.333333 | 127 | 0.617424 | [
"MIT"
] | paulvancoller/A3S | tests/za.co.grindrodbank.a3s.tests/Fakes/CustomUserStoreFake.cs | 1,058 | C# |
using UnityEngine;
public class BatchCreator : MonoBehaviour
{
public GameObject staticBatchRoot;
public GameObject[] gos;
private void Start()
{
if (gos != null)
{
StaticBatchingUtility.Combine(gos, staticBatchRoot);
}
StaticBatchingUtility.Combine(sta... | 21.375 | 64 | 0.631579 | [
"MIT"
] | 924036076/Unity-Shaders | Assets/Scripts/BatchCreator.cs | 344 | C# |
/*
* Ed-Fi Operational Data Store API
*
* The Ed-Fi ODS / API enables applications to read and write education data stored in an Ed-Fi ODS through a secure REST interface. *** > *Note: Consumers of ODS / API information should sanitize all data for display and storage. The ODS / API provides reasonable safeguards ... | 56.263736 | 467 | 0.659375 | [
"Apache-2.0"
] | Ed-Fi-Alliance-OSS/Roster-Starter-Kit-for-Vendors | src/EdFi.Roster.Sdk/Models.Resources/EdFiStaffPersonalIdentificationDocument.cs | 15,360 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Microsoft.S... | 32.72 | 94 | 0.559291 | [
"MIT"
] | AFFogarty/spark | src/csharp/Microsoft.Spark.Worker/Utils/FileUtils.cs | 1,636 | 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... | 39.666667 | 85 | 0.735294 | [
"MIT"
] | bartczernicki/Silverlight4BusinessIntelligenceSoftware | src/Chapter5/Chapter5_TagCloud/Chapter5_TagCloud.Web/Properties/AssemblyInfo.cs | 1,431 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.Network.Fluent.Mod... | 37.166667 | 227 | 0.666938 | [
"MIT"
] | Azure/azure-libraries-for-net | src/ResourceManagement/Network/Generated/Models/NetworkIntentPolicyConfiguration.cs | 2,453 | C# |
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Chef.Web.Models;
using Chef.Accounts;
namespace Chef.Web.Controllers
{
[Authorize]
public class ManageController ... | 36.351421 | 175 | 0.566534 | [
"Apache-2.0"
] | FanrayMedia/Chef.me | Projects/Chef.Web/Controllers/ManageController.cs | 14,070 | C# |
using System;
namespace Dommel;
/// <summary>
/// <see cref="ISqlBuilder"/> implementation for SQLite.
/// </summary>
public class SqliteSqlBuilder : ISqlBuilder
{
/// <inheritdoc/>
public virtual string BuildInsert(Type type, string tableName, string[] columnNames, string[] paramNames) =>
$"insert i... | 33.424242 | 142 | 0.658205 | [
"MIT"
] | denisenko93/Dommel | src/Dommel/SqliteSqlBuilder.cs | 1,105 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 48.985646 | 222 | 0.647197 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/managedtenants/requests/ManagementTemplateStepVersionDeploymentsCollectionRequest.cs | 10,238 | C# |
using System;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Input;
using Wox.Plugin.TimeCheck.Models;
using Wox.Plugin;
using System.Windows.Controls;
namespace Wox.Plugin.TimeCheck
{
/// <summary>
/// Interaction logic for TimeChe... | 25.469388 | 84 | 0.598558 | [
"MIT"
] | Jooraz/Wox.Plugin.TimeCheck | Wox.Plugin.TimeCheck/PluginSettings.xaml.cs | 1,250 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SCManager.Data;
namespace SCMana... | 40.88169 | 303 | 0.481741 | [
"MIT"
] | rz-georgiev/HandotaiSeigyo | SCManager.Data/Migrations/20200615173816_UnitMultipliers.Designer.cs | 29,028 | C# |
//-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2018 Energistics
//
// 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
//
// ... | 40.179104 | 154 | 0.628158 | [
"Apache-2.0"
] | archerax/etp-devkit | src/DevKit/v12/Protocol/Core/ICoreClient.cs | 2,694 | C# |
namespace Application.SNS.Dtos
{
public class TextractNotificationDto
{
public string JobId { get; set; }
}
}
| 16.25 | 41 | 0.646154 | [
"MIT"
] | BinaryStudioAcademy/bsa-2021-scout | backend/src/Application/SNS/Dtos/TextractNotificationDto.cs | 130 | C# |
using Deviser.Core.Common;
using Deviser.Core.Common.DomainTypes;
using Deviser.Core.Library.Media;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Net.Http.Headers;
using System;
using System.Collections.Generic;
... | 39.883721 | 139 | 0.533178 | [
"MIT"
] | deviserplatform/deviserplatform | src/Deviser.Web/Controllers/Api/UploadController.cs | 8,577 | C# |
using Newtonsoft.Json;
using CCXT.NET.Shared.Coin.Public;
using CCXT.NET.Shared.Coin.Types;
using CCXT.NET.Shared.Configuration;
using System;
namespace CCXT.NET.GDAX.Public
{
/// <summary>
/// recent trade data
/// </summary>
public class GCompleteOrderItem : CCXT.NET.Shared.Coin.Public.CompleteOrder... | 22.413793 | 103 | 0.493077 | [
"MIT"
] | ccxt-net/ccxt.net | src/exchanges/usa/gdax/public/completeOrder.cs | 1,302 | C# |
using Newtonsoft.Json;
namespace TeamCowboy.Api.Models
{
public class TeamColorSwatches
{
[JsonProperty("home")]
public ColorSwatch Home { get; set; }
[JsonProperty("away")]
public ColorSwatch Away { get; set; }
[JsonProperty("alternate")]
public ColorSwatch Al... | 23.266667 | 50 | 0.613181 | [
"MIT"
] | sumanchakrabarti/teamcowboy-api | TeamCowboy.Api/Models/TeamColorSwatches.cs | 351 | 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 "li... | 29.055556 | 102 | 0.642447 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/IVS/Generated/Model/UpdateChannelResponse.cs | 1,569 | C# |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... | 30.449438 | 194 | 0.663838 | [
"MIT"
] | xlxCLUxlx/BungieNetPlatform | src/BungieNetPlatform.Test/Model/DestinyHistoricalStatsDestinyLeaderboardResultsTests.cs | 2,710 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.8
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------... | 45.046729 | 88 | 0.68278 | [
"MIT"
] | kleinefynn/NomNomlParser | src/Recognizer/NomnomlListener.cs | 9,640 | C# |
// Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
{
[Pure]
public st... | 26.84 | 101 | 0.583458 | [
"MIT"
] | Bloemert/nuke-build-common | source/Nuke.Common/Utilities/String.Trim.cs | 1,342 | C# |
// Copyright 2004-2009 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.526316 | 76 | 0.707665 | [
"Apache-2.0"
] | Convey-Compliance/Castle.Core-READONLY | src/Castle.Core/Components.DictionaryAdapter/IDictionaryCreate.cs | 1,124 | 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... | 32.380952 | 165 | 0.640196 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/IoT1ClickDevicesService/Generated/Model/ListTagsForResourceResponse.cs | 2,040 | 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 Microsoft.Protocols.TestTools;
using Microsoft.Protocols.TestTools.Messages;
using Microsoft.Protocols.TestTools.Messages.Marshaling;
using Microsof... | 42.838983 | 114 | 0.569585 | [
"MIT"
] | 0neb1n/WindowsProtocolTestSuites | TestSuites/ADFamily/src/Adapter/MS-DRSR/NativeRpcAdapter/INativeRpcAdapter.cs | 40,440 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using DentedPixel;
public class SceneLoader : MonoBehaviour
{
public string loadedScene;
public CanvasFader canvasFader;
private void OnEnable()
{
SceneManager.sceneLoaded += Han... | 25.865672 | 98 | 0.640508 | [
"Apache-2.0"
] | mikematos84/unity-sandbox | Assets/Scripts/SceneLoader.cs | 1,735 | C# |
// Generated by Xamasoft JSON Class Generator
// http://www.xamasoft.com/json-class-generator
using System.Text.Json.Serialization;
namespace Microsoft.StoreServices.DisplayCatalog.Product
{
public class SkuDisplayRank
{
[JsonPropertyName("Dimension")]
public string Dimension;
[JsonP... | 23.3125 | 56 | 0.699732 | [
"MIT"
] | gus33000/UUPMediaCreator | src/Microsoft.StoreServices.DisplayCatalog/Product/SkuDisplayRank.cs | 375 | C# |
/**
* (C) Copyright IBM Corp. 2018, 2019.
*
* 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 t... | 88.028986 | 848 | 0.776424 | [
"Apache-2.0"
] | teachteamnfp/dotnet-standard-sdk | src/IBM.Watson.SpeechToText.v1/ISpeechToTextService.cs | 6,074 | C# |
//
// HashCodeProvider.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// (C) 2005 Jb Evain
//
// 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
// witho... | 31.723404 | 77 | 0.743125 | [
"MIT"
] | Danyy427/runtime-assets | src/Microsoft.DotNet.CilStrip.Sources/src/Mono.Cecil/HashCodeProvider.cs | 1,491 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
////////////////////////////////////////////////////////////////////////////////
// MemberAccessException
// Thrown when we try accessing a member that we cannot
// access, due to it... | 37.833333 | 94 | 0.622247 | [
"MIT"
] | belav/runtime | src/libraries/System.Private.CoreLib/src/System/MemberAccessException.cs | 1,816 | C# |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
using Mosa.Compiler.Framework;
namespace Mosa.Platform.x64.Instructions
{
/// <summary>
/// In8
/// </summary>
/// <seealso cref="Mosa.Platform.x64.X64Instruction" />
public sealed class In8 :... | 23.291667 | 76 | 0.703936 | [
"BSD-3-Clause"
] | kthompson/MOSA-Project | Source/Mosa.Platform.x64/Instructions/In8.cs | 1,118 | C# |
using UnityEditor;
using UnityEngine;
namespace BrainiacEditor
{
public class BTScriptCreationTool
{
private enum ScriptType
{
Composite, Decorator, Action, Constraint, Service
}
private static void CreateScript(ScriptType scriptType, string defaultFilename = "MySc... | 33.697917 | 100 | 0.535703 | [
"MIT"
] | gamemake/Brainiac | Assets/Brainiac/Source/Editor/Core/BTScriptCreationTool.cs | 3,237 | 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... | 35.035294 | 141 | 0.672599 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/IoTFleetHub/Generated/Model/Internal/MarshallTransformations/ResourceNotFoundExceptionUnmarshaller.cs | 2,978 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class TriggerOnPlayer : MonoBehaviour
{
public UnityEvent OnTrigger;
private void OnTriggerEnter2D(Collider2D other)
{
if (other.CompareTag("Player"))
{
OnTrigger.Inv... | 20.294118 | 51 | 0.675362 | [
"MIT"
] | IGODI/Trabalho--Unity2D | Assets/MinhasCoisas/Scripts/TriggerOnPlayer.cs | 347 | C# |
using Modules.General.InAppPurchase;
namespace Drawmasters.OffersSystem
{
public class SubscriptionNotActiveDecorator : BaseOfferTriggerDecorator
{
#region Fields
private readonly StoreManager storeManager;
#endregion
#region Properties
public override bool IsAct... | 17.019231 | 89 | 0.579661 | [
"Unlicense"
] | TheProxor/code-samples-from-pg | Assets/Scripts/GameFlow/OffersSystem/Offer/Implementation/Triggers/Decorators/Subscription/SubscriptionNotActiveDecorator.cs | 887 | C# |
using UnityEngine;
using System.Collections;
public enum ColorTheme
{
PASTEL,
GRAM
}
public class ColorManager : MonoBehaviour {
public ColorTheme activeTheme;
public Color[] themePack_Pastel;
public Color[] themePack_Gram;
public Color TurnRandomColorFromTheme()
{
int rand = Random.Range(0,6);... | 16.342105 | 44 | 0.634461 | [
"MIT"
] | khorotyan/tetrix | Assets/Tetris Template/Scripts/Managers/ColorManager.cs | 623 | 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("UDi... | 38.702703 | 84 | 0.752095 | [
"MIT"
] | slurrps-mcgee/UDiagnose | udiagnose/UFormat/Properties/AssemblyInfo.cs | 1,435 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.ResultSet.Alteration.Renaming.Strategies.Missing
{
public interface IMissingColumnStrategy
{
void Execute(string originalColumnName, DataTable dataT... | 22.333333 | 69 | 0.776119 | [
"Apache-2.0"
] | TheAutomatingMrLynch/NBi | NBi.Core/ResultSet/Alteration/Renaming/Strategies/Missing/IMissingColumnStrategy.cs | 337 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.