text stringlengths 13 6.01M |
|---|
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.Services.Syndication
{
/// <summary>
/// Late-bound RSS HTTP Handler to publish RSS channel
/// </summary>
public c... |
using UnityEngine;
using System.Collections;
public class Level0Script : MonoBehaviour
{
public static bool beenToLevel0 = false;
public static string levelBeforeLevel0 = "";
void Start()
{
beenToLevel0 = true;
Debug.Log("On level0");
UnityEngine.SceneManagement.SceneManager.LoadScene("M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PowerShapeDotNet.Enums;
using PowerShapeDotNet.Macros;
namespace PowerShapeDotNet.Objects
{
/// <summary>
/// class for Symbol Type Objects
/// </summary>
public class PSDNObjectSymbol : PSDNObjectBase
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
namespace Accounting.Utility
{
public class Authentication
{
public Authentication() { }
public Authentication(string strModulesName)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using dotNetRogueLootAPI.Application.Repositories;
using dotNetRogueLootAPI.Domain.Models;
using dotNetRogueLootAPI.Persistence;
using Microsoft.EntityFrameworkCore;... |
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Azure.WebJobs.Extensions.EventHubs;
using Microsoft.Azure.WebJobs.Extensions.SignalRService;
namespace AzureMessagingExplorer
{
public static class EventHubTrigger
{
[FunctionName("EventHubT... |
namespace Whale.Shared.Models.Poll
{
public class PollDataDTO
{
public string UserId { get; set; }
public string GroupId { get; set; }
public PollDTO PollDto { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CarDeath : MonoBehaviour {
public bool safe;
public GameObject corpse;
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.CompareTag("Safe"))
safe = true;
}
priv... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Items
{
public sealed class SConcurrentDictionary<TKey, TValue> : ConcurrentDictionary<TKey, TValue>
{
public SConcurrentD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace Panacea.Multilinguality
{
public class Translator
{
private readonly string _namespac;
public Translator(string namesp... |
//Problem 1. Square root
//Write a program that reads an integer number and calculates and prints its square root.
//If the number is invalid or negative, print Invalid number.
//In all cases finally print Good bye.
//Use try-catch-finally block.
using System;
namespace Problem01SquareRoot
{
class SquareRoot
... |
using System;
using System.ComponentModel.DataAnnotations;
using Task02_Todos.Data;
namespace Task02_Todos.Data
{
public class Todo
{
public int Id { get; set; }
[MaxLength(100)]
public string Title { get; set; }
[MaxLength(1000)]
public string Body { get; set; }
... |
using NUnit.Framework;
using RestaurantOrder.Business;
using RestaurantOrder.Entities;
using RestaurantOrder.UnitTest.Mocks;
using System.Collections.Generic;
using System.Linq;
namespace RestaurantOrder.UnitTest
{
public class OrderUnitTest
{
private OrderDataMock OrderData;
private MenuSelect... |
using ScribblersSharp;
using System.Collections.Generic;
using TMPro;
using UnityDialog;
using UnityEngine;
using UnityEngine.Events;
using UnityTranslator.Objects;
/// <summary>
/// Scribble.rs Pad controllers namespace
/// </summary>
namespace ScribblersPad.Controllers
{
/// <summary>
/// A class that descr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Ioc
{
/// <summary>
///
/// </summary>
public enum Lifetime
{
/// <summary>
/// каждый раз новый объект
/// </summary>
Transient = 0,
... |
using System;
using System.Collections;
using System.Collections.Generic;
public class ListyIterator<T>:IEnumerable<T>
{
public List<T> Elements { get; set; }
public int Index { get; set; }
public ListyIterator(List<T> elements)
{
this.Elements = elements;
this.Index = 0;
}
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FeedbackTexture : MonoBehaviour
{
public RenderTexture rt;
[Range(0,100)] public int frameDelay;
public byte[] imageBytes;
public bool newImageBytesAvailable;
void OnRenderImage(RenderTextur... |
namespace Paydock.SDK.Services.Base
{
public interface INotificationService
{
void SendEmailNotificationOfCompleteCharge();
}
}
|
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;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
namespace Faculty
{
public... |
// Copyright (C) 2013, 2014, 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
//
// 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
//
... |
using System;
using ExpressionsSerialization.ExpressionNodes;
using Newtonsoft.Json;
namespace ExpressionsSerialization
{
public class ProgramSave
{
// public static void Main(string[] args)
// {
// var raw = Prepare();
// Console.WriteLine(raw);
// var chec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CTDLGT.BST
{
public class MyBinaryTree<T> where T : IComparable<T>
{
public MyTNode<T> root = null;
public MyTNode<T> Root
{
get
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
namespace Swiddler.NetworkSniffer
{
public class PacketReassembl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Common.Message
{
[DataContract]
public class SystemInfoResponseMessage : Message
{
[DataMember]
public List<VMSystem> VMSystyems... |
namespace MonoGame.Extended.Gui
{
//public class ScreenCollection : ElementCollection<Screen, GuiSystem>
//{
// public ScreenCollection(GuiSystem parent)
// : base(parent)
// {
// }
//}
} |
using System;
using System.Collections.Generic;
using ExampleAPI.DataModel;
namespace ExampleAPI.DAL
{
public interface ITaskRepository : IDisposable
{
IEnumerable<Task> GetTasks();
Task GetTaskById(int taskId);
long InsertTask(Task task);
void DeleteTask(int taskID);
v... |
using System.IO;
namespace OCP.Files.ObjectStore
{
/**
* Interface IObjectStore
*
* @package OCP\Files\ObjectStore
* @since 7.0.0
*/
public interface IObjectStore {
/**
* @return string the container or bucket name where objects are stored
* @since 7.0.0
*/
string getStorageId();
/**
* @param str... |
//#define ANALISE
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using Buffers.Managers;
using Buffers.Memory;
using Buffers.Utilities;
namespace Buffers.Program
{
class Program
{
static long processedLineCount = 0, totalLineCount ... |
using OmniSharp.Extensions.DebugAdapter.Client;
namespace Dap.Tests.Integration.Fixtures
{
public interface IConfigureDebugAdapterClientOptions
{
void Configure(DebugAdapterClientOptions options);
}
} |
using System.Net.Http;
using System.Web;
using System.Web.Http;
using angserver.Classes;
using angserver.Models;
//using Microsoft.AspNet.Identity;
//using Microsoft.AspNet.Identity.EntityFramework;
//using Microsoft.Owin.Security;
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
namespace... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Student.cs" company="">
//
// </copyright>
// <summary>
// The student.
// </summary>
// -------------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace WebEditor
{
public class ViewModelBase : INotifyPropertyChanged
{
publ... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Game1
{
public class Particle
{
Vector2 pos;
public float illuminationStrength = 0;
Animation animation;
private Vector2 deltaMove = new Vector2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTO
{
public class DTO_Bill
{
private String bill_ID;
private String room_ID;
private String customer_ID;
private String month;
private double s... |
namespace AcceptanceTests
{
using System.Drawing;
using NUnit.Framework;
[TestFixture]
public class GoogleSearchTests : GhostTest
{
private const string GoogleUrl = "http://www.google.com";
private const string GoogleQueryBoxName = "q";
private const string ScreenShotFileNa... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NMoSql.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace NMoSql
{
public class QueryBuilder : IQueryBuilder
{
private readonly QueryTypeManager _queryTypes;
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project3.Classes.Sorting
{
public sealed class CocktailSort : SortingBase
{
public CocktailSort()
{
Name = "Cocktail Sort";
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraSnap : MonoBehaviour
{
public GameObject player;
public GameObject snapCamera;
private void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject == player)
{
snapCamera.SetActive(true);
}
}
private ... |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NADD.Mapeamento;
using NADD.Models.Infra;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NADD.Models
{
public class Contexto : IdentityDbContext<UsuarioDa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaxSlidingWindow
{
public delegate void InputsForProblem();
public delegate int[] ConvertStringArrayToIntArray(string[] inputStringArray);
class Program
{
static void Main(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataLayer.Login;
using BusinessLayer;
namespace BussinesLayer.Login
{
public class LoginBusiness : BusinessLayer.BusinessBase
{
private string idUsuario;
private string pa... |
using Umbraco.ModelsBuilder;
using Umbraco.Web;
namespace AgeBaseTemplate.Core.ContentTypes
{
public partial class ConfigSiteContentPage
{
[ImplementPropertyType("siteTheme")]
public string SiteTheme => this.GetPropertyValue<string>("siteTheme");
}
} |
namespace HH.RulesEngine.UI.Modules
{
using HH.RulesEngine.Core.Interfaces;
public class GreaterThan : ICondition
{
private readonly decimal _actualValue;
private readonly decimal _thresholdValue;
public GreaterThan(decimal actualValue, string thresholdValue)
{
... |
/// <summary>
/// Scribble.rs ♯ namespace
/// </summary>
namespace ScribblersSharp
{
/// <summary>
/// An interface that represents response data
/// </summary>
internal interface IResponseData : IValidable
{
// ...
}
}
|
using System;
using System.Collections.Generic;
namespace _2452
{
class Program
{
static void Main(string[] args)
{
string[] cp = Console.ReadLine().Split(' ');
string[] pi = Console.ReadLine().Split(' ');
int c = int.Parse(cp[0]),
p = int.P... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Inpu... |
using System;
using System.Dynamic;
using System.Net;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using AJP.ElasticBand.API.Models;
namespace AJP.ElasticBand.API.Controllers
{
[ApiController]
[Route("[controller]")]
public class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Faux.Banque.Domain.Exceptions
{
[Serializable]
public class RealConcurrencyException : Exception
{
public RealConcurrencyException() { }
public RealConcurrenc... |
using SDL2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpDL.Input
{
public enum PhysicalKeyCode
{
Unknown = SDL.SDL_Scancode.SDL_SCANCODE_UNKNOWN,
A = SDL.SDL_Scancode.SDL_SCANCODE_A,
B = SDL.SDL_Scancode.SDL_SCANCODE_B,
C ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FershGreen.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace FershGreen.Controllers
{
public class LoginController : Controller
{
PrivateClinicEntities db = new PrivateCl... |
using personal_site.ViewModels;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Xml;
namespace personal_site.Services
{
public class RssService
{
private static RssService _instance;
private RssService()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WordCount.Implementations;
namespace WordCount.Tests
{
[TestClass]
public class InMemoryFreqDictionaryBuilderTests
{
[TestMe... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using SharpDHCPServer;
namespace SharpDHCPServer_Sample
{
class Program
{
const string LOCAL_INTERFACE = "0.0.0.0";
static byte nextIP = 10;
static Dictionary<string, IPAddress> leases = new Dictionary... |
namespace ArenaBase
{
public class Coordinates
{
public Coordinates(int x, int y)
{
this.X = x;
this.Y = y;
}
public int X { get; set; }
public int Y { get; set; }
public static Coordinates NewCoord(int x, int y)
{
r... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Markup;
namespace MultiEdit.Functions
{
public static class ResourceDictio... |
using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(CountryCityApp.MyStartup))]
namespace CountryCityApp
{
public class MyStartup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Delegates.DelegatesExamples
{
class FuncDelegate
{
//Пример использования делегата Func для callback`а - домашнее задание
//Также реализация событий Keyboard одним собы... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using M... |
using Hotel.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hotel.Web.Areas.ModulRecepcija.ViewModels
{
public class DodajNarudzbuVM
{
public int Id { set; get; }
public string DatumKreiranja { set; get; }
public s... |
using Grupo5_Hotel.Negocio;
using Grupo5_Hotel.Entidades;
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;
using Grupo5_Hotel.Entidades.Entidades;
namesp... |
using System;
using System.Net;
using System.Security.Cryptography;
using System.Text;
namespace JasonSoft
{
//reference: http://weblog.west-wind.com/posts/2006/Mar/09/Creating-a-unique-or-semiunique-ID-in-NET
public class ShortId
{
private static readonly string ServerHash;
static Shor... |
using OSGeo.OSR;
using System;
using System.Runtime.InteropServices;
using gdalconst_csharp_core;
namespace OSGeo.OGR
{
public class Layer : IDisposable
{
private HandleRef swigCPtr;
protected bool swigCMemOwn;
protected object swigParentRef;
public Layer(IntPtr cPtr, bool cMemoryOwn, object parent)
{
... |
using System;
using System.Windows.Input;
using Emanate.Extensibility;
using Serilog;
namespace Emanate.TeamCity.Admin.Devices
{
public class TeamCityDeviceViewModel : ViewModel
{
private readonly TeamCityDevice teamCityDevice;
public TeamCityDeviceViewModel(TeamCityDevice teamCityDevice)
... |
using ShogunOptimizer.ArtifactSets;
using ShogunOptimizer.Characters;
using ShogunOptimizer.Weapons;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace ShogunOptimizer.BuildTargets
{
public class RaidenTarget : BuildTarget
{
public override bool UpgradeArti... |
namespace NatilleraApiDataAccessContract.Entidades
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public class Entity
{
/// <summary>
/// controlar la concurrencia.
/// </summary>
[Timestamp]
... |
using DAL;
using DAL.Customer;
using DAL.Customer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utility;
namespace BLL.Customer
{
public class CustomerBLL
{
private CustomerDAL CustomerDALObj = new CustomerDAL();
... |
using System;
using System.Collections.Generic;
using Library;
namespace Library
{
/// <summary>
/// Clase correspondiente al personaje Elfo.
/// </summary>
public class Elf : ICharacter
{
private string name {get; set;}
private int health;
private int attack {get; set;}
... |
using System.Collections;
using System.Collections.Generic;
namespace ListUtility
{
public static class ListManipulation
{
// Test if two list have the same sequence of elements
public static bool EqualSequence<T>(List<T> a, List<T> b)
{
// Precondition for null lists
... |
using AutoMapper;
namespace RollerStore.Data.Roller
{
public class RollerProfile : Profile
{
public RollerProfile()
{
CreateMap<RollerEntity, Core.Roller.Roller>()
.ForMember(dest => dest.Id, memberOptions: opt => opt.MapFrom(src => src.Id))
.ForMemb... |
using Relocation.Base;
using Relocation.Base.UI;
using Relocation.Data;
namespace Relocation.UI
{
public class HouseListHelp:BaseFormList<Relocation.Data.House>
{
public HouseListHelp():base()
{
}
public HouseListHelp(Session session)
: base(session)
{
}
protected override string... |
namespace System.IO.Compression
{
public class HttpZipEntry
{
internal HttpZipEntry(int index)
{
this.Index = index;
}
public int Index { get; }
internal int Signature { get; set; }
internal short VersionMadeBy { get; set; }
internal short MinimumVersionNeede... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using starkdev.spreadrecon.business;
using starkdev.spreadrecon.model;
using starkdev.utils;
using starkdev.spreadrecon.business.security;
using System.Configuration;
namespace starkde... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.Models.DbModels
{
public class InstitutionPost
{
public int Id { get; set; }
public int InstitutionID { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NodeScript : MonoBehaviour
{
Renderer myRender;
bool render;
Vector3 startingPosition;
Vector3 endingPosition;
private void Awake()
{
render = false;
myRender = GetComponent<Renderer>(... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
namespace Task3
{
public class StartUp
{
static void Main(string[] args)
{
List<MovieStar> movieStars = JsonConvert.DeserializeObject<List<MovieStar>>(File.ReadAllText("../../../input.json"));
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DataStructures
{
class LinkedList<T>
{
public Node head; // head list
/**
* LinkList Node class
*
*/
public class Node
{
public T data;
public No... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using QOMS.Class;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace QOMS.Activitys
{
[Acti... |
namespace E03_FirstBeforeLast
{
using System;
using System.Collections.Generic;
using System.Linq;
public class FirstBeforeLast
{
public static void Main(string[] args)
{
// Write a method that from a given array of students finds all
// students whose firs... |
using Microsoft.Extensions.Options;
using OwnerPets.Common;
using OwnerPets.Data;
using OwnerPets.Repository;
using System.Collections.Generic;
using System.Linq;
namespace OwnerPets.Services
{
public class PetsService : IPetsService
{
private IPetsRepository _repository;
//private IOptions<Fi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace calendar
{
[Flags]
enum Day_type
{
None = 0,
Active = 1,
Rest = 2,
Selected = 4
}
struct Day
{
public DateTime Num;
publ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("GeneralStoreAdventureContentDisplay")]
public class GeneralStoreAdventureContentDisplay : MonoBehaviour
{
public GeneralStoreAdventureContentDisplay(IntPtr address) : this(address, "GeneralStoreAdventureContentDisplay"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Practical_Test
{
public class HomeController : Controller
{
[HttpGet]
public IActionResult Index()
{
return View();
}
... |
namespace ns24
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, Size=1)]
internal struct Struct101
{
}
}
|
using System;
using System.IO;
using System.Linq;
using System.Text;
using Angband.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Angband.Console.Test
{
[TestCategory("Integration")]
[TestClass]
public class ProgramTest
{
private Action _resetConsoleOutToDefault;
pr... |
using DB.Interfaces;
using DB.Models;
using MertricAgentServices.Dto;
using MertricAgentServices.Mapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MertricAgentServices
{
public abstract class BaseService<TEntity,TDto>
where TEntity:BaseEnti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawn : MonoBehaviour
{
[SerializeField] private GameObject enemy;
[SerializeField] private GameObject player;
[SerializeField] private GameObject winText;
[SerializeField] private GameObject rewa... |
using System;
using System.Windows;
using System.Windows.Controls;
namespace BusyBox
{
public class BusyBoxViewContainer : ContentControl
{
static BusyBoxViewContainer()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(BusyBoxViewContainer), new FrameworkPropertyMetadata(typeof(B... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
namespace Logic.Models
{
public class Params
{
public int NeededAliveNeighborsTurnsToGrow { get; set; }
public int SnakeCellsForGrow { get; set; }
public int SnakeLengthForSplit { get; set; }
public int SnakeLengthToStop { get; set; }
public int SnakeTurnToDie { get;... |
using Entidades.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
/// <summary>
/// Clase venta, que establece la relacion entre un cliente y un producto cada vez que el primero realiza una compra del segundo
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using static Threads.Services.ThreadsService;
namespace Tasks.Examples
{
public static class TaskExample
{
public static void ShowTask()
{
Act... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using Excepciones;
namespace Archivos
{
public class Xml<T> : IArchivo<T>
{
#region Metodos
/// <summary>
/// guarda dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiaxeirisiPoiotitas
{
class ParaggeliasYliko
{
private List<Yliko> listaYlikwn;
private int posotita;
public void addYliko(Yliko y)
... |
using UnityEngine;
using System.Collections;
public static class TextureDraw
{
public static void Line(Texture2D tex, int x0, int y0, int x1, int y1, Color col)
{
int dy = (int)(y1-y0);
int dx = (int)(x1-x0);
int stepx, stepy;
if (dy < 0) {dy = -dy; stepy = -1;}
else {stepy = 1;}
if (dx < 0) {dx = -d... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using BlockChain;
using MedicinesDatabase;
using UserDatabase... |
using System;
using System.Linq;
public class Program
{
public static void Main()
{
var inputArray = Console.ReadLine().Split().Select(int.Parse).ToArray();
int numberDifference = int.Parse(Console.ReadLine());
int maxDifference = 0;
for (int i = 0; i < inputArray.Length; i++... |
using console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ConsoleTestProj
{
/// <summary>
///This is a test class for _032_CaculateTreeTest and is intended
///to contain all _032_CaculateTreeTest Unit Tests
///</summary>
[TestClass()]
public class _03... |
using Aqueduct.SitecoreLib.DataAccess;
using Aqueduct.SitecoreLib.Examples.SampleApplication.Business.Domain.Widgets;
using Aqueduct.SitecoreLib.Examples.SampleApplication.DataAccess.Resolvers;
namespace Aqueduct.SitecoreLib.Examples.SampleApplication.DataAccess.Maps.Widgets
{
public class BaseWidgetPageMap... |
using System;
using System.Collections.Generic;
namespace dojoTest.Models
{
public class Post : BaseEntity
{
public int PostId {get;set;}
public string Content{get;set;}
public DateTime Created_At{get;set;}
public int UserId{get;set;}
public User Poster{get;set;}
... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using InstagramMVC.Globals;
using InstagramMVC.Models.AdminModels;
namespace InstagramMVC.DataManagers
{
public class AdminManager
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.