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 |
|---|---|---|---|---|
Assets/Scripts/_Game/Entity.cs | DanielJaska/JaskaDaniel_P03 | 0 | 7053003 | <reponame>DanielJaska/JaskaDaniel_P03
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Entity : MonoBehaviour
{
[SerializeField] protected Image image;
[SerializeField] int _maxHealth = 10;
public int currentHealth = 10;
[SerializeFiel... |
Compiler/Parser/ParseTree/OpChain.cs | blakeohare/crayon | 107 | 7053004 | <reponame>blakeohare/crayon
using Parser.Resolver;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Parser.ParseTree
{
internal class OpChain : Expression
{
public Expression Left { get; private set; }
public Expression Right { get; private set; }
... |
InstrumentedLibrary/Mathmatics/Matrix/GeneralMatrix/GeneralMatrixDecomposeToLowerUpperTests.cs | Shkyrockett/CSharpSpeed | 0 | 7053005 | using CSharpSpeed;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace InstrumentedLibrary
{
/// <summary>
///
/... |
Assets/Bellum/Scripts/CardManager/CardStats.cs | sansan-33/bellum | 0 | 7053006 | <reponame>sansan-33/bellum<filename>Assets/Bellum/Scripts/CardManager/CardStats.cs<gh_stars>0
using System;
using UnityEngine;
using static SpecialAttackDict;
public class CardStats : MonoBehaviour
{
public int star;
public int cardLevel;
public int health;
public int attack;
public float repeatA... |
mcs/errors/cs1537-3.cs | lefb766/mono | 469 | 7053007 | <filename>mcs/errors/cs1537-3.cs
// CS1537: The using alias `A' appeared previously in this namespace
// Line: 6
// Compiler options: -r:CSExternAlias-lib.dll
extern alias A;
extern alias A;
|
PackageInspector/Controls/ComponentEventArgs.cs | SpotLabsNET/PackageAdjuster | 0 | 7053008 | <reponame>SpotLabsNET/PackageAdjuster<filename>PackageInspector/Controls/ComponentEventArgs.cs
// Decompiled with JetBrains decompiler
// Type: PackageInspector.Controls.ComponentEventArgs
// Assembly: PackageInspector, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: E560708D-177B-49EF-9D68-... |
src/JoinRpg.Dal.Impl/Migrations/202110241232502_RequireClaimResponsible.cs | joinrpg/joinrpg-ne | 22 | 7053009 | <filename>src/JoinRpg.Dal.Impl/Migrations/202110241232502_RequireClaimResponsible.cs
namespace JoinRpg.Dal.Impl.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RequireClaimResponsible : DbMigration
{
public override void Up()
{
// ... |
src/VolskNet.ExTools/ExcelTemplate.cs | wolsk1/VolskSoft | 0 | 7053010 | <filename>src/VolskNet.ExTools/ExcelTemplate.cs<gh_stars>0
namespace VolskSoft.ExTools
{
using OfficeOpenXml;
using OfficeOpenXml.DataValidation.Contracts;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
public c... |
Org.OpenAPITools/Model/TokenAuthRequestBody.cs | tahirahmed76/AssemblyPay.Sdk | 0 | 7053011 | <reponame>tahirahmed76/AssemblyPay.Sdk
/*
* Assembly API
*
* Assembly (formely PromisePay) is a powerful payments engine custom-built for platforms and marketplaces.
*
* The version of the OpenAPI document: 2.0
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using S... |
CSharp-Web-Basics/Exams/Exam-18-Dec-2018/App/Musaca.Services/OrdersService.cs | kalintsenkov/SoftUni-Software-Engineering | 8 | 7053012 | <reponame>kalintsenkov/SoftUni-Software-Engineering<filename>CSharp-Web-Basics/Exams/Exam-18-Dec-2018/App/Musaca.Services/OrdersService.cs<gh_stars>1-10
namespace Musaca.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using Contracts;
using Data;
using Models;
... |
ITSWebMgmt/WebMgmtErrors/WebMgmtError.cs | mathgaming/AAUWebMgmt-2 | 1 | 7053013 | <filename>ITSWebMgmt/WebMgmtErrors/WebMgmtError.cs
using ITSWebMgmt.Controllers;
using ITSWebMgmt.Caches;
using System.Management;
namespace ITSWebMgmt.WebMgmtErrors
{
public static class Severity
{
public const int Info = 2;
public const int Warning = 1;
public const int Error = 0;
... |
GUI/Wrappers/ConfirmBox.cs | SirVeggie/WinDocker | 0 | 7053014 | using System;
using System.Threading.Tasks;
namespace Apprentice.GUI {
public class ConfirmBox : GuiContainer<ConfirmationForm> {
public bool LastResult => Form.LastResult;
public string Title => Execute(() => Form.Title);
public string Content => Execute(() => Form.Content);
pub... |
samples/SampleState/State/Reducers/ProfileReducer.cs | koimad/NetRx.Store | 16 | 7053015 | using System.Collections.Immutable;
using NetRx.Store;
using actions = SampleState.State.Actions;
namespace SampleState.State.Reducers
{
public struct Contact
{
public string Name { get; set; }
public string Email { get; set; }
}
public struct ProfileState
{
public string... |
Libs/GizmoFort.Connector.ERPNext/ERPTypes/Budget_account/ERPBudget_account.cs | dmequus/gizmofort.connector.erpnext | 0 | 7053016 | using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Budget_account
{
public class ERPBudget_account : ERPNextObjectBase
{
public ERPBudget_account() : this(new ERPObject(DocType.Budget_... |
UniActors/Demo/Examples/ActorInfoModel/Scripts/SampleTypedAsyncActorInfo.cs | alextychan/UniModules | 25 | 7053017 | <filename>UniActors/Demo/Examples/ActorInfoModel/Scripts/SampleTypedAsyncActorInfo.cs
namespace UniModules.UniActors.Demo.Examples.ActorInfoModel.Scripts
{
using System.Threading.Tasks;
using Runtime.ActorData;
using UnityEngine;
[CreateAssetMenu(menuName = "UniNodeActors/Demo/SampleActorInfo",fileNam... |
src/GraphQL/Utilities/Federation/FederatedSchema.cs | SebastianStehle/graphql-dotnet | 3 | 7053018 | using System;
using GraphQL.Types;
namespace GraphQL.Utilities.Federation
{
public class FederatedSchema
{
public static ISchema For(string[] typeDefinitions, Action<FederatedSchemaBuilder> configure = null)
{
var defs = string.Join("\n", typeDefinitions);
return For(def... |
src/main/csharp/NmsChannelFactory.cs | malibu/Custom.Channel | 1 | 7053019 | <filename>src/main/csharp/NmsChannelFactory.cs
/*
* 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 Li... |
src/Commons/Xngine.Tools.Commons/CommandLineFramework/CommandLineArgsParser.cs | Harunx9/Xngine.Tools | 0 | 7053020 | <filename>src/Commons/Xngine.Tools.Commons/CommandLineFramework/CommandLineArgsParser.cs
using System.Collections.Generic;
using System.Linq;
using Xngine.Tools.Commons.CommandLineFramework.Exceptions;
namespace Xngine.Tools.Commons.CommandLineFramework
{
public class CommandLineArgsParser
{
private r... |
src/Steppenwolf/Extensions/HostExtensions.cs | 043Tech/Steppenwolf | 0 | 7053021 | using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Steppenwolf.Auth;
using Steppenwolf.Models;
using Steppenwolf.PostgresRepositories.Context;
namespace Steppenwolf.Extensions
{
public s... |
Reflyn/Expressions/NativeExpression.cs | CDMayberry/Reflyn | 0 | 7053022 | namespace Reflyn.Expressions
{
// This is directly passed CodeDOM expression, which is not great...
// TODO: Should this just become CodeSnippets? I don't know if Roslyn has the concept of Native Expressions...
/*public class NativeExpression : Expression
{
public CodeExpression Expression { get... |
src/TensorFlowNET.Core/Operations/image_ops_impl.cs | BlueCode2019/TensorFlow.NET | 1 | 7053023 | /*****************************************************************************
Copyright 2020 <NAME>. 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:/... |
src/MainWindow.xaml.cs | AdisonCavani/RSA-WPF | 2 | 7053024 | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Update;
namespace RSA_WPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
Initia... |
code/src/Plexdata.ModelGenerator/Creators/CodeCreator.cs | akesseler/ModelGenerator | 3 | 7053025 | /*
* MIT License
*
* Copyright (c) 2020 <EMAIL>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
common/src/Microsoft.Azure.IIoT.Hub.Processor/src/Runtime/EventProcessorConfig.cs | jaz230/Industrial-IoT | 1 | 7053026 | <filename>common/src/Microsoft.Azure.IIoT.Hub.Processor/src/Runtime/EventProcessorConfig.cs<gh_stars>1-10
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license ... |
VirtualAudioCable-CS/VirtualAudioCable-CS/Configuration/Configurator.cs | EinfachEinAlex/VirtualAudioCable-LoopbackSetup | 5 | 7053027 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace VirtualAudioCable_CS.Configuration
{
class Configurator
{
private ConfigStore configStore;
private const st... |
GW2PAO.API/Data/Enums/ItemType.cs | Marmatt/GW2-repo | 149 | 7053028 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GW2PAO.API.Data.Enums
{
public enum ItemType
{
Armor,
Back,
Bag,
Consumable,
Container,
CraftingMaterial,
Gathering,
Giz... |
SheddingCardGames/SheddingCardGame.UI/Config.cs | JonQuxBurton/CardGames | 0 | 7053029 | <reponame>JonQuxBurton/CardGames
using System.Drawing;
namespace SheddingCardGame.UI
{
public class Config
{
public int ScreenHeight { get; set; } = 800;
public int ScreenWidth { get; set; } = 1200;
public int SpriteSheetCardWidth { get; set; } = 154;
public int SpriteSheetCard... |
src/PedroLamas.OtherSide.WP8/Model/IMainModel.cs | PedroLamas/PedroLamas.OtherSide | 1 | 7053030 | <filename>src/PedroLamas.OtherSide.WP8/Model/IMainModel.cs
namespace PedroLamas.OtherSide.Model
{
public interface IMainModel
{
Coordinate Position { get; set; }
Coordinate Center { get; set; }
double ZoomLevel { get; set; }
}
} |
Competitive.Library/Math/MathLibEx.cs | naminodarie/AtCoderProject | 2 | 7053031 | using AtCoder;
using AtCoder.Operators;
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
namespace Kzrnm.Competitive
{
using static MethodImplOptions;
public static class MathLibEx
{
/// <summary>
/// 最大公約数
/// </summary>
[MethodImpl(AggressiveInl... |
AppInstallerFileBuilder/AppInstallerFileBuilder/Views/GenerateXMLView.xaml.cs | qmatteoq/MSIX-Toolkit | 0 | 7053032 | using AppInstallerFileBuilder;
using AppInstallerFileBuilder.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Windows.Stora... |
Source/DatabaseScripter.cs | m-nasif/VersionDB | 0 | 7053033 | <gh_stars>0
/*
* Copyright 2006 <NAME>
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appears in all copies and that
* both that copyright notice and this permission notice appear ... |
FluentResponsePipeline/ResponseHandler.cs | PeshekhonovK/FluentResponsePipeline | 0 | 7053034 | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using FluentResponsePipeline.Contracts.Internal;
using FluentResponsePipeline.Contracts.Public;
namespace FluentResponsePipeline
{
internal class ResponseHandler<TFrom, TRequestResult, TResult, TActionResult> :
ResponseHandlerB... |
Example/ExampleFunctionAppProject/Functions/SubmitUserFunctions.cs | UNIFYSolutions/Unify.AzureFunctionAppTools | 0 | 7053035 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Unify.AzureFunctionAppTools;
using Unify.AzureFunctionAppTools.ExceptionHandling;
using System;
using System.Collections.Generic;
namespace ... |
mcc.Test/ConstantParseFilterTest.cs | mitchfizz05/mcc | 0 | 7053036 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using mcc.Command;
using mcc.Command.Tokens;
using mcc.Parser.ParseFilters;
using NUnit.Framework;
namespace McFuncCompiler.Test
{
[TestFixture]
public class ConstantParseFilterTest... |
Assets/Scripts/BreakoutArea.cs | pranavmujumdar/AtariBreakOutAI | 0 | 7053037 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BreakoutArea : MonoBehaviour
{
public GameObject brick;
public List<GameObject> brickSpawnPositions;
public void brickSpawn()
{
foreach (GameObject g in brickSpawnPositions)
{
//D... |
Microsoft.Research/Contracts/System/System.CodeDom.Compiler.CompilerParameters.cs | jeroen-mostert/CodeContracts | 778 | 7053038 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
sdk/dotnet/AppAutoScaling/Outputs/PolicyTargetTrackingScalingPolicyConfiguration.cs | alexbowers/pulumi-aws | 260 | 7053039 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
exercises/ex037/ex037/Program.cs | gpe0/csharp-exercises | 5 | 7053040 | using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Specialized;
using System.Dynamic;
namespace ex037
{
//Operator overloading
class Box
{
public double Height { get; set; }
public double Width { get; set; }
public Box(double w, double h)
{... |
Scripts/Common/Carousel/DataSource/SimpleDataSource.cs | Armiki/Gamla.io-SDK | 0 | 7053041 | <reponame>Armiki/Gamla.io-SDK
using System;
namespace Gamla.UI.Carousel
{
public abstract class SimpleDataSource : IScrollElementsDataSource
{
protected abstract IScrollElementsHolder internalHolder { get; }
public abstract void ElementSizeChanged(int index, float newSize);
#region ISc... |
ProjetoPDVModel/Produto.cs | RodolphoChagas/ProjetoPDV | 1 | 7053042 | <reponame>RodolphoChagas/ProjetoPDV
using System;
using PetaPoco;
namespace ProjetoPDVModel
{
[PrimaryKey("produto_id")]
public class Produto
{
[Column("produto_id")]
public int ProdutoId { get; set; }
public string Descricao { get; set; }
public int Estoque { get; set; }
... |
Sets and Dictionaries Advanced/Problem 1. Unique Usernames/Problem 1. Unique Usernames/Program.cs | hristokrastev/CSharpAdvace | 0 | 7053043 | <filename>Sets and Dictionaries Advanced/Problem 1. Unique Usernames/Problem 1. Unique Usernames/Program.cs
using System;
using System.Collections.Generic;
namespace Problem_1._Unique_Usernames
{
class Program
{
static void Main(string[] args)
{
var number = int.Parse(Console.Read... |
site/HackathonSite/HackathonSite/Data/TuitionStat.cs | broniec/sjh | 0 | 7053044 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HackathonSite.Data
{
public class TuitionStat
{
public int Id { get; set; }
// Foreign Key
public int CompanyId { get; set; }
// Quick Sorting
public int Ordinal {... |
03. Extension Methods Delegates Lambda LINQ/08.Events/Timer.cs | galinam/C-Sharp-OOP | 0 | 7053045 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
//using System.Timers;
namespace _08.Events
{
class Timer
{
public delegate void MyDelegate();
//? public delegate void ElapsedEventHandler(object se... |
test/Optsol.Components.Test.Utils/ViewModels/TestResponseDto.cs | optsoldev/sdk-backend | 13 | 7053046 | using Optsol.Components.Application.DataTransferObjects;
using Optsol.Components.Test.Utils.Contracts;
using System;
namespace Optsol.Components.Test.Utils.ViewModels
{
public class TestResponseDto : BaseDataTransferObject
{
public Guid Id { get; set; }
public string Nome { get; set; }
... |
src/client/gta/Assets/Scripts/UI/UIEventHandle.cs | Game-TA/gta | 0 | 7053047 | <reponame>Game-TA/gta<filename>src/client/gta/Assets/Scripts/UI/UIEventHandle.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIEventHandle : MonoBehaviour {
public delegate void DBottomButtonClick(MoveScrollViewContent.TABNUMBER tabNumber);
public static event ... |
WindowsFormsFinal/User Interface/Manager.Designer.cs | Chathray/SubjectManager | 1 | 7053049 | namespace WindowsFormsFinal
{
partial class Main_Manager
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Tailviewer.Archiver/Plugins/PluginDescription.cs | fhmcn/Tailviewer | 0 | 7053050 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Media;
namespace Tailviewer.Archiver.Plugins
{
/// <summary>
/// Describes a plugin that is located inside a .NET assembly.
/// </summary>
public sealed class PluginDescription
: IPluginDescription
{
... |
Commands/Help.cs | TannerCS/DiscordRCON | 1 | 7053051 | <reponame>TannerCS/DiscordRCON<filename>Commands/Help.cs
using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace DiscordRCON.Commands
{
public class Help : ModuleBase<SocketCommandContext>
{... |
app/Desktop/Main/WelcomeScreenModel.cs | TheTechRobo/Discord-History-Tracker | 0 | 7053052 | <reponame>TheTechRobo/Discord-History-Tracker<gh_stars>0
using System;
using System.IO;
using System.Threading.Tasks;
using Avalonia.Controls;
using DHT.Desktop.Common;
using DHT.Desktop.Dialogs;
using DHT.Desktop.Models;
using DHT.Server.Database;
namespace DHT.Desktop.Main {
public class WelcomeScreenModel : BaseMo... |
samples/Playground/src/Playground/Features/Tables/List.cshtml | mirufx/miru | 1 | 7053053 | @model TableList.Result
<div class="card mb-4">
<div class="card-body">
<h3>Tables</h3>
<div class="row my-3 mx-1">
<div class="col-md-12">
<div>
<i class="fas fa-plus"></i>
@* <a for="@(new UserNew())">New User</a> *@
... |
src/DotNet/Result/Reasons/ExceptionalError.cs | stize/dotnet | 6 | 7053054 | <reponame>stize/dotnet<gh_stars>1-10
using System;
namespace Stize.DotNet.Result.Reasons
{
public class ExceptionalError : Error
{
public Exception Exception { get; }
public ExceptionalError(Exception exception, string message) : base(message)
{
this.Exception = exception;... |
FindSurfaceRevitPlugin/GUI/System.Windows.Forms/Notice/NoticeForm.cs | CurvSurf/FindSurface-Sample-FindSurfaceRevitPlugin | 1 | 7053055 | <filename>FindSurfaceRevitPlugin/GUI/System.Windows.Forms/Notice/NoticeForm.cs<gh_stars>1-10
using System;
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;
namespace F... |
Assets/Scripts/XRInput.cs | TusiimeAllan/VR_Vaccination_Sensitization | 0 | 7053056 | using System;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.XR;
using UnityEngine.XR.Interaction.Toolkit;
[Serializable] public class BoolEvent : UnityEvent<bool> { }
public class XRInput : MonoBehaviour
{
[SerializeField] XRController controller;
[SerializeField] XRBinding[] binding... |
AdminTabHardwarePlugin/Admin/AdminTabHardwarePlugin.cs | joshooaj/mipsdk-samples-plugin | 6 | 7053057 | <reponame>joshooaj/mipsdk-samples-plugin<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VideoOS.Platform;
using VideoOS.Platform.Admin;
namespace AdminTabHardwarePlugin.Admin
{
public class AdminTabHardwarePlugin : TabPlugin
... |
Assets/FinalAssets/BulletPrefabs/BombDestruction.cs | FragileXD/Core-Attack | 0 | 7053058 | using UnityEngine;
using System.Collections;
public class BombDestruction : MonoBehaviour {
//public GameObject explosion;
AudioSource ass;
void Start()
{
ass = GetComponent<AudioSource>();
ass.Play();
StartCoroutine("selfDestruct");
}
IEnumerator selfDestruct()
{
... |
MemoEngine/Trees/TreeSidebarUserControl.ascx.cs | VisualAcademy/Trees | 0 | 7053059 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Web.UI;
using Trees.Models;
namespace MemoEngine.Trees
{
public partial class TreeSidebarUserControl : System.Web.UI.UserControl
{
// 모델 개체 생성: 모든 메뉴 가져오기
public List<Tree> Model { get; set; } = new List<... |
src/GraphExpression/EntityFactory/TypeDiscovery/DictionaryItemTypeDiscovery.cs | juniorgasparotto/EntityGraph | 1 | 7053060 | using GraphExpression.Utils;
using System;
using System.Collections;
using System.Collections.Generic;
namespace GraphExpression
{
/// <summary>
/// Class default to discovery dictionary item type
/// </summary>
public class DictionaryItemTypeDiscovery : ITypeDiscovery
{
/// <summary>
... |
src/EnterpriseLibrary.SemanticLogging.Sentry/SentrySinkExtentions.cs | richardszalay/semantic-logging-sentry | 5 | 7053061 | <reponame>richardszalay/semantic-logging-sentry
using System;
using System.Threading;
using Microsoft.Practices.EnterpriseLibrary.SemanticLogging;
using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility;
using SharpRaven;
namespace EnterpriseLibrary.SemanticLogging.Sentry
{
public static class SentryS... |
src/Gate.cs | Artintrex/UnityMachines | 0 | 7053062 | <gh_stars>0
using UnityEngine;
namespace MachineParts.Scripts
{
public class Gate : Machine
{
Vector3 LockedPosition;
[Tooltip("How much this door moves")]
public Vector3 OpenDistance;
public enum mode
{
Trigger,
Progressive
}
pub... |
MusicFestival/samples/EPiServer.ContentApi.MusicFestival/Models/Media/ImageFile.cs | episerver/ascend2018-lab-extend-ui | 3 | 7053064 | using EPiServer.Core;
using EPiServer.DataAnnotations;
using EPiServer.Framework.DataAnnotations;
namespace EPiServer.ContentApi.MusicFestival.Models.Media
{
[ContentType(DisplayName = "Image File", GUID = "a736bc13-d17c-46e2-ad5d-e37bd3af086b", AvailableInEditMode = false)]
[MediaDescriptor(ExtensionString =... |
Heat.Persistance/Entities/SP_Buscar_RutasInfo.cs | heat-project/heat-webapi | 0 | 7053065 | <reponame>heat-project/heat-webapi
namespace Heat.Persistance.Entities
{
public class SP_Buscar_RutasInfo
{
public int ID { get; set; }
public string Descripcion { get; set; }
public string Color { get; set; }
public string Code { get; set; }
public string Ubicacion { ge... |
Bitbird.Core/ApiErrors/ApiErrorMessages.Designer.cs | bitbird-dev/Bitbird.Core | 0 | 7053066 | <filename>Bitbird.Core/ApiErrors/ApiErrorMessages.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be los... |
samples/Owin/OwinHostSample/Views/Register/Index.cshtml | ankeshdave/BrockAllen.MembershipReboot | 1 | 7053067 | <filename>samples/Owin/OwinHostSample/Views/Register/Index.cshtml
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase
@{
ViewBag.Title = "Register";
}
<h2>Register</h2>
<form action="~/Register" method="post">
<fieldset class="editor small">
<legend>@ViewBag.Title</legend>
@foreach (var pro... |
Assets/UGF.Module.Serialize.Runtime.Tests/TestSerializeModule.cs | unity-game-framework/ugf-module-serialize | 0 | 7053068 | using NUnit.Framework;
using UGF.Application.Runtime;
using UnityEngine;
namespace UGF.Module.Serialize.Runtime.Tests
{
public class TestSerializeModule
{
[Test]
public void Initialize()
{
var asset = Resources.Load<SerializeModuleAsset>("Module");
var applicati... |
ContestDetail.cshtml | eliotamal03/urban-desk | 1 | 7053069 | @{
ViewData["Title"] = "Contest";
}
@model D11Analytics.ViewModels.ContestDetails
<h2>Contest</h2>
<div class="row" style="margin-top: 5%;">
@foreach (var items in Model.ContestAdditionalLst)
{
<div class="col-sm-6 col-xs-12 col-lg-4 col-md-4">
<div class="panel panel-default... |
Common/Interfaces/IRoom.cs | martine-dowden/WebsiteAndApi | 12 | 7053070 | using System;
namespace DevSpace.Common {
public interface IRoom {
int Id { get; }
string DisplayName { get; }
IRoom UpdateId( int newId );
IRoom UpdateDisplayName( string newDisplayName );
}
}
|
Source/Mosa.Compiler.Linker/PE/PELinker.cs | Kintaro/MOSA-Project | 0 | 7053071 | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Common;
using Mosa.Compiler.LinkerFormat.PE;
using System;
using System.IO;
using System.Text;
namespace Mosa.Compiler.Linker.PE
{
public class PELinker : BaseLinker
{
#region Constants
/// <summary>
/// Specifies the def... |
src/net6/CGH Bundle/Generators/AutoMapperProfileGenerator.cs | SaberVS7/CodeGenHero-Blazor-Templates | 0 | 7053072 | <reponame>SaberVS7/CodeGenHero-Blazor-Templates
using CodeGenHero.Core.Metadata.Interfaces;
using CodeGenHero.Inflector;
using CodeGenHero.Template.Helpers;
using CodeGenHero.Template.Models;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CodeGenHero.Template.Blazor6.Generators
{
... |
AspNetDependencyInjection/AspNetDependencyInjection.Services/WebConfiguration/IWebConfigurationExtensions.cs | watfordgnf/AspNetDependencyInjection | 14 | 7053073 | <reponame>watfordgnf/AspNetDependencyInjection
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
namespace AspNetDependencyInjection
{
/// <summary>Provides useful extension methods for <see cref="IWebConfiguration"/> implementations.</summary>
public static clas... |
Tests/ItemTests.cs | lukesampson/HastyAPI.FreshBooks | 1 | 7053074 | <filename>Tests/ItemTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HastyAPI.FreshBooks.Tests {
public class ItemTests {
public void CreateItem() {
var res = FreshBooks.CreateRequestX... |
Data.Abstractions/IConnectionStringRepository.cs | lucil/SqlAzureMonitor | 2 | 7053075 | <filename>Data.Abstractions/IConnectionStringRepository.cs
using System;
using System.Collections.Generic;
using System.Text;
using Models;
namespace Data.Abstractions
{
public interface IConnectionStringRepository
{
WellKnownConnectionStringCheckResult CheckConnectionString(string connectionString);
... |
MoyskleyTech.ImageProcessing.Recognition/ConnexMatching.cs | moyskleytech/ImageProcessin | 1 | 7053076 | <filename>MoyskleyTech.ImageProcessing.Recognition/ConnexMatching.cs
using MoyskleyTech.ImageProcessing.Image;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoyskleyTech.ImageProcessing.Recognition
{
public static class ConnexMatching
... |
Assets/Scripts/Stubs/Generated/Assembly-CSharp/Const/camp/Index.cs | tech-ticks/RTDXTools | 1 | 7053077 | /*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 4339-9572
na... |
src/Tweetinvi.Core/Public/Parameters/Upload/UploadOptionalParameters.cs | pskumarweb/tweetinvi | 1,018 | 7053078 | <reponame>pskumarweb/tweetinvi
using System;
using System.Collections.Generic;
using Tweetinvi.Events;
using Tweetinvi.Models;
namespace Tweetinvi.Parameters
{
public interface IUploadOptionalParameters
{
/// <summary>
/// Type of element that you want to publish.
/// This property wil... |
Source/LiteCSV/CSVMapper.cs | terrynoya/LiteCSV | 11 | 7053079 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LiteCSV
{
public class CSVMapper
{
public static T MapObject<T>(CSVParser parser, List<string> lineData)
{
object searializedData = parser.GetData(lineData);
T t = default(T)... |
CSharp-Advanced/Homeworks-And-Labs/08GenericsLab/01Box/Box.cs | kalintsenkov/SoftUni-Software-Engineering | 8 | 7053080 | namespace BoxOfT
{
using System;
using System.Collections.Generic;
public class Box<T>
{
private List<T> elements;
public int Count => this.elements.Count;
public Box()
{
this.elements = new List<T>();
}
public void Add(T element)
... |
platformtests/WindowsPhone7PlatformTests/WindowsPhone7PlatformTests/MainPage.xaml.cs | Worthaboutapig/TinyIoC | 0 | 7053081 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft... |
tests/Pliant.Tests.Unit/Runtime/MarpaParseEngineTests.cs | patrickhuber/Earley | 26 | 7053082 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Builders.Expressions;
using Pliant.Grammars;
using Pliant.LexerRules;
using Pliant.Languages.Regex;
using Pliant.Runtime;
using Pliant.Tests.Common.Grammars;
using Pliant.Tokens;
using System.Linq;
namespace Pliant.Tests.Unit.Runtime
{
[TestClass]
... |
src/DaAPI/Service/Beer.DaAPI.Service.Core/Scopes/DHCPv6/DHCPv6Lease.cs | just-the-benno/Beer | 2 | 7053083 | <filename>src/DaAPI/Service/Beer.DaAPI.Service.Core/Scopes/DHCPv6/DHCPv6Lease.cs
using Beer.DaAPI.Core.Common;
using Beer.DaAPI.Core.Common.DHCPv6;
using System;
using System.Collections.Generic;
using System.Text;
using static Beer.DaAPI.Core.Scopes.DHCPv6.DHCPv6LeaseEvents;
namespace Beer.DaAPI.Core.Scopes.DHCPv6
{... |
mcs/errors/cs9006.cs | DavidKarlas/mono | 1 | 7053084 | // CS9006: An object reference is required to access primary constructor parameter `value'
// Line: 8
class X (double value)
{
public static double Prop {
get {
return value;
}
}
}
|
ClForms/Common/ColumnHeader.cs | Ahatornn/clforms | 3 | 7053085 | <gh_stars>1-10
using System;
using ClForms.Elements;
namespace ClForms.Common
{
/// <summary>
/// Displays a single column header in a <see cref="ListView"/> control
/// </summary>
public class ColumnHeader<T>
{
/// <summary>
/// Initialize a new instance <see cref="ColumnHeader{T}"... |
Lazurite/Lazurite.CoreActions/ComplexAction.cs | noant/Pyrite2 | 55 | 7053086 | using Lazurite.ActionsDomain;
using Lazurite.ActionsDomain.Attributes;
using Lazurite.ActionsDomain.ValueTypes;
using System.Collections.Generic;
using System.Linq;
namespace Lazurite.CoreActions
{
[OnlyExecute]
[VisualInitialization]
[SuitableValueTypes(typeof(ButtonValueType))]
[HumanFriendlyName("С... |
src/OSharp.EntityFrameworkCore.SqlServer/SqlServerEntityFrameworkCorePack.cs | jl632541832/OSharp | 0 | 7053087 | <reponame>jl632541832/OSharp
// -----------------------------------------------------------------------
// <copyright file="SqlServerEntityFrameworkCorePack.cs" company="OSharp开源团队">
// Copyright (c) 2014-2018 OSharp. All rights reserved.
// </copyright>
// <site>http://www.osharp.org</site>
// <last-editor>郭... |
PlugIns/Gorgon.Editor.AnimationEditor/_Internal/Forms/FormRibbon.cs | Tape-Worm/Gorgon | 55 | 7053088 | <filename>PlugIns/Gorgon.Editor.AnimationEditor/_Internal/Forms/FormRibbon.cs
#region MIT
//
// Gorgon.
// Copyright (C) 2019 <NAME>
//
// 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 w... |
src/JokinsCryptor/Shared/Check.cs | JokinAce/NETCore.Encrypt | 0 | 7053089 | <filename>src/JokinsCryptor/Shared/Check.cs
using System;
using System.Collections.Generic;
using System.IO;
namespace JokinsCryptor.Shared {
public static class Check {
public static class Argument {
/// <summary>
/// IsNotEmpty
/// </summary>
/// <param n... |
tests/Common/Mocks/MockTraceWriter.cs | Zocdoc/googleads-adwords-dotnet-lib | 0 | 7053090 | // Copyright 2012, Google 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 ... |
Sources/Steepshot/Steepshot.iOS/Helpers/PhotoHeight.cs | pmartynov/steepshot-mobile | 17 | 7053091 | <gh_stars>10-100
using System;
using Steepshot.Core.Models.Common;
using UIKit;
namespace Steepshot.iOS.Helpers
{
public static class PhotoHeight
{
private const int minHeight = 200;
private const int maxHeight = 450;
public static nfloat Get(FrameSize frameSize)
{
... |
CMS/CMSModules/OnlineMarketing/Pages/Content/MVTest/List.aspx.cs | mzhokh/FilterByCategoryWidget | 26 | 7053092 | <reponame>mzhokh/FilterByCategoryWidget
using System;
using CMS.Base.Web.UI.ActionsConfig;
using CMS.FormEngine.Web.UI;
using CMS.Helpers;
using CMS.Membership;
using CMS.OnlineMarketing.Web.UI;
using CMS.UIControls;
[Security(Resource = "CMS.MVTest", UIElements = "MVTestListing")]
[UIElement("CMS.MVTest", "MVTestL... |
Assets/Neat/Projects/Rhythm/Scripts/Time/TimeSignature.cs | Hedge42/unity-full | 0 | 7053093 | <reponame>Hedge42/unity-full
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Neat.Audio.Music
{
[System.Serializable]
public class TimeSignature
{
[HideInInspector]
[NonSerialized]
publ... |
Assets/Scripts/PartAnimationControl.cs | automatedChaos/AugmentedTelegrapher | 1 | 7053094 | <reponame>automatedChaos/AugmentedTelegrapher
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PartAnimationControl : MonoBehaviour {
public int partNumber = 0;
private bool isFound = true; // starts off found
private Animator anim;
int placeHash = Animat... |
App/Program.cs | Kritner/SearchIndexer | 0 | 7053095 | <filename>App/Program.cs<gh_stars>0
using Microsoft.Extensions.DependencyInjection;
namespace SearchIndexer.App
{
class Program
{
static int Main(string[] args)
{
var configuration = new AppConfiguration(args);
using (var serviceProvider = configuration.ConfigureService... |
DotNetBungieAPI/Models/Destiny/Components/DestinyItemRenderComponent.cs | EndGameGl/.NetBungieAPI | 25 | 7053096 | <gh_stars>10-100
namespace DotNetBungieAPI.Models.Destiny.Components;
/// <summary>
/// Many items can be rendered in 3D. When you request this block, you will obtain the custom data needed to render
/// this specific instance of the item.
/// </summary>
public sealed record DestinyItemRenderComponent
{
/... |
Assets/Machine/Scripts/View/GridObj.cs | iniwap/LianQiClient | 3 | 7053097 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridObj : MonoBehaviour {
public int x;
public int y;
public Display _Father;
public ChessObj _Chess;
private Collider2D _Co2d;
public bool _CanChange;
public GridObj set(int xx, in... |
NetGL.Core/Meshes/Sphere.cs | 0x0015/NetGL | 14 | 7053098 | <reponame>0x0015/NetGL<gh_stars>10-100
using System;
using System.Collections.Generic;
using NetGL.Core.Mathematics;
using NetGL.Core.Types;
namespace NetGL.Core.Meshes {
public static class Sphere {
public static Mesh Create(float radius, int m, int n) {
if (n < 3)
throw new A... |
Back end Prototype/RateIt.Common.Models/CrowdfundingCampaign.cs | morality-admin/morality.network | 2 | 7053099 | <reponame>morality-admin/morality.network<filename>Back end Prototype/RateIt.Common.Models/CrowdfundingCampaign.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RateIt.Common.Models
{
public class CrowdfundingCampaign
{
pu... |
src/Libraries/Frapid.Installer/Tenant/Installer.cs | denza/frapid | 1 | 7053100 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Frapid.Configuration;
using Frapid.Framework.Extensions;
using Frapid.Installer.Helpers;
using Frapid.Installer.Models;
using Newtonsoft.Json;
namespace Frapid.Installer.Tenant
{
... |
src/NuGet.Core/NuGet.PackageManagement/Utility/PackageReferenceComparer.cs | davkean/NuGet.Client | 0 | 7053101 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using NuGet.Packaging.Core;
namespace NuGet.PackageManagement
{
public class PackageReferenceComparer : IEquality... |
Demo/CreateSubAccount/Default.aspx.designer.cs | gaoconggit/yuntongxun-dotnet-sdk | 1 | 7053102 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace CreateSubAccount {
p... |
Keas.Mvc/Views/Shared/_Layout.cshtml | emhenn/Keas | 0 | 7053103 | @using Keas.Core.Models
@using Microsoft.AspNetCore.Authorization
@using Microsoft.Extensions.Configuration
@inject IAuthorizationService AuthorizationService
@inject IConfiguration Configuration
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,... |
src/NeuralNetwork/Neurons/ICalculatableNeuron.cs | tomkuijsten/BabySteps | 2 | 7053104 | using BabySteps.NeuralNetwork.ActivationFunctions;
using BabySteps.NeuralNetwork.Synapses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BabySteps.NeuralNetwork.Neurons
{
public interface ICalculatableNeuron
{
ISynapse Bia... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.