text stringlengths 13 6.01M |
|---|
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
using System.Linq;
namespace Cauldron.Anathema
{
public class MetabolicArmorCardController : CardController
{
public MetabolicArmorCardController(Card card, TurnTakerController turnTak... |
namespace JKMWindowsService.AlertManager
{
public interface IEndOfServiceCheckIn
{
void SendAlerts();
}
} |
using System.Collections.Generic;
namespace CsvParser
{
public interface ICsvFileReader
{
public bool ShowRowNumberAsId { set; }
public bool ShouldCorrectBrokenLines { set; }
List<T> MapFileToObject<T>(string[] columnNames) where T : class;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aga.Controls.Tree;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using System.Data;
namespace DBManager.DBASES
{
class MySQL : IdbType
{
internal MySQLClass Connection = null;
internal strin... |
using Abp.Modules;
using Abp.Reflection.Extensions;
using Castle.Windsor.MsDependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using eForm.Configure;
using eForm.Startup;
using eForm.Test.Base;
namespace eForm.GraphQL.Tests
{
[DependsOn(
typeof(eFormGraphQLModule),
typeof(eFormTes... |
using DocumentManagementLogger;
using DomainModels;
using IBusiness;
using IDataAccess;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Business.Tests
{
[TestClass]
public class DocumentManagerTests
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.From_051_To_75
{
public class _069_Search2DArray
{
/*
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers i... |
using MCC.Core.Manager;
using MCC.Core.Server;
using MultiCommentCollector.Helper;
using MultiCommentCollector.Models;
using MultiCommentCollector.Views;
using Reactive.Bindings.Extensions;
using System.Reactive.Disposables;
using System.Windows;
namespace MultiCommentCollector
{
/// <summary>
/// Interaction... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : MonoBehaviour, ISaveable
{
[SerializeField] protected float moveSpeed = 4;
[SerializeField] private int numToSave = 2;
protected virtual void Awake()
{
SaveLoadManager.Instance.Register(thi... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("FriendListFrameBasePrefabs")]
public class FriendListFrameBasePrefabs : MonoClass
{
public FriendListFrameBasePrefabs(IntPtr address) : this(address, "FriendListFrameBasePrefabs")
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OptionsScript : MonoBehaviour
{
bool OptionenAktiv;
public GameObject Optionen;
void Start()
{
}
void Update()
{
if (Input.GetKeyDown(KeyCode.O))
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace HelperFramework.DataType
{
/// <summary>
/// Collection Extensions
/// </summary>
/// <remarks>
/// Use IEnumerable by default, but when altering or getting item at index use IList.
/// </remarks>
public stat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DriveMgr.Model
{
public class PayExamModel
{
#region Model
private long _id;
private long? _studentsid;
private decimal? _realpay;
private string _remark;
private str... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Eagle : MonoBehaviour
{
//private UnityEngine.Object enemyRef;
private Animator anim;
void Start()
{
//enemyRef = Resources.Load("Eagle");
anim = GetComponent<Animator>();
}
void Update()... |
using System;
using System.IO;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpenseTracker.Model;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Xamarin.Essentials;
using ExpenseTracker.ViewModels;
namespace ExpenseTracker
{
[XamlCompilation(... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Yandex.Dialogs.Models
{
[JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class Entity
{
public Token Tokens { get; set; }
public string Type { get; set; }
public object Value { get; set... |
namespace SGDE.DataEFCoreMySQL.Configurations
{
#region Using
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
#endregion
public class TrainingConfiguration
{
public TrainingConfiguration(EntityTypeBuilder<Training... |
using Alarmy.Common;
using System;
namespace Alarmy.Core.FileAlarmRepository
{
internal interface IFileWatcher : IDisposable, ISupportsStartStop
{
event EventHandler FileChanged;
}
}
|
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using Whale.API.Models.Slack;
using Whale.API.Services;
using Whale.Shared.Models.Meeting;
namespace Whale.API.Controllers.Slack
{
public class SlackController : ControllerBase
{
private readonly SlackService _slackService;
... |
using UnityEngine;
using System.Collections;
public class PriorityQueue<T>
{
private Node<T> head;
private int size;
public PriorityQueue()
{
head = null;
size = 0;
}
public void Add(T item)
{
Node<T> newNode = new Node<T>(item, null);
if(isEmpty())
... |
namespace VocabularyApi.Dtos
{
public class UserWordDto
{
public int Id { get; set; }
public string Word { get; set; }
public string Transcription { get; set; }
public string Translation { get; set; }
}
}
|
namespace CallCenter.Common.Entities
{
public enum ChatActionType:byte
{
Create,
Join,
Left,
Kick,
Invite
}
} |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Sector.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------------------... |
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 WF_05_Date
{
public partial class Form1 : Form
{
public Form1()
{
... |
// ************************************************************************
// Copyright (C) 2001, Patrick Charles and Jonas Lehmann *
// Distributed under the Mozilla Public License *
// http://www.mozilla.org/NPL/MPL-1.1.txt *
// ************... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPD.Entities.Domain
{
public partial class NotificationPreference
{
public Guid NotificationPreferenceId { get; set; }
public short Prefere... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pitstop
{
public class ParticleEffectDetection : MonoBehaviour
{
[SerializeField] ParticleSystem particleEffectAssociated = default;
private AudioSource soundEffect;
float maxVolume;
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MainProgram
{
class GSMTest
{
public static void Test()
{
GSM[] gsms = new GSM[3];
gsms[0] = new GSM("Lumia 720", "Nokia", 100, "Pesho", 4.3, 16000000, "Samsung", 100, 100, B... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 11
namespace Roman_to_Arabic_Numbers
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter roman number: ");
string number = Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace apiInovaPP.Models
{
public class TipoEncomenda
{
public int IdTipoEncomenda { get; set; }
public string DescricaoTipoEncomenda { get; set; }
public TipoEncomenda()
{
}
... |
using System;
namespace OperatorExercise
{
class Program
{
static void Main(string[] args)
{
//Exercise 1
int a = 17;
int b = 4;
int sum = a + b;
int difference = a - b;
int product = a * b;
int quotient = a /... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Points.Shared.Models;
using Points.Web.Core.Repositories;
using Points.Shared.Extensions;
namespace Points.Web.Persistence.Repositories
{
public class ValuationsRepository : IValuati... |
namespace Kers.Models.Entities.KERScore
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;
public class Training : E... |
using BusinessLayer;
using System;
using Utils.Models;
namespace PersistanceLayer
{
public class Program
{
public static void Main(string[] args)
{
var manager = new Manager();
var waybills = manager.GetInfoAboutWayb();
foreach (var s in waybills)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web.UI.DataVisualization.Charting;
public partial class Rating_Graph : System.Web.UI.Page
{... |
using Prism.Mvvm;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Discovery.Client.About.ViewModels
{
public class AboutViewModel : BindableBase, IRegionMemberLifetime
{
public bool KeepAlive => false;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tes4._3_Tier.DTO;
using Tes4._3_Tier.DAL;
using Tes4._3_Tier.BUS;
using System.Windows.Forms;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Tes4
{
public partial c... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Restaurant_API.Migrations
{
public partial class edit_html_display : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Tables",
k... |
using System.Collections.Generic;
namespace Battleships
{
public class Player
{
public Player()
{
this.PublicBoard = new PublicFieldStates[10,10];
this.Ships = new List<Ship>();
}
public string Name { get; set; }
public PublicFieldStates[,] Pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameStart : MonoBehaviour {
public GameObject Space2Start;
public GameObject player;
public AudioClip jump;
private float x;
private float y;
void Start ()
{
Space2Start.SetActiv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public static class FileIO
{
private static string filePath;
public static string DirectoryName = "Leyline Casting";
public static string DirectoryAddress
{
get
{
return filePat... |
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DocuVault.GUI
{
public partial class SignUp : Form
{
DbOps DbOps = new DbOps();
public SignUp()
{
InitializeComponent();
}
private void btnOK_Click(object sender, EventArgs e)
... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_AudioManager : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
AudioManager o = new AudioManager();
LuaObject.pushValue(l, true);
LuaObje... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MvcApplication1.Controllers
{
public class ApiDemoController : ApiController
{
public string Helloworld()
{
return "Hello world";
}
... |
// Copyright 2021 Google LLC. 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 applicab... |
using System;
namespace PmSoft.Caching
{
/// <summary>
/// 缓存期限类型
/// </summary>
public enum CachingExpirationType
{
/// <summary>
/// 永久不变的 缓存时间:86400秒*时间因子
/// </summary>
Invariable,
/// <summary>
/// 稳定数据 缓存时间:28800秒*时间因子
/// </summary>
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game.Mono;
[Attribute38("BRMAnvilWeapons")]
public class BRMAnvilWeapons : MonoBehaviour
{
public BRMAnvilWeapons(IntPtr address) : this(address, "BRMAnvilWeapon... |
using Microsoft.Data.Sqlite;
using SpectrendsAPI.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper;
using System;
namespace SpectrendsAPI.Repositories
{
public interface IEquipamentosRepository
{
Task<IEnumerable<Equipamento>> Series(int veiculoId);
}
public... |
using SLua;
using System;
using System.IO;
using System.Text;
using UnityEngine;
namespace RO.Test
{
public class LuaLoadOverrider : SingleTonGO<LuaLoadOverrider>
{
public bool overrideMode;
public bool printWithStack;
public string newLuaRoot = "DevelopTest/sjb/LuaTest";
private SDictionary<string, strin... |
// Copyright 2021 Google LLC. 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... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataMunging
{
public class Reader
{
private string _path;
protected int _startLine;
private List<string> _values = new List<string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoodCalculatorLibrary.Foods
{
public class Mushrooms:Food
{
private const int PointOfHapiness = -10;
public Mushrooms() : base(PointOfHapiness)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace project
{
public partial class BarcharUserControl1 : UserControl
{
private ... |
using Godot;
using System;
public class TileMatchCountdown : Spatial
{
protected MeshInstance TimeBar;
protected Tween ShrinkTween;
protected Godot.Color StartColor = new Godot.Color("33ff00");
protected Godot.Color EndColor = new Godot.Color("ff3300");
public override void _Ready()
{
base._Ready();
TimeB... |
using NUnit.Framework;
namespace litecart_tests
{
public class AdminAuthorizationTestBase : TestBase
{
[SetUp]
protected void SetupAuthorizationTest()
{
app.LoginHelper.LoginInAdminPage();
}
}
}
|
using Godot;
using System;
public class Display : Panel
{
public Board board;
public Node2D header;
public Label header_title;
public Label header_subtitle;
public Label targets_left;
public override void _Ready()
{
board = GetNode<Board>("Board");
header = GetNode<Node2D>("Header");
header_title = GetNo... |
using Modelos.Cadastros.Produtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Factorys.Cadastros.Produto
{
public static class ProdutoFactory
{
/// <summary>
/// Cria uma Model com base em uma Model View
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.Collections.Generic;
using System.Linq;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entitie... |
// Accord Neural Net Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published ... |
using EInterview.Controllers;
using EInterview.Domain.Entities;
using EInterview.Infra;
namespace EInterview.Services
{
public interface IUserProfileService
{
UserProfile GetProfile(int userId);
}
public class UserProfileService : IUserProfileService
{
public UserProfile GetProfil... |
using System;
namespace Ts.Core
{
public interface ITabContent
{
bool TabBarHidden {get;set;}
}
}
|
using System.Collections.Generic;
using PX.Data;
using PX.Objects.SO;
namespace CodeRefactoringTechnique
{
public class SOSetupSlot : IPrefetchable
{
public static bool IsPrintFeatureEnabled
{
get {
return Values[0];
}
}
public static b... |
namespace PRGTrainer.Core.Model.Test
{
/// <summary>
/// Класс с ответом.
/// </summary>
public class Answer
{
/// <summary>
/// Получает или задает идентификатор ответа.
/// </summary>
public string Id { get; set; }
/// <summary>
/// Получает или за... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication3
{
public partial class Contact : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using System;
using System.Collections.Generic;
using System.Reflection;
namespace GPSImageTag.Core.Helpers
{
public class ServiceManager
{
public static void Register(Type ServiceType)
{
var Interfaces = ServiceType.GetTypeInfo().ImplementedInterfaces;
foreach (var I ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Video;
public class audioPlay : MonoBehaviour {
private VideoPlayer videoPlayer;
private RawImage rawImage;
// Use this for initialization
void Start()
{
//... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ProductFirstModule.Database;
using ProductFirstModule.Database.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ProductFirstModule.Services
{
public class ProductMicroserv... |
using Api1.DAL;
using Api1.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Api1.Controllers
{
[Route("api/[controller]/[action]")]
[ApiController]
public class BookController... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using StructLinq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetFabric.Hyperlinq.Benchmarks
{
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
[CategoriesColumn]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PostingNews.Models
{
public class PostRepository : IPostRepository
{
private readonly AppDbContext _appDbContext;
public PostRepository(AppDbContext appDbContext)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataObject;
namespace Service.Interface
{
public interface IThietBi
{
int ThemThietBi(ThietBi tb);
int CapNhatThongTinThieBi(ThietBi tb);
int NhapTuFile(string name)... |
using Puzzle.Interfaces;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Puzzle
{
public class Puzzle: IPuzzle
{
private PictureBox[] segments;
private int rows = 5;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SideWall : MonoBehaviour
{
// Skrip GameManager untuk mengakses skor maksimal
[SerializeField]
private GameManager gameManager;
// Pemain yang akan bertambah skornya jika bola menyentuh dinding ini.
public... |
using Prism.Ioc;
using Prism.Modularity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Discovery.Client.MainMenu
{
public class MainMenuModule : IModule
{
public void OnInitialized(IContainerProvider containerProvider)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Exam_Online.Models.Question
{
public class QuestionDuration
{
public int QuestionDurationID { get; set; }
public int RequestTime { get; set; }
public int LeaveTime { get; set; }... |
using System.Threading.Tasks;
using Example.Calculators;
using Example.Models;
using FluentAssertions;
using NUnit.Framework;
namespace Example.Tests
{
public class ApartmentCalculatorTests
{
protected ApartmentCalculator SystemUnderTest { get; set; }
[SetUp]
public void Setup()
... |
namespace Roaring
{
public partial class RoaringBitmap
{
public void FixLazy()
{
var containers = _containers;
var bitmapStore = _bitmapStore;
for (ushort i = 0; i < containers.Count; i++)
{
uint c = 0;
var containe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pes.Core
{
public partial class SubjectTestType
{
public static List<SubjectTestType> GetSubjectTestTypebySubjectID(int subjectID)
{
return SubjectTestType.Find(p => p.Subject... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Py2Cs.CodeGraphs;
namespace Py2Cs.Translators
{
public struct ExpressionResult
{
public ExpressionResult(ExpressionSyntax syntax, PythonType type, IEnum... |
using MediatR;
using Microsoft.EntityFrameworkCore;
using Peppy.Domain.Entities;
using System.ComponentModel.DataAnnotations.Schema;
using Peppy.EntityFrameworkCore;
namespace Sample.WebApi
{
//[SugarTable("Persons")]
[Table("Persons")]
public class Person : Entity<int>, IRequest<Person>
{
pub... |
using ZeroFormatter;
namespace Sandbox.Shared
{
[ZeroFormattable]
public class ZeroClass
{
}
[ZeroFormattable]
public struct ZeroStruct
{
}
}
|
using System.Linq;
using Mono.Cecil;
namespace AlienEngine.ASL
{
internal static class ASLShaderAttributeHelper
{
private static readonly int _uniformToken = typeof(ASLShader.UniformAttribute).MetadataToken;
private static readonly int[] _attribToken = new[]
{
typeof(ASLSha... |
using System.Data.SqlClient;
using System.Configuration;
namespace ConnectToDB.Examples
{
public static class PredefinedConnectionString
{
public static void UpdateCharacter()
{
var queryString =
@"update Characters set LastName = 'Undomiel' where FirstName = 'Arven... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeManagement.Models
{
public class DepartmentList
{
static SqlConnection con;
public static List<Department> departmentList = null;
static Depar... |
using System;
using System.Collections.Generic;
using Akka.Actor;
using Akka.TestKit.NUnit3;
using akka_microservices_proj.Actors;
using akka_microservices_proj.Domain;
using akka_microservices_proj.Messages;
using BasketServiceTests;
using NUnit.Framework;
namespace BasketServiceTests
{
public class BasketActorT... |
using CloudFile;
using LuaInterface;
using SLua;
using System;
public class Lua_CloudFile_CloudFileCallbacks : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
CloudFileCallbacks o = new CloudFileCallbacks();
LuaObject.pushValue(l, true... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Http;
using System.Web.Http.Cors;
namespace webapi
{
[ApiController]
[Route("")]
//[EnableCors(origins: "http://my... |
using UnityEngine;
using UnityEditor;
using NUnit.Framework;
using System;
public class HUDControllerTests {
GameObject TestPanel;
GameObject TestHUDtext;
HUDController testHUDC;
[TestFixtureSetUp]
public void testSetup(){
TestPanel = new GameObject();
TestHUDtext = new GameObject();
testHUDC = new HUDCont... |
/**
* Sprite.cs - A basic graphic element to inherit from
*
* Changes:
* 0.04. 11-may-2018, Nacho: Added "SetGameUpdatesPerFrame"
* 0.01, 24-jul-2013: Initial version, based on SdlMuncher 0.12
*/
class Sprite
{
protected int x, y;
protected int startX, startY;
protected int width, height;
prote... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class RenderDepth : MonoBehaviour
{
private Material spook;
public SpriteRenderer spriteRend;
private void Awake()
{
spook = GetComponent<TilemapRenderer>().material;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace OC.JQGrid
{
/// <summary>
/// Is used to generate grid XML
/// </summary>
[XmlType(TypeName = "gridLayout")]
public class JQGridXml
{
[XmlElement(ElementName=... |
using Core.Utilities.Results;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bussiness.Abstract
{
public interface IOdaService
{
IDataResult<List<Oda>> GetAll();
IDataResult<Oda> GetById(int id);
IResult Add(Oda oda);
IResu... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace ReadyGamerOne.View
{
[Serializable]
public class TabPair
{
public bool hasInit = false;
public int index;
public Button tab;
public GameObject page;
}
public class Tab... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Fox : MonoBehaviour
{
Animator animator;
void Start()
{
animator = GetComponent<Animator>();
}
void OnTriggerEnter2D(Collider2D other)
{
var otherGameObject = other.gameObject;
... |
using System;
namespace JimBobBennett.JimLib.Mvvm
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class NotifyPropertyChangeDependencyAttribute : Attribute
{
public NotifyPropertyChangeDependencyAttribute(string dependentPropertyName)
{
DependentPrope... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace MvcMonitor.Data.Repositories
{
public class ErrorRepositoryFactory : IErrorRepositoryFactory
{
private readonly string _repositoryType;
private readonly IEnumerable<Type> _availableRepos;
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class abrirPuerta : MonoBehaviour
{
public float velocidad = 2.0f;
public float angulo = 90.0f;
bool abierta;
bool entrar;
bool cerrada = false;
Vector3 puertaCerrada;
Vector3 puertaAbierta;
vo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace inheritance
{
/* Adding to constructers such as :base(parameters) */
class Program
{
static void Main(string[] args)
{
Teacher t1 = new Teacher("Mary",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.