max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Runtime/Controller/Binder/CommandBinding.cs | ertrkumut/unity-mvc | 3 | 7052467 | using System;
using System.Collections.Generic;
using System.Linq;
using MVC.Runtime.Bind.Bindings;
using MVC.Runtime.Contexts;
namespace MVC.Runtime.Controller.Binder
{
public class CommandBinding : Binding, ICommandBinding
{
public CommandExecutionType ExecutionType { get; protected set; }
p... |
Assets/Scripts/BuyMenu/BuyUnitButton.cs | Domiii/UnityTowerDefense3D | 0 | 7052468 | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class BuyUnitButton : MonoBehaviour {
public BuyUnitMenu Menu;
public int UnitStatusIndex;
bool _isShowingCooldown;
Transform _cooldownOverlay;
Transform _disabledOverlay;
SpriteRenderer _progressBar;
Text _costText;
publ... |
src/Microsoft_CognitiveServices/frmMain.cs | smokingpc/SpeechRecongnition | 0 | 7052469 | using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net.Http;
using System.Net.Http.Headers;
namespace Microsoft_CognitiveSer... |
src/StreamDeckSharp/StreamDeckKeyBitmap.cs | dawgdemi/StreamDeckSharp | 0 | 7052470 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StreamDeckSharp
{
/// <summary>
/// Represents a bitmap that can be used as key images
/// </summary>
publi... |
Assets/UI/POIs/PoiResizer.cs | ActiveNick/GalaxyExplorer | 7 | 7052471 | // Copyright Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections;
using UnityEngine;
namespace GalaxyExplorer
{
public class PoiResizer : MonoBehaviour
{
public GameObject PoiCard;
pub... |
SimpleSiteCrawler.Lib/Reader/GZipSitePageReader.cs | alexkuznetsov/SimpleSiteCrawler | 1 | 7052472 | using System.IO;
using System.IO.Compression;
namespace SimpleSiteCrawler.Lib.Reader
{
internal class GZipSitePageReader : AbstractSitePageReader
{
private const string EncodingGzip = "gzip";
public static bool CanAccept(string contentEncoding) =>
contentEncoding.ToLower()... |
ReleaseTags/0.9/Source/LateBindingApi.Excel/Sort.cs | NetOfficeFw/Excel-XlLateBinding | 0 | 7052473 | <reponame>NetOfficeFw/Excel-XlLateBinding<filename>ReleaseTags/0.9/Source/LateBindingApi.Excel/Sort.cs
//Generated by LateBindingApi.CodeGenerator
using System;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.InteropServices;
using LateBindingApi.Core;
namespace LateBindingApi.Excel
{
[Suppo... |
src/Tinja.Abstractions/Injection/Graphs/Sites/GraphInstanceSite.cs | zuvys/Tinja | 18 | 7052474 | <filename>src/Tinja.Abstractions/Injection/Graphs/Sites/GraphInstanceSite.cs<gh_stars>10-100
namespace Tinja.Abstractions.Injection.Graphs.Sites
{
/// <inheritdoc />
/// AddSingleton(typeof(Service),new Service());
public class GraphInstanceSite : GraphSite
{
public object Instance { get; set; ... |
src/Money.UI.Universal/Views/Navigation/WizardNavigatorForm.cs | ScriptBox99/Money | 148 | 7052475 | <filename>src/Money.UI.Universal/Views/Navigation/WizardNavigatorForm.cs
using Money.ViewModels.Navigation;
using Money.Views.Dialogs;
using Neptuo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.... |
src/ApplicationCore/Entities/SheetConfig.cs | yasuaki-344/data-former | 1 | 7052476 | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace DataFormer.ApplicationCore.Entities
{
public class SheetConfig
{
[JsonPropertyName("sheet_name")]
public string SheetName { get; set; } = string.Empty;
[JsonPropertyName("headers")]
public List<C... |
DocumentDBRestApi/DocumentDBRestAPIClient/Views/DocumentDB/Attachement/Index.cshtml | HEDIDIN/DocumentDB-REST | 11 | 7052477 | @model IEnumerable<DocumentDBRestAPIClient.Models.AttachmentRaw>
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Lisat Attachements</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => mod... |
DirectN/DirectN/Generated/IMFSensorProcessActivity.cs | Steph55/DirectN | 124 | 7052478 | <reponame>Steph55/DirectN
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mfidl.h(21056,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("39dc7f4a-b141-4719-813c-a7f46162a2b8"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public part... |
src/DotNetty.Common/PreciseTimeSpan.cs | yyjdelete/SpanNetty | 262 | 7052479 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... |
Assets/Scripts/AvgKillTimeUI.cs | Vakareo/Basic-Aim-Trainer | 0 | 7052480 | using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
[RequireComponent(typeof(TextMeshProUGUI))]
public class AvgKillTimeUI : MonoBehaviour
{
private TextMeshProUGUI text;
private void Awake()
{
text = GetComponent<TextMeshProUGUI>();
}
... |
Test/ReactiveProperty.Tests/Notifiers/BooleanNotifierTest.cs | MeilCli/ReactiveProperty | 0 | 7052481 | <gh_stars>0
using System;
using System.Reactive.Linq;
using Reactive.Bindings.Notifiers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Reactive.Testing;
namespace ReactiveProperty.Tests
{
[TestClass]
public class BooleanNotifierTest : ReactiveTest
{
[TestMethod]
publi... |
src/DDDSouthWest.Website/Features/Admin/Account/ManageEvents/ManageEventsController.cs | dddsw/website | 7 | 7052482 | <gh_stars>1-10
using System.Linq;
using System.Threading.Tasks;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.CreateNewEvent;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.ListEvents;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.UpdateExistingEvent;
using DDDSouthWest.D... |
Runic/Assets/Scripts/Environment/DeathBox.cs | wixill/ITCS5231 | 0 | 7052483 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DeathBox : MonoBehaviour
{
// If player collides with Death Box, restart from checkpoint
// (Right now just restart the game)
// TODO: Update to restart to checkpoint
... |
LibMinecraft/Model/Blocks/SoulSandBlock.cs | vatt849/LibMinecraft | 1 | 7052484 | <reponame>vatt849/LibMinecraft<filename>LibMinecraft/Model/Blocks/SoulSandBlock.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LibMinecraft.Model.Blocks
{
/// <summary>
/// A Soul Sand block (ID = 88)
/// </summary>
/// <remarks></remarks>
public... |
2019/CSharp/Day02.cs | SDragon42/AdventOfCode | 0 | 7052486 | <reponame>SDragon42/AdventOfCode<filename>2019/CSharp/Day02.cs
namespace AdventOfCode.CSharp.Year2019;
/// <summary>
/// https://adventofcode.com/2019/day/2
/// </summary>
class Day02 : PuzzleBase
{
const int DAY = 2;
public override IEnumerable<string> SolvePuzzle()
{
yield return "Day 2: 1202 ... |
c-sharp/tests/DataStructures.Test/SinglyLinkedListTests.cs | minustehbare/data-structures | 0 | 7052487 | <reponame>minustehbare/data-structures
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DataStructures.LinkedList;
using System.Collections.Generic;
namespace DataStructures.Test
{
[TestClass]
public class SinglyLinkedListTest
{
[TestMethod]
public void Add()
{
SinglyLinkedList<int> lis... |
backend/Modules/Users/HitMeApp.Users/Core/Exceptions/CannotUpdateIncompleteUserException.cs | Somsiady-Inc/HitMeApp | 0 | 7052488 | <gh_stars>0
using HitMeApp.Shared.DDD;
namespace HitMeApp.Users.Core.Exceptions
{
internal class CannotUpdateIncompleteUserException : DomainException
{
public override string Code => "cannot_update_incomplete_user";
public string ParameterName { get; }
public CannotUpdateIncompleteU... |
PokemonManager/Util/ByteHelper.cs | blade1981m/TriggersPC | 15 | 7052489 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokemonManager.Util {
public class ByteHelper {
#region Basic Bytes
public static byte[] SubByteArray(int start, byte[] data, int size) {
b... |
CefNet/WindowlessWebView.cs | bakingam1983/CefNet | 0 | 7052490 | <filename>CefNet/WindowlessWebView.cs
//using CefNet.DOM;
using CefNet.Internal;
//using CefNet.JSInterop;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Thr... |
Assets/Scripts/EnemyBehavior/ShowHideMarker_Script.cs | BentNai1/OnyxCrownGitVersion | 0 | 7052492 | <filename>Assets/Scripts/EnemyBehavior/ShowHideMarker_Script.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShowHideMarker_Script : MonoBehaviour
{
public GameObject Marker;
public ParticleSystem Particles;
//private bool onOff = false;
[SerializeField]
... |
src/Nodes/Enemy.cs | MickSheridan24/Godot_Project | 0 | 7052493 | using Godot;
using System;
using System.Collections.Generic;
using System.Linq;
public class Enemy : BaseActorNode, IElevatable, IMove, ITarget, IDamageable, IHaveRuntime,
IConductElectricity, IFreeable, ISufferStatusEffects, IHaveHealth, IHaveSize, ISelectable,
ICanAttack, I... |
PipeDreamer/Assets/Scripts/NoalScript.cs | PixelBrownieSoftware/pipe_dreamer_source | 0 | 7052494 | <reponame>PixelBrownieSoftware/pipe_dreamer_source
using UnityEngine;
using System.Collections;
public class NoalScript : BaseNPC {
public enum noalActions { swimming, diving };
public noalActions noalActionStates;
// Use this for initialization
new public void Start () {
moveSpeed = 115f;
... |
PiffLibrary/Boxes/moov/trak/PiffTrackHeaderBox.cs | mc0re/piff-library | 0 | 7052495 | <reponame>mc0re/piff-library
using System;
namespace PiffLibrary.Boxes
{
/// <summary>
/// Flags:
/// - 1 = enabled
/// - 2 = in_movie
/// - 4 = in_preview
/// - 8 = size_is_aspect_ratio.
/// </summary>
[BoxName("tkhd")]
public sealed class PiffTrackHeaderBox : PiffFullBoxBase
... |
Packages/com.orionreed.entity-graph/Runtime/Structures/Interfaces/Interfaces.cs | OrionReed/Entity-Graph | 0 | 7052496 | <filename>Packages/com.orionreed.entity-graph/Runtime/Structures/Interfaces/Interfaces.cs
using UnityEngine;
using System;
namespace OrionReed
{
public interface IEntity
{
Vector2 Position { get; }
string ID { get; }
IEntityVisualizable Visualization { get; set; }
IEntityInstantiatable Instantiatio... |
src/ImageViewer/SystemEx/Memory.cs | codeprof/own-image-format | 2 | 7052497 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Compression;
using System.IO;
//LICENCE:
//This source is provided "as-is," without any express or implied warranty.
//It is for educational purpose only. Therefore it is not allowed to use the whole source or pa... |
iOS/SampleBrowser/Samples/PDFViewer/Helpers/DropDownMenu.cs | raver99/SFTreeView_Binding_Issue | 269 | 7052498 | <gh_stars>100-1000
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// appl... |
CredNet/Interop/IStream.cs | alexamiryan/CredNet | 10 | 7052499 | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace CredNet.Interop
{
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0000000C-0000-0000-C000-000000000046")]
[ComImport]
public interface IStream : ISequentialStream
{
[MethodImpl(MethodImplOptions.PreserveSig | ... |
sdk/dotnet/ContainerService/Outputs/GetKubernetesClusterLinuxProfileSshKeyResult.cs | adnang/pulumi-azure | 109 | 7052501 | <gh_stars>100-1000
// *** 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.Se... |
src/MailChimpApi/Internal/Dto/Messages/Recipient.cs | luminousuk/MailChimpApi | 0 | 7052502 | using System.Text.Json.Serialization;
namespace MailChimpApi.Internal.Dto.Messages
{
internal class Recipient
{
/// <summary>
/// The email address of the recipient
/// </summary>
[JsonPropertyName("email")]
public string Email { get; set; }
/// <summary>
... |
src/Seventh.Bot.Client/Models/MahuaClient/SendMsgRequest.cs | SeventhServices/SeventhQbot | 2 | 7052503 | <reponame>SeventhServices/SeventhQbot<filename>src/Seventh.Bot.Client/Models/MahuaClient/SendMsgRequest.cs
using System.Text.Json.Serialization;
using Seventh.Bot.Client.Enums;
namespace Seventh.Bot.Client.Models.MahuaClient
{
public class SendMsgRequest
{
[JsonIgnore]
public string TypeCode ... |
Assets/Scripts/Jero1.cs | Juan-Altamirano/Gu-a-de-programaci-n-1 | 0 | 7052504 | <reponame>Juan-Altamirano/Gu-a-de-programaci-n-1<filename>Assets/Scripts/Jero1.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Jero1 : MonoBehaviour
{
public int num1 = 4;
public int num2 = 5;
public string operacion;
// Start is called before the first f... |
DirectN/DirectN/Manual/IErrorLog.cs | Steph55/DirectN | 124 | 7052506 | <reponame>Steph55/DirectN
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("3127CA40-446E-11CE-8135-00AA004BB851"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IErrorLog
{
void AddError([MarshalAs(UnmanagedType.LPWStr)] stri... |
API/dbr/Connections/WConnection.Designer.cs | Induxsoft/devkron | 0 | 7052507 | <gh_stars>0
namespace induxsoft.Connections.WinForms
{
partial class WConnection
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
src/Microsoft.Graph/Generated/requests/SynchronizationTemplateRequest.cs | ScriptBox99/msgraph-beta-sdk-dotnet | 71 | 7052508 | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
TutteeFrame2/View/SubjectView.Designer.cs | princ3od/TutteeFrame2.0 | 1 | 7052509 | <filename>TutteeFrame2/View/SubjectView.Designer.cs
namespace TutteeFrame2.View
{
partial class SubjectView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up a... |
Neo4j.Driver/Neo4j.Driver.Tests.TestBackend/Protocol/Session/RetryableNegative.cs | bigmontz/neo4j-dotnet-driver | 0 | 7052510 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Neo4j.Driver.Tests.TestBackend
{
internal class RetryableNegative : IProtocolObject
{
public RetryableNegativeType data { get; set; } = new RetryableNegativeType();
public class Retryabl... |
src/Conizi.Model/Shared/Entities/EdiTourStop.cs | conizi/semantic-model | 4 | 7052511 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Conizi.Model.Shared.Attributes;
using Conizi.Model.Shared.Definitions;
using Conizi.Model.Shared.Interfaces;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Conizi.Model.S... |
src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Services/EditValidation/ULNValidationTests.cs | uk-gov-mirror/SkillsFundingAgency.das-commitments | 0 | 7052512 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-commitments
using NUnit.Framework;
using System.Threading.Tasks;
namespace SFA.DAS.CommitmentsV2.UnitTests.Services.EditValidation
{
public class ULNValidationTests
{
[Test]
public async Task Employer_Should_Not_Be_Able_To_Change_ULN()
{
... |
HairSalon/Views/Clients/Edit.cshtml | chloeloveall/HairSalon.Solution | 0 | 7052513 | <filename>HairSalon/Views/Clients/Edit.cshtml
@{
Layout = "_Layout";
}
@using HairSalon.Models
@model HairSalon.Models.Client
<h2>Edit</h2>
<h4>Edit this client: @Html.DisplayFor(model => model.ClientName)</h4>
@using (Html.BeginForm())
{
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Htm... |
modules/AWSPowerShell/Cmdlets/Chime/Basic/Update-CHMAccountSetting-Cmdlet.cs | ajsing/aws-tools-for-powershell | 181 | 7052514 | <reponame>ajsing/aws-tools-for-powershell<filename>modules/AWSPowerShell/Cmdlets/Chime/Basic/Update-CHMAccountSetting-Cmdlet.cs<gh_stars>100-1000
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed... |
CuteGame/Objects/Things/Battle/UI/ActionUI.cs | Imbutt/CuteGame | 0 | 7052515 | using CuteGame.Objects.Scenes;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Text;
namespace CuteGame.Objects.Things.Battle.UI
{
public class ActionUI : Thing
{
public SceneBattle ParentSceneBattle { get; set; }
... |
spring-petclinic-vets-service/src/main/Program.cs | ddieruf/spring-petclinic-azurespringcloud | 0 | 7052516 | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Steeltoe.Common.Hosting;
using Steeltoe.Discovery.Client;
using Steeltoe.Extensions.Configuration.ConfigServer;
using Steeltoe.Extensions.Logging;
using Steeltoe.Management.Endpoint;
namespace spring_petclinic_vets_api
{
public ... |
Assets/Scripts/Clusterization/Algorithms/PlanesDetectionAlgorithm.cs | dioram/Elektronik-Tools-2.0 | 7 | 7052517 | #if !NO_PLANES_DETECTION
using System.Collections.Generic;
using System.Linq;
using Elektronik.Clusterization.Algorithms.PlanesDetectionNative;
using Elektronik.Data.PackageObjects;
namespace Elektronik.Clusterization.Algorithms
{
public class PlanesDetectionAlgorithm : IClusterizationAlgorithm
{
publ... |
unityproject/CSBellard/Assets/FantomLib/Scripts/Module/Dialogs/SavedCheckedSwitcher.cs | adokichi/ComputeShader_Bellard | 36 | 7052518 | <filename>unityproject/CSBellard/Assets/FantomLib/Scripts/Module/Dialogs/SavedCheckedSwitcher.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace FantomLib
{
/// <summary>
/// SavedChecked Switcher
///・Switch the processing (c... |
tests/TrimDB.Benchmarks/Program.cs | gra-moore/TrimDB | 0 | 7052519 | <filename>tests/TrimDB.Benchmarks/Program.cs
using System;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
using TrimDB.Core.SkipList;
namespace TrimDB.Benchmarks
{
class Program
{
static async Task Main(string[] args)
{
//var sl = new SkipListInsert();
//s... |
TowerDefense/MapLocation.cs | ahoque29/TowerDefenseGame | 0 | 7052520 | <gh_stars>0
namespace TowerDefense
{
class MapLocation : Point // This signifies that MapLocation is a subclass of Point.
{
public MapLocation(int x, int y, Map map) : base(x, y)
{
// We tell the MapLocation constructor to take the constructor of its base class: Point.
// We also add an instance of the map... |
src/NuGetGallery/Migrations/201807181816293_SymbolPackages.cs | augustoproiete-forks/NuGet--NuGetGallery | 1,022 | 7052521 | <reponame>augustoproiete-forks/NuGet--NuGetGallery
namespace NuGetGallery.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class SymbolPackages : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.SymbolPackages",
... |
Unity Project/Assets/Shader/SurfaceShader/Deferred/InternalLighting/_LitTexB0.cs | eangulee/ShaderLab | 71 | 7052522 | <reponame>eangulee/ShaderLab
using UnityEngine;
using System.Collections;
public class _LitTexB0 : MonoBehaviour {
public GUISkin skin;
public Texture texB0;
public Rect recT;
public Renderer rd;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Upda... |
TQL.RDL/TQL.RDL.Evaluator/Instructions/AndInstruction.cs | Puchaczov/TQL.RDL | 3 | 7052525 | using System.Diagnostics;
namespace TQL.RDL.Evaluator.Instructions
{
[DebuggerDisplay("{GetType().Name,nq}: {ToString(),nq}")]
public class AndInstruction : IRdlInstruction
{
/// <summary>
/// Performs logical AND operation on two values on stack.
/// </summary>
/// <par... |
EssenceIoc/Essence.Ioc.UnitTests/ExtendableRegistration/RegistererTests.cs | tkratena/essence-ioc | 0 | 7052526 | <reponame>tkratena/essence-ioc
using System.Collections.Generic;
using NUnit.Framework;
namespace Essence.Ioc.ExtendableRegistration
{
[TestFixture]
public class RegistererTests
{
[Test]
public void AddRegistrationPassesRegistrationToRegisterer()
{
var spyRegisterer = n... |
EdNetApi/Journal/JournalEntries/MissionCompletedCommodityReward.cs | ambedatpro/ednetapi | 0 | 7052527 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MissionCompletedCommodityReward.cs" company="<NAME>">
// Copyright(c) 2017 <NAME>. All rights reserved.
// </copyright>
// --------------------------------------------------... |
Assets/Editor/Generated/Black/AIGraph/LeafNode/AI/Move/Buddy/AILeafNodePseudoInertia.generated.cs | Gurrimo/Luminaire | 0 | 7052528 | <reponame>Gurrimo/Luminaire<filename>Assets/Editor/Generated/Black/AIGraph/LeafNode/AI/Move/Buddy/AILeafNodePseudoInertia.generated.cs
//----------------------
// <auto-generated>
// This file was automatically generated. Any changes to it will be lost if and when the file is regenerated.
// </auto-generated>
//-------... |
WinTooltip/ToolTipWindow.cs | jeremytammik/WinCoords | 5 | 7052530 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace WinTooltip
{
// http://stackoverflow.com/questions/2461448/how-to-make-a-floating-tooltip-control-in-windows-forms
/// <summary>
/// A tooltip class to d... |
Runtime/Listeners/TransformEventListener.cs | sponticelli/LiteNinja-ScriptableObjectArchitecture | 1 | 7052531 | using UnityEngine;
namespace com.liteninja.soa.Listeners
{
[AddComponentMenu(
SOAConsts.MenuNameBase + "/Listeners/Transform Listener",
SOAConsts.MenuOrderUnityObjectEvent + 3
)]
public class TransformEventListener : AEventListener<Transform>
{
}
} |
Assets/Scripts/UI/Selection/IconController.cs | Charly6596/Cuvium | 3 | 7052532 | <reponame>Charly6596/Cuvium
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Cuvium.UI
{
public class IconController : MonoBehaviour
{
[SerializeField]
private Image image;
[SerializeField]
private Text l... |
src/client/Microsoft.Identity.Client/Platforms/iOS/IosWebUIFactory.cs | davidjohnoliver/microsoft-authentication-library-for-dotnet | 1 | 7052533 | <filename>src/client/Microsoft.Identity.Client/Platforms/iOS/IosWebUIFactory.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Identity.Client.Core;
using Microsoft.Identity.Client.Platforms.iOS.EmbeddedWebview;
using Microsoft.Identity.Client.Platforms... |
src/Ironclad.Client/Dto/Client.cs | jchannon/ironclad | 0 | 7052534 | <filename>src/Ironclad.Client/Dto/Client.cs
// Copyright (c) <NAME>.
// See the LICENSE file in the project root for more information.
#pragma warning disable CA1724
namespace Ironclad.Client
{
using System.Collections.Generic;
/// <summary>
/// Represents a client.
/// </summary>
pu... |
UIExt/cicons.cs | agustinsantos/FalconNet | 0 | 7052535 | <reponame>agustinsantos/FalconNet
using FalconNet.Common;
using FalconNet.Ui95;
using System;
using WORD = System.Int16;
using COLORREF = System.Int32;
using System.IO;
namespace FalconNet.UIExt
{
public class ARC_REC
{
#if USE_SH_POOLS
public:
// Overload new/delete to use a SmartHeap pool
void *oper... |
Vostok.ZooKeeper.Client.Abstractions/Model/Request/SetDataRequest.cs | ToshchevIvan/zookeeper.client.abstractions | 1 | 7052536 | using JetBrains.Annotations;
namespace Vostok.ZooKeeper.Client.Abstractions.Model.Request
{
/// <summary>
/// Represents ZooKeeper data write request.
/// </summary>
[PublicAPI]
public class SetDataRequest : ZooKeeperRequest
{
/// <param name="path">Full path to the node bein... |
src/Elcamino.IdentityServer4.AzureTableStorage/Mappers/PersistedGrantMappers.cs | origicom/identityserver4-azurestorage | 14 | 7052537 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
// Based on work from <NAME> & <NAME>, https://github.com/IdentityServer/IdentityServer4
using AutoMapper;
using ElCamino.IdentityServer4.AzureStorage.Helpers;
usin... |
src/Blazor.LocalStorage/ILocalStorageService.cs | colindembovsky/blazorators | 60 | 7052539 | <reponame>colindembovsky/blazorators
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.JSInterop;
[JSAutoInterop(
TypeName = "Storage",
Implementation = "window.localStorage",
HostingModel = BlazorHostingModel.Server,
OnlyGeneratePureJS = tr... |
WritingExporter.SimpleExporter/WStoryExporter.cs | infdre/WritingExporter.SimpleExporter | 5 | 7052540 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WritingExporter.SimpleExporter.Exceptions;
using WritingExporter.SimpleExporter.Models;
namespace WritingExporter.SimpleExporter
{
public class WStoryExporterUpdateEven... |
AlphaMapper.Renderer/Utility/HelperExtensions.cs | Bloyteg/AlphaMapper | 2 | 7052541 | // Copyright 2013 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... |
tests/Avalonia.RenderTests/Media/GeometryGroupTests.cs | jangernert/Avalonia | 13,764 | 7052542 | <reponame>jangernert/Avalonia
using System.Collections.Generic;
using System.Threading.Tasks;
using Avalonia.Controls;
using Avalonia.Controls.Shapes;
using Avalonia.Media;
using Avalonia.Media.Imaging;
using Xunit;
#if AVALONIA_SKIA
namespace Avalonia.Skia.RenderTests
#else
namespace Avalonia.Direct2D1.RenderTests.Me... |
SMSEditor/Forms/PaletteForm.Designer.cs | xfixium/SMSEditor | 8 | 7052544 | <gh_stars>1-10
namespace SMSEditor.Forms
{
partial class PaletteForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... |
src/Forms/XLabs.Forms.iOS/Services/FontManager.cs | eComanda/Xamarin-Forms-Labs | 1,407 | 7052545 | <filename>src/Forms/XLabs.Forms.iOS/Services/FontManager.cs
// ***********************************************************************
// Assembly : XLabs.Forms.iOS
// Author : <NAME>
// Created : 12-27-2015
//
// Last Modified By : XLabs Team
// Last Modified On : 01-04-2016
// ************... |
src/App/App.Dto/Request/TraceSearchRequest.cs | Screaming-Onion/CSharp-API-Project | 5 | 7052546 | <filename>src/App/App.Dto/Request/TraceSearchRequest.cs
namespace App.Dto.Request
{
public class TraceSearchRequest
{
public int Offset { get; set; }
public int Limit { get; set; }
public string Search { get; set; }
public string Sort { get; set; }
public string Orde... |
Automation/Job.cs | BryanApellanes/bam.net.shared | 0 | 7052547 | <filename>Automation/Job.cs
/*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bam.Net.Logging;
using System.Reflection;
namespace Bam.Net.Automation
{
/// <summary>
///... |
PrototypeStudio_Week11/Assets/Scripts/BTs.cs | palmmyvillage/PrototypeStudio_Week11 | 0 | 7052548 | <reponame>palmmyvillage/PrototypeStudio_Week11
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BTs : MonoBehaviour
{
public Sprite[] shape;
private SpriteRenderer self;
public int spriteCoolDown;
private int currentSpriteCool;
private State state;
... |
src/BeyondEarthApp.Web.Api/Controllers/V1/GamesController.cs | camjm/beyond-earth-app | 0 | 7052549 | using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
using BeyondEarthApp.Common;
using BeyondEarthApp.Data.QueryProcessors;
using BeyondEarthApp.Web.Api.InquiryProcessing;
using BeyondEarthApp.Web.Api.MaintenanceProcessing;
using BeyondEarthApp.Web.Api.Models;
using BeyondEarthApp.Web.Api.Models.... |
src/GameData/DaoJuKu.cs | moto2002/tianqi_src | 5 | 7052550 | <filename>src/GameData/DaoJuKu.cs<gh_stars>1-10
using ProtoBuf;
using System;
using System.ComponentModel;
namespace GameData
{
[ProtoContract(Name = "DaoJuKu")]
[Serializable]
public class DaoJuKu : IExtensible
{
private int _id;
private string _holdName = string.Empty;
private int _Model;
private int ... |
LEGACY_NeuralNetworksAndDeepLearning/CrossEntropy.cs | HadiSalehWeb/NeuralNetworksAndDeepLearning | 2 | 7052551 | <reponame>HadiSalehWeb/NeuralNetworksAndDeepLearning
using System;
using System.Collections.Generic;
using System.Text;
namespace NeuralNetworksAndDeepLearning
{
public class CrossEntropy : ICost
{
public float Cost(float[] activations, float[] outputs)
{
float cost = 0f;
... |
Scripts/VoxelRenderer.cs | cowtrix/voxul | 18 | 7052552 | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Serialization;
using Voxul.Meshing;
using Voxul.Utilities;
namespace Voxul
{
[SelectionBase]
[ExecuteInEditMode]
public class VoxelRenderer : MonoBehaviour
{
public V... |
Acr.XamForms.SignaturePad.Droid/SignaturePadRenderer.cs | ltquang3/acr-xamarin-forms | 212 | 7052553 | <filename>Acr.XamForms.SignaturePad.Droid/SignaturePadRenderer.cs<gh_stars>100-1000
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Linq;
using Acr.XamForms.SignaturePad;
using Acr.XamForms.SignaturePad.Droid;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
usin... |
Assets/Scripts/Objectives/MoveToArea.cs | momo1478/GMTK-GameJam-2020 | 0 | 7052554 | <gh_stars>0
using System;
using System.Collections;
using System.Linq;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
using Random = UnityEngine.Random;
namespace Objectives {
public class MoveToArea : Objective {
private Transform playerTr;
public Transform targetTr { get; private se... |
ThScoreFileConverter/Models/Th165/HashtagFields.cs | armadillo-winX/ThScoreFileConverter | 16 | 7052555 | //-----------------------------------------------------------------------
// <copyright file="HashtagFields.cs" company="None">
// Copyright (c) <NAME>.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//---------------------------------... |
sources/MapperDslLib/Runtime/Accessor/FieldGetAccessor.cs | cllafleur/CustomMapper | 1 | 7052556 | using System.Reflection;
namespace MapperDslLib.Runtime.Accessor;
class FieldGetAccessor : IGetAccessor
{
private PropertyInfo prop;
public IGetAccessor Next { get; set; }
public FieldGetAccessor(PropertyInfo prop)
{
this.prop = prop;
}
public IEnumerable<object> Get... |
R3M_UserManagement_WebApi/Startup.cs | renamed/R3M_UserManagement | 0 | 7052557 | <filename>R3M_UserManagement_WebApi/Startup.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microso... |
External/Plugins/TaskListPanel/PluginUI.cs | Klug76/flashdevelop | 2 | 7052558 | <reponame>Klug76/flashdevelop<filename>External/Plugins/TaskListPanel/PluginUI.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using System... |
tests/Man.Dapr.Sidekick.AspNetCore.Tests/Metrics/PrometheusCollectorRegistryTests.cs | fbridger/dapr-sidekick-dotnet | 88 | 7052559 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using NSubstitute;
using NUnit.Framework;
namespace Man.Dapr.Sidekick.AspNetCore.Metrics
{
public class PrometheusCollectorRegistryTests
{
public class CollectAndExportAsTextAsync
{
... |
ReportObjects/Grant/Maps/ObjectTypeGrantMap.cs | Snowflake-Labs/sfgrantreport | 37 | 7052560 | // Copyright (c) 2021 Snowflake Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable... |
src/System.Reflection.Metadata/tests/Metadata/HandleTests.cs | arnononline/corefx | 1 | 7052561 | <reponame>arnononline/corefx
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using Xunit;
namespace System.Reflection.Me... |
Assets/Scripts/NumberSelector.cs | HactarCE/ICE | 0 | 7052562 | <reponame>HactarCE/ICE<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class NumberSelector : MonoBehaviour
{
public int[] Options;
public int SelectedIndex;
public GameObject Label;
[System.Serializable]... |
MSFS_FlightTracker/Utils/Utils.cs | fiftysixkbit/MSFS_FlightTracker | 0 | 7052563 | using System;
namespace MSFS_FlightTracker.Utils
{
class Utils
{
public static Uri GetPlaneImageFileFromHeading(double heading)
{
string filenameDeg = "360";
if (heading >= 2.5 && heading < 7.5)
{
filenameDeg = "005";
}
... |
src/Rinsen.Outback/Helpers/AbnfValidationHelper.cs | Rinsen/Outback | 0 | 7052564 | using System.Collections.Generic;
namespace Rinsen.Outback.Helpers;
/// <summary>
/// Helper for validating string with Augmented Backus–Naur form
/// </summary>
public class AbnfValidationHelper
{
private static readonly HashSet<char> _validCaracters = new()
{
'A', 'B', 'C', 'D', 'E', 'F', '... |
Src/SDK/Common/Temporal.Api.Enums.V1/public/WorkflowExecutionStatusExtensions.cs | macrogreg/sdk-dotnet | 2 | 7052565 | <reponame>macrogreg/sdk-dotnet
using System;
namespace Temporal.Api.Enums.V1
{
public static class WorkflowExecutionStatusExtensions
{
public static bool IsTerminal(this WorkflowExecutionStatus status)
{
switch (status)
{
case WorkflowExecutionStatus.Uns... |
snippets/csharp/VS_Snippets_VBCSharp/VbPowerPacksSimpleShapeBottom/CS/SimpleShapeBottom.cs | BohdanMosiyuk/samples | 2 | 7052566 | <filename>snippets/csharp/VS_Snippets_VBCSharp/VbPowerPacksSimpleShapeBottom/CS/SimpleShapeBottom.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace VbPowerPacksSimpleShape... |
Sources/System/DataTypes/IntRange.cs | silphid/silphid.unity | 32 | 7052567 | <reponame>silphid/silphid.unity
using System.Collections;
using System.Collections.Generic;
using Silphid.Extensions;
namespace Silphid.DataTypes
{
public readonly struct IntRange : IEnumerable<int>
{
public static IntRange Empty = new IntRange(int.MaxValue, int.MinValue);
public readonly int... |
Assets/Triggers/TextTrigger/TextTrigger.cs | arturnista/fpsgame_unity | 0 | 7052568 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class TextTrigger : MonoBehaviour {
public string text;
private TextMeshPro m_Text;
private Player m_Player;
void Awake () {
m_Text = GetComponentInChildren<TextMeshPro>();
m_Text.text = text;
m_Text.gameOb... |
ScientificReport.DTO/Models/Membership/MembershipModel.cs | lnupmi11/ScientificReport | 3 | 7052569 | using System.ComponentModel.DataAnnotations;
namespace ScientificReport.DTO.Models.Membership
{
public class MembershipModel
{
[Required]
public DAL.Entities.Membership.Types MemberOf { get; set; }
[Required]
public string MembershipInfo { get; set; }
public DAL.Entities.UserProfile.UserProfile User { ... |
CsvImportUtility/ImportHandler.cs | frankfajardo/CsvHelperWrapper | 0 | 7052570 | <filename>CsvImportUtility/ImportHandler.cs
using CsvHelper;
using CsvHelper.Configuration;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CsvImportUtility
{
/// <summary>
/// A helpe... |
src/Ragnarok.AgentApi/Models/TunnelApi/TunnelMetrics.cs | 0phois/Ragnarok | 1 | 7052571 | <reponame>0phois/Ragnarok
using System.Text.Json.Serialization;
namespace Ragnarok.AgentApi.Models
{
/// <summary>
/// Metrics information about the running ngrok process
/// </summary>
public class TunnelMetrics
{
/// <summary>
/// Connection rates and connection duration percenti... |
Extensions/CorrelationIdEnricher.cs | raznerdeveloper/aspdotnetcore-boilerplate | 0 | 7052573 | <gh_stars>0
using System;
using Serilog.Core;
using Serilog.Events;
namespace WebApi.Extensions
{
public class CorrelationIdEnricher : ILogEventEnricher
{
private readonly string _propertyName;
public CorrelationIdEnricher(string propertyName)
{
_propertyName = propertyName... |
Alternatives.ConversionExtensionsTests/ToIntTest.cs | AdemCatamak/alternatives | 1 | 7052575 | using System;
using Alternatives.ConversionExtensions;
using Xunit;
namespace Alternatives.ConversionExtensionsTests
{
public class ToIntTest
{
[Fact]
public void Alternatives_UnitTest_ExtensionsTest__ToInt_Null()
{
Assert.Throws<NullReferenceException>(() => ((object) null... |
dbdesigner/Bing.DbDesigner.Service/Dtos/Projects/Extensions/Extensions.SolutionDto.cs | hanabi1224/Bing.NetCore | 1 | 7052576 | <gh_stars>1-10
using Bing;
using Bing.Extensions.AutoMapper;
using Bing.DbDesigner.Projects.Domain.Models;
using Bing.Utils.Extensions;
namespace Bing.DbDesigner.Service.Dtos.Projects.Extensions {
/// <summary>
/// 解决方案数据传输对象扩展
/// </summary>
public static class SolutionDtoExtension {
/// <su... |
src/CosmosDBStudio.Model/Services/IDocumentService.cs | ricardopinedathen/CosmosDBStudio | 0 | 7052577 | using System.Threading;
using System.Threading.Tasks;
using Hamlet;
using Newtonsoft.Json.Linq;
namespace CosmosDBStudio.Model.Services
{
public interface IDocumentService
{
Task<JObject> CreateAsync(JObject document, Option<object?> partitionKey, CancellationToken cancellationToken);
Task<JOb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.