text stringlengths 13 6.01M |
|---|
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Drawing2D;
using System.Windows.Forms.Design;
namespace gView.Framework.Symbology.UI
{
internal class DashStyleTypeEditor : UITypeEditor
{
public override UITypeEditorEditStyle GetEditSty... |
namespace Phenix.Services.Contract
{
public static class ServicesInfo
{
#region ÊôÐÔ
public const string DATA_PORTAL_URI = "DataPortalService";
public const string DATA_DICTIONARY_URI = "DataDictionaryService";
public const string DATA_SECURITY_URI = "DataSecurityService";
public const strin... |
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
namespace Egret3DExportTools
{
public class ExportWindow : EditorWindow
{
private enum ExportType
{
NONE, PREFAB, SCENE
}
private const string VERSION = "v1.4.... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using Common.Logging;
using Erlang.NET;
using NUnit.Framework;
using Spring.Messaging.Amqp.Rabbit.Test;
namespace Spring.Messaging.Amqp.Rabbit.Admin
{
public class Rabbi... |
using System;
namespace CourseHunter_34_ForForeach_Nested //вложеные
{
class Program
{
static void Main(string[] args)
{
int[] array = { 1, -2, 4, -7, 5, 3, 2, -1, -3, 2, 7, -1, -3, 1, 7 };
for (int i = 0; i < array.Length; i++)
{
for (int j... |
namespace GraderBot.WebAPI.Controllers
{
using UnitOfWork;
using Workers.Compilers;
using Workers.Runners;
using ProblemTypes.ConsoleApplication;
public class JavaConsoleAppController
: ConsoleAppController<ConsoleApp<JavaCompiler, JavaRunner>>
{
public JavaConsoleAppControlle... |
using System;
using System.Windows.Forms;
using System.IO;
using System.Globalization;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using Newtonsoft.Json.Linq;
using System.Text;
namespace shamkaLEupdater
{
public partial class Form1 ... |
using System;
using System.Collections.Generic;
using Android.Content;
using Android.Runtime;
using Android.Text;
using Android.Views;
using Android.Widget;
using ResidentAppCross.Droid.Views.Sections;
namespace ResidentAppCross.Droid.Views.AwesomeSiniExtensions
{
} |
// 文 件 名:ReportBll.cs
// 功能描述:日志Bll基类
// 修改描述:
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace PlanMGMT.BLL
{
public class ReportBLL
{
private static Re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TRPO_labe_3.Classes.Abstract;
namespace TRPO_labe_3.Classes.Models
{
public class ClassicFigure : Figure
{
public ClassicFigure()
{
IsFigureBig = false;
... |
using AweShur.Core;
using AweShur.Core.DataViews;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewEngines;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using System;
using System.Collections.Generic;
using System.Linq;
... |
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CosmosDbRepository.Implementation
{
internal class CosmosDbQueryStats<T>
: CosmosDbQueryStats
{
public CosmosDbQueryStats(Fee... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SCP;
using Microsoft.SCP.Topology;
using System.Diagnostics;
namespace ReactiveStorm
{
[Active(true)]
class Program : TopologyDescriptor
{
static void Main(string[] args)
{
Trac... |
using Microsoft.Extensions.Logging;
using System;
using System.Text;
namespace KFrame
{
public class KFrameTrace
{
public enum TraceMethod { IFrame, PFrame, Clear, Install, Uninstall, Reinstall }
public enum TraceAction { None, BuildIFrame, BuildPFrame, CheckPFrame }
public KFrameTrace(TraceMethod m... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Arena1SuddenDeathTimer : MonoBehaviour {
private float timeLeft = 120.0f; //120
private bool suddenDeath = false;
// Cool downs between the lightning
private float timeRemaining;
private float timeSet;
pri... |
using UnityEngine;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Mono Hook for [`OnTriggerEnter2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter2D.html), [`OnTriggerExit2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerExit2D.html) and [`OnTriggerStay2D`](https... |
using System;
namespace Actividad001
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Esto es un programa de C# corriendo en Debian");
Console.WriteLine("Hola otra vez");
Consol... |
using JeopardySimulator.Ui.Commands.Base;
using JeopardySimulator.Ui.ViewModels;
namespace JeopardySimulator.Ui.Commands.CommandResults
{
public abstract class ChangeScoreCommand : CommandBase<int>
{
protected readonly CommandResultViewModel CommandResultViewModel;
protected ChangeScoreCommand(CommandResultVie... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace CODE.Framework.Core.ComponentModel
{
/// <summary>
/// Basic definition of an interface that can be applied to
/// a UI container (such as a form) that is intended to load data.
/// </summary>
public interface IDat... |
using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace SampleService.Kestrel.Application.CommandSide.Commands
{
/// <summary>
/// EchoCommand 处理器
/// </summary>
public class EchoCommandHandler : IRequestHandler<EchoCommand, string>
{
public Task<string> Handle(EchoC... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace UseFul.Forms.Welic
{
[ToolboxBitmap(@"S:\Sistemas dotNet\Figuras\iCheckbox.ico")]
public partial class CheckB... |
using UnityEngine;
using System.Collections;
public class StoredInfo
{
public static int player1PickNumber = 0;
public static int player2PickNumber = 0;
public static void DeleteAll()
{
// Clear what the players have picked as their character
player1PickNumber = 0;
player2Pick... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using lsc.Common;
using lsc.Model;
using Microsoft.EntityFrameworkCore;
namespace lsc.Dal
{
[Serializable]
public class OptionDal
{
private static OptionDal ins;
public stati... |
using UnityEngine;
using System.Collections;
public class baseDestruction : MonoBehaviour {
// Use this for initialization
void Start () {
Debug.Log ("start");
}
// Update is called once per frame
void Update () {
}
void OnCollisionEnter(Collision col){
Debug.Log ("collider");
}
void OnTriggerSta... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TestTutorial10... |
using UnityEngine;
public class EffectsManager : MonoBehaviour
{
public AudioManagement audioManager;
public GameObject WinFlare;
public void Win(Vector3 posis)
{
Vector3 pos = Camera.main.ScreenToWorldPoint(posis);
audioManager.PlayAddingWinClip(pos);
for (int i = 0; i < 3; i+... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio4
{
class Rectangulo
{
static void Main(string[] args)
{
{
const char Caract = 'X';
const char Espaco = ' ';
... |
using Accessor;
using Modules;
using UnityEngine;
public class KillPlayerScript : MonoBehaviour
{
private void OnCollisionEnter(Collision other) {
if (other.gameObject.layer == 10) { // Player
if (GameManager.Instance.isFruitActive) { // self kill
Destroy(gameObject);
... |
using UnityEngine;
using System.Collections;
public class UFO : SpaceObject{
public static int objectCount = 0;
public static int maxObjectCount = 5;
public override int ObjectCount
{
get { return UFO.objectCount; }
set { UFO.objectCount = value; }
}
public override int MaxO... |
using Fingo.Auth.Domain.Models.UserModels;
namespace Fingo.Auth.AuthServer.Client.Services.Interfaces
{
public interface IRemoteAccountService
{
void CreateNewUserInProject(UserModel user);
void PasswordChangeForUser(ChangingPasswordUser user);
void SetPasswordForUser(string token , st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terminal.Gui;
using Terminal.Gui.Trees;
using Xunit;
using Xunit.Abstractions;
namespace Terminal.Gui.ViewTests {
public class TreeViewTests {
readonly ITestOutputHelper output;
public Tre... |
using System.Text;
#pragma warning disable
namespace Algorithms.LeetCode
{
public class RemoveAllAdjacentDuplicatesInStringllTask
{
public string RemoveDuplicates(string s, int k)
{
var root = BuildDoubleLinkedList(s);
var cur = root.Next;
while (cur != nu... |
using UnityEngine;
using System.Collections;
public class KarakterStyring : MonoBehaviour {
public float hastighed = 1f;
public float maxHastighed = 1f;
// The vector to store the direction of the player's movement.
Vector3 bevægelse;
// Reference to the player's rigidbody.
Rigidbody playerRigidbody; ... |
using UnityEngine;
namespace Interaction
{
public class InteractableChild : InteractableBase
{
[SerializeField] private InteractableBase _root;
private void Awake()
{
if (_root == null)
_root = GetComponentInParent<InteractableBase>();
}
... |
using System;
using Rainbow.Filtering;
namespace Leprechaun.InputProviders.Rainbow.Filters
{
// when we read templates we do not care about filtering their input in Rainbow; we can assume that whatever is written is legit.
public class RainbowNullFieldFilter : IFieldFilter
{
public bool Includes(Guid fieldId)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using System.Windows.Controls.Ribbon;
using BimPlus.Client;
using BimPlus.Clien... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterItemController : Character {
public bool amIHoldingAnItem = false;
public ItemBase itemIAmHolding;
[SerializeField] private ButtonType _interactButton;
private int _buttonPressedCounter = 0;
[Seriali... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace VR_Interaction
{
public class VideoCaptureTimeButton : MonoBehaviour
{
public int Time = 5;
public int ID = 1;
public InputField input;
public Text TextID;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using agsXMPP.protocol;
using agsXMPP.protocol.iq;
using agsXMPP.protocol.iq.auth;
using agsXMPP.protocol.iq.roster;
using agsXMPP.protocol.client;
using agsXMPP.Xml;
using agsXMPP.Xml.Dom;
using agsXMPP;
using System.Net... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using ICSharpCode.SharpZipLib.Zip;
using KartExchangeEngine.Monitors;
using KartLib;
using KartObjects;
using Microsoft.Office.Interop.Excel;
namespace KartExchangeEngine
{
... |
using System;
using iSukces.Code.Interfaces;
using JetBrains.Annotations;
namespace iSukces.Code.Irony
{
public struct TokenName : IEquatable<TokenName>, ICsExpression, ITokenNameSource
{
public TokenName([NotNull] string name)
{
Name = name?.Trim();
if (string.IsNullOrE... |
using System;
using System.Windows.Forms;
using Phenix.Core;
using Phenix.Services.Host.Core;
namespace Phenix.Services.Host
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
//System.Threading.Thread.CurrentThread.Curr... |
using Calculator.Logic.Operations.MyOperations;
using System.Collections.Generic;
namespace Calculator.Logic.Operations
{
//Interfejs używany w widoku
public interface IOperation
{
string TopNumber { get; set; }
string BottomNumber { get; set; }
Median MyMedian { get; set; }
... |
using System;
using Belatrix.JobLogger.Enums;
using Belatrix.JobLogger.Helpers;
using Belatrix.JobLogger.LoggerTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Belatrix.JobLogger.Tests.LoggerTypes
{
[TestClass()]
public class ConsoleJobLoggerTests
{
priva... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ProjectCore.Model.EntityModel
{
[Table("ApplicationUserClaims")]
public class ApplicationUserClaim : IdentityUserClaim<string>
{
pub... |
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
namespace SelfServiceShop
{
internal class ModConfig
{
public bool Pierre { get; set; } = true;
public bool Ranch { get; set; } = true;
public bool Carpenter { get; set; } = true;
public bool FishShop { get; set; } = true... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.matrix_problems
{
/// <summary>
/// Given a matrix search a word in a matrix.
/// From any node we can go in any of the 8 directions to get the match
/// </s... |
using LightBoxRectSubForm.app;
using LightBoxRectSubForm.data;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LightBoxRectSubForm... |
using BlogSystem.API.Data;
using BlogSystem.API.Domain;
using BlogSystem.UI.Framework.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BlogSystem.API.Controllers
{
[ApiController]
public class BlogControll... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyShop.Core.Model
{
public class Basket:BaseEntity
{
//Basket have list of basketItems
public virtual List<BasketItem> BasketItems { get; set; }
//List of baske... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data.MySqlClient;
using System.Data;
namespace LetsAdopt
{
public partial class Admin : System.Web.UI.Page
{
MySqlConnection con = new MySqlConnection(... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Npgsql;
namespace Discount.Grpc.Extensions
{
public static class HostExtensions
{
public static void MigrateDatabase<TContext>(this IH... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(SphereCollider))]
[RequireComponent(typeof(MovingComponent))]
public class DynamicObjectComponent : MonoBehaviour
{
public enum ETargetType
{
HomingRandom,
HomingFixed,
FollowingForward
}
[SerializeField... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
namespace WebDriverOnCore.PageSections.MainPageSections
{
public class FooterSection
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 菜单管理员
/// </summary>
public class MenuManager : MonoBehaviour {
void Awake()
{
}
/* 单例模式 */
static MenuManager _instance = null;
/* 私有组件 */
}
|
using System.Collections.Generic;
namespace DEV_13
{
public class Context
{
private IStrategy selectedStrategy;
public Context(IStrategy strategy)
{
selectedStrategy = strategy;
}
//Method for the choice strategy
public void SetStrategy(IStr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using PetTracker.Models;
namespace PetTracker.DAL
{
public class PetInitializer : System.Data.Entity.DropCreateDatabaseIfModelChanges<PetContext>
{
protected override void Seed(PetContext con... |
using Ezconet.GerenciamentoProjetos.Domain.Contracts.Repositories;
using Ezconet.GerenciamentoProjetos.Domain.Contracts.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ezconet.GerenciamentoProjetos.Application.Converters;
using Ezcone... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityTerraforming.GameAi
{
public abstract class Action : DecisionTreeNode
{
[HideInInspector]
public bool Activated = false;
protected StateManager _stateManager;
private void Awake()
... |
namespace SFA.DAS.ProviderCommitments.Web.Models.OveralppingTrainingDate
{
public class EmployerNotifiedRequest
{
public string CohortReference { get; set; }
public long ProviderId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using ControlzEx.Theming;
namespace Shimakaze.Toolkit.Csf.Data
{
public static class ThemeManager
{
public static void SetTheme()
{
}
public static Theme ChangeThemeBaseColor(this Applica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LimenawebApp.Models.Invoices
{
public class GetInvoices_api
{
public int code { get; set; }
public string message { get; set; }
public List<Invoices_api> data { get; set; }
}
public ... |
using UnityEngine;
using UnityEngine.UI;
public class SliderManager : MonoBehaviour
{
private Slider mySlider;
public GameObject OnText, OffText, modeToggler,playerUI,trendsHistory;
// Start is called before the first frame update
void Start()
{
mySlider = transform.GetComponent<Slider>();
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Text;
namespace gView.Drawing.Pro.Exif
{
public sealed class ExifTagCollection : IEnumerable<ExifTag>
{
private Dictionary<int, ExifTag> _tags;
... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Marketplaces.Entityes;
namespace Infra.Mapeamentos
{
class MappingListingMeta : EntityTypeConfiguration<ListingMeta>
{
... |
using JhinBot.DiscordObjects;
using System.Collections.Generic;
namespace JhinBot.Database
{
public interface IUserMessageHistoryRepository : IRepository<UserMessageHistory>
{
IEnumerable<UserMessageHistory> RetrieveByAuthorID(ulong guildID, ulong authorID);
UserMessageHistory RetrieveByMessag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyDev.Configuration
{
/// <summary>
/// 资源配置项
/// </summary>
public class ResourceItemConfig
{
/// <summary>
/// 资源名称
/// </summary>
public string Name
... |
using System;
using System.Collections.Generic;
namespace Challenges
{
/*
You are given an array of integers, , and a positive integer, . Find and print the number of pairs where and + is divisible by .
For example, and . Our three pairs meeting the criteria are and .
Function Description
Complete the divis... |
using ControleEstacionamento.Domain.Entities;
using ControleEstacionamento.Persistence.Entity.TemplateConfiguration;
namespace ControleEstacionamento.Persistence.Entity.Configurations
{
public class MovimentacaoVeiculoConfiguration: PersistenceTypeConfiguration<MovimentacaoVeiculo>
{
public override v... |
using LR.Data.Providers;
using LR.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebMatrix.WebData;
namespace System.Web.Mvc
{
public class CustomViewPage<T> : WebViewPage<T>
{
private UserProfile currentUser;
public UserProfile CurrentUser
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace InventorServices.Persistence
{
public interface IModuleBinder
{
ISerializableId<T> GetObjectKey<T>();
bool GetObjectFromTrace<T>(out T e);
void SetObject... |
using System;
namespace _5_Self_Array
{
class Program
{
static void Main(string[] args)
{
int[] arrayStart = new int[] { 1, 2, 3, 4, 5 };
int n = arrayStart.Length;
int[] arrayFinish = new int[n];
int summ = 0;
for (int i = n - 1; ... |
using System;
using System.Collections.Generic;
namespace SpaceHosting.Index
{
internal interface IIndex<TVector> : IDisposable
where TVector : IVector
{
string Description { get; }
int VectorCount { get; }
void AddBatch((long Id, TVector Vector)[] data);
long DeleteB... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Olive.Data;
namespace Olive.Web.MVC.Areas.Administration.ViewModels
{
public class IngredientsIndexViewModel
{
public IEnumerable<Ingredient> AllIngredients { get; set; }
public Ingredient NewIngredient{... |
/****************************************************
文件:EnterDialog.cs
作者:Sam
邮箱: 403117224@qq.com
日期:2020/02/04 0:20
功能:进入对话框
*****************************************************/
using UnityEngine;
public class EnterDialog : MonoBehaviour
{
public GameObject enterDialog;
private void OnTrigger... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace SerializationDemo
{
[AttributeUsage(AttributeTargets.Method)]
public class OperationAttribute : Attribute
{
public OperationAttribute(string name)
{
Name = name;
}
... |
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.Events;
namespace Ardunity
{
[AddComponentMenu("ARDUnity/Reactor/Device/DeviceRotationReactor")]
[HelpURL("https://sites.google.com/site/ardunitydoc/references/reactor/devicerotationreactor")]
public class DeviceRotationReactor : ArdunityRe... |
using SciVacancies.ReadModel.Core;
using System;
using System.Collections.Generic;
using MediatR;
namespace SciVacancies.WebApp.Queries
{
public class SingleResearcherQuery : IRequest<Researcher>
{
public Guid ResearcherGuid { get; set; }
}
public class SelectResearcherPublicationsQuery : I... |
using BLL;
using DTO;
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 PL
{
public partial class FrmProdutoSelecionar : Form
{
... |
using CleanArchitecture.Aplicacao.Interfaces;
using CleanArchitecture.Aplicacao.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace CleanArchitecture.Web.Mvc.Controllers
{
public class ProdutosController : Controller
{
private IProdutoServico _produtoServico;
public ProdutosController(IProdutoServico p... |
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TitanBlog.Data;
using TitanBlog.Models;
namespace TitanBlog.Services
{
public class BasicSeedService
{
private readonly Appli... |
using BoardGame.BusinessLogics;
using BoardGame.Domain_Model;
using BoardGame.DomainModel;
using System;
using System.IO;
using System.Windows.Forms;
namespace BoardGame
{
public partial class Settings : Form
{
private Player player;
private Robot robot1;
private Robot robot2;
... |
using GodMorgon.Models;
using GodMorgon.Player;
using GodMorgon.Timeline;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using GodMorgon.Sound;
namespace GodMorgon.Shop
{
public class ShopManager : MonoBehaviour
{
public Text playerG... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using HROADS_WebApi.Domains;
#nullable disable
namespace HROADS_WebApi.Contexts
{
public partial class HroadsContext : DbContext
{
public HroadsContext()
{
}
public HroadsContext(... |
using JhinBot.Enums;
using JhinBot.GlobalConst;
namespace JhinBot.Providers
{
public class ConvoMessageProvider
{
private static ConvoMessageProvider _instance;
public static ConvoMessageProvider GetInstance()
{
if (_instance == null)
{
_instanc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
[Serializable]
public class SkillProperties
{
public int id { get; protected set; } //number of the skill
public float damage { get; protected set; } // start damage to player ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using CS_Form_Submission.Models;
using Form.Models;
namespace CS_Form_Submission.Controllers
{
public class Hom... |
using Union.Gateway.Abstractions;
using Union.Gateway.Configurations;
using Union.Gateway.Internal;
using Union.Gateway.Services;
using Union.Gateway.Session;
using JT808.Protocol;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.E... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NetworkLibrary.cs">
// Copyright (c) 2021 Johannes Deml. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// public@deml.io
// </author>
// ----------------... |
namespace Web_banh_ngot.Models.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("CUSTOMER")]
public partial class CUSTOMER
{
[Syste... |
namespace Orc.FileSystem;
using System;
using System.IO;
using System.Linq;
using Catel.Logging;
public static class IDirectoryServiceExtensions
{
private static readonly ILog Log = LogManager.GetCurrentClassLogger();
public static bool IsEmpty(this IDirectoryService directoryService, string path)
{
... |
using Godot;
using System;
using System.Collections.Generic;
public class BtnBase : Button
{
private AudioStreamPlayer _soundPlayer;
// Todo - redo the button sound stuff
// private Dictionary<AudioData.ButtonSound, AudioStream> _btnSounds = AudioData.LoadedSounds<AudioData.ButtonSound>(AudioData.ButtonSoundPaths);... |
namespace gView.Objects
{
/// <summary>
/// Zusammenfassung für SelectionRenderer.
/// </summary>
/*
public class SelectionRenderer : IImageRenderer
{
private IEnvelope m_envelope;
private int iWidth,iHeight;
double wWidth,wHeight;
public SelectionRenderer()
{
}
public void World2Ima... |
namespace AutoTests.Framework.PreProcessor.Infrastructure
{
public delegate Token Parser(Stream stream);
} |
using Client.Features.Jobs.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Features.JobService
{
public interface ICompare
{
event EventHandler<Jobs.JobState> JobStateChanged;
bool StartJob(Job job, Jo... |
using System;
// ReSharper disable once CheckNamespace
namespace Aquarium.Util.Extension.ObjectExtension
{
public static class IntConvertExtension
{
#region ToInt
/// <summary>
/// An object extension method that converts the @this to an int 32.
/// </summary>
/// ... |
namespace _05._SlicingFile
{
using System;
using System.Collections.Generic;
using System.IO;
public class Startup
{
private const string SourcePath = "FerrisWheel.jpg";
private const string DestinationDirPath = @"D:\PROJECTS\CSharp Advanced\08. FilesAndStreams-Exercises\05. Slicin... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Experian.ApiServices.Services
{
public abstract class ApiCallerService
{
private readonly HttpClient _httpClient;
private readonl... |
using UnityEngine;
using System.Collections;
public class TrackWave : Wave {
GameObject player;
// Use this for initialization
public override void Start () {
base.Start ();
player = GameObject.FindWithTag ("Player");
}
// Update is called once per frame
void Update () {
if (player != null && currentCo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.