text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NewsPortal.Models
{
public class RepositorioNoticias
{
private static List<Noticia> noticias;
public static List<Noticia> Noticias
{
get
{
if (noticia... |
using System;
using iQuest.VendingMachine.UseCases.UseCaseList;
using iQuest.VendingMachine.PresentationLayer.Views.Interfaces;
using iQuest.VendingMachine.UseCases.Interfaces;
using iQuest.VendingMachine.PresentationLayer.DisplayConfiguration;
namespace iQuest.VendingMachine.PresentationLayer.Commands
{
internal... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
using System;
public class GameScript : MonoBehaviour {
private GameObject currentPlatform;
private GameObject player;
private Rigidbody2D playerRigidbody;
private PlayerScript playerScript;
//plays the song
private AudioScript audi... |
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 Enrollment.Domain.Entities;
using Enrollment.Forms.Configuration;
using Enrollment.Forms.Configuration.Bindings;
using Enrollment.XPlatform.Tests.Helpers;
using Enrollment.XPlatform.Services;
using Enrollment.XPlatform.ViewModels.Factories;
using Enrollment.XPlatform.ViewModels.ReadOnlys;
using Microsoft.Extensi... |
using System;
using WorldHardestGame.Core.Entities;
namespace WorldHardestGame.Core.IA
{
public class BouncingX : BaseMovingIA
{
public BouncingX(float start, float end, float duration, BaseEntityIA entity)
: base(entity, duration)
{
Start = start;
End = end... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Sunny.Lib.Xml;
using System.IO;
using System.Security;
using Sunny.Lib.Extension;
namespace Sunny.Lib
{
public class ProcessHelper
{
const string _moduleName = "ProcessHelper";
... |
using System.Windows.Media;
namespace OmniGui.Wpf
{
using System.Windows.Media.Imaging;
using Geometry;
public class WpfDrawingContext : IDrawingContext
{
private readonly DrawingContext context;
public WpfDrawingContext(DrawingContext context)
{
this.context = co... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContactLinkEdit.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------... |
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels.Tcp;
using System.Runtime.Remoting.Channels;
namespace RemotingHelloWorld {
class Client {
static void Main() {
TcpChannel channel = new TcpChannel();
ChannelServices.RegisterChannel(channel,true);
IHello obj... |
using System;
namespace Renting.Domain.Discounts
{
public interface IDiscountService
{
Discount CalculateDiscount(string tenantId, string offerId, DateTime from, DateTime to);
}
} |
namespace Zip.CreditInputs
{
public class CompletedPaymentsCalculator : ICreditInputCalculator
{
public CompletedPaymentsBands CompletedPaymentBand { get; }
public CompletedPaymentsCalculator(int completedPayments)
{
if (completedPayments < 0)
{
... |
namespace HCL.Academy.Model
{
public class SkillwiseAssessmentsRequest:RequestBase
{
public int SkillId { get; set; }
public int CompetenceId { get; set; }
}
}
|
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
using MenuSample.Scenes.Core;
using System.Collections.Generic;
using System.IO;
namespace MenuSample.Scenes
{
public class UserMenuScene : AbstractMenuScene
{
protected int _level, _act = 1;
Microsoft.Xna.Framework.GraphicsDeviceManager graphics;
public UserMenuScene(Sce... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EstudoConsole.Unicamp.Lista_1.Classes.Questão_1
{
class Principal
{
static void Main(string[] args)
{
double media, final;
Aluno a = new Aluno(... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NullOrDefaultToVisibilityConverter.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FixyNet.Clases
{
class ListaIPRespuesta
{
public string ip { get; set; }
//resto propiedades
public string estado { get; set; }
public string mac { g... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("AmbushSpell")]
public class AmbushSpell : OverrideCustomSpawnSpell
{
public AmbushSpell(IntPtr address) : this(address, "AmbushSpell")
{
}
public AmbushSpell(IntPtr address, string className) :... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrashCollectorApp.Data.Migrations
{
public partial class V32 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "AspNetRoles",
ke... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using RPG_Project.DTOs;
using RPG_Project.DTOs.Fight;
using RPG_Project.Services.Character;
namespace RPG_Project.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class CharacterController : ControllerBase
{
private r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.IO;
using System.IO.Pipes;
using PNPUCore;
namespace PNUDispatcher
{
/// <summary>
/// Cette classe sert à communiquer avec le webservice via ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MongoDB.Driver;
namespace Rhea.Data.Server
{
/// <summary>
/// 房产服务器
/// </summary>
public class EstateServer
{
#region Field
/// <summary>
/// 连接字符串
/// </s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class RandomNamesForAi : MonoBehaviour
{
public string namePlayerTwo;
public string[] names;
void Start()
{
AddNamesFromTextFile();
RandomName();
}
public void AddNamesFromTe... |
namespace IVeraControl.Model
{
public interface IPermission
{
int PkPermission { get; }
int Mode { get; }
}
}
|
using UnityEngine;
using UnityEngine.UI;
namespace ReadyGamerOne.Utility
{
public static class AlphaExtension
{
public static Color SetAlpha(this Color color, float alpha)
{
var okAlpha = Mathf.Clamp(alpha, 0, 1);
return new Color(color.r, color.g, color.b, okAlpha);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using ComputerShop_withAuth.Models;
namespace ComputerShop_withAuth.Pages.Compatibles
{
public class Inde... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game
{
class Silah:Envanter
{
int darbe;
int mod;
bool kritik;
public int Darbe
{
get
{
return darbe;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using ComputerBuilderSystem.Contracts;
namespace ComputerBuilderSystem
{
class HardDiskDriveOld : IDiskDrive
{
bool isInRaid;
int hardDrivesInRaid;
List<HardDiskDriveOld> hds;
int capacity;
Dictionar... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Events.Web.Validators
{
public class StartDateTimeAttribute : RangeAttribute
{
private string maxValue = string.Empty;
public StartDateTimeAttribute() :
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess
{
public interface GenericRepository<T>
{
bool Add(T obj);
bool Update(T obj);
bool Delete(int id);
T Get(int id);
List<T> GetAll(); ... |
using System;
using Microsoft.Quantum.Simulation.Core;
using Microsoft.Quantum.Simulation.Simulators;
namespace Teleportation
{
class Driver
{
static void Main(string[] args)
{
using (var qsim = new QuantumSimulator())
{
var res = doTelepor... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace WTProject.model
{
public class Team
{
private readonly string filePath;... |
using System;
using System.Collections.Generic;
namespace Simplist.Cqrs.Core.Domain
{
public interface IEventStore
{
void SaveEvents(Guid id, IEnumerable<DomainEvent> events);
IEnumerable<DomainEvent> GetEvents(Guid id);
}
} |
using System;
using Microsoft.ComplexEventProcessing;
namespace SiDualMode.Base {
public abstract class StreamEventConsumer<TPayloadType, TConfigType> :
IObserver<PointEvent<TPayloadType>>, IObserver<EdgeEvent<TPayloadType>>, IObserver<IntervalEvent<TPayloadType>> {
public TConfigType Configuration { ... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace WebAppBackend.Models.DBmodels
{
public class Flower
{
public ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using TestGap.Api.Class;
using TestGap.Api.Models;
namespace TestGap.Api.Controllers
{
public class TratamientosTe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ItemDetails : MonoBehaviour
{
[SerializeField] private TMP_Text ItemName;
[SerializeField] private TMP_Text ItemWeight;
[SerializeField] private TMP_Text ItemValue;
[SerializeField] private TMP_Text... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.CodeAnalysis.Sarif
{
public class HashData
{
public HashData(string md5, string sha1, string sha256)
{
MD5 = md5... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GameLoanManager.Domain.Entities;
using GameLoanManager.Domain.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace GameLoanManager.Data.Repository
{
public class LoanedGameRepository : RepositoryBase<LoanedGame>, ILoaned... |
using Serenity;
using Serenity.Data;
using Serenity.Services;
using System;
using System.Data;
using MyRequest = Serenity.Services.SaveRequest<ARLink.Default.PackageRow>;
using MyResponse = Serenity.Services.SaveResponse;
using MyRow = ARLink.Default.PackageRow;
namespace ARLink.Default
{
public interface IPackag... |
using System;
using System.IO;
namespace Windore.Settings.Base
{
public class StringSettingIsPathAttribute : SettingValueCheckAttribute
{
public override bool CheckValue(object value, out string message)
{
if (value is string str)
{
// This way allows f... |
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 ABPPriject
{
public partial class ChangeState : Form
{
public st... |
// 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Metadata;
u... |
using System;
using System.Collections.Generic;
namespace AppstoreAPI.Models
{
public partial class Result
{
public int ResultId { get; set; }
public int DeviceId { get; set; }
public string ResultJson { get; set; }
public DateTime Date { get; set; }
public Device Devi... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson.Serialization.IdGenerators;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace AlquilerVideo.Models
{
public class Pelicula
{
[BsonId(IdGenerator = typeof(StringObjectIdGe... |
using System;
namespace l5p
{
class Program
{
static void Main(string[] args)
{
//l5p1.WriteText();
//l5p2.WriteTime();
//l5p3.WriteText();
//l5p4.CatalogTree();
//l5p5.main_menu();
l5p6.Person_list();
Console... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Beamore.DAL.Contents.Models
{
[Table("LocationTable")]
public class Location : BaseModel
{
public Location()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraduationTracker
{
public class Repository
{
public static Student GetStudent(int id)
{
var students = GetStudents();
return stu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace MonoEngine
{
class Input
{
private static KeyboardState currentKB;
private static KeyboardState prev... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;
public class ItemProcessor : IPreprocessBuildWithReport
{
public int callbackOrder { get { return 0; } }
public void OnPreprocessBuild(BuildReport repor... |
using Assets.Scripts.Enemies.Interfaces;
using System.Collections.ObjectModel;
using System.Linq;
namespace Assets.Scripts.Enemies.CommandAndControl {
public class Squadron {
bool isAlive;
readonly Collection<IEnemy> ships;
public bool IsAlive {
get {
return ... |
using System;
using System.Collections.Generic;
namespace YoukiaCore
{
/// <summary>
/// 类说明:定时器
/// 作者:刘耀鑫
/// </summary>
public class Timer
{
/// <summary>
/// 回调函数
/// </summary>
private Action _call;
/// <summary>
/// 延迟时间:秒
/// </su... |
using System;
using HaloSharp.Model;
using HaloSharp.Model.Metadata;
using static HaloSharp.Model.Enumeration;
namespace HaloHistory.Business.Models.Stats
{
public abstract class BaseMatchResult
{
public GameMode GameMode { get; set; }
public Guid Id { get; set; }
public string GameBa... |
namespace MusicStoreSystem.Api.Models.Albums
{
using System;
using System.ComponentModel.DataAnnotations;
using MusicStore.Common.Constants;
public class AlbumDetailsResponseModel
{
public int Id { get; set; }
[Required]
[MinLength(ValidationConstants.MinTitleLength)]
... |
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace SimpleMvcSitemap
{
/// <summary>
/// Encapsulates information about all of the Sitemaps in the file.
/// </summary>
[XmlRoot("sitemapindex", Namespace = Namespaces.Sitemap)]
public class SitemapIndexMode... |
using System.Collections.Generic;
using RestSharp.Deserializers;
namespace Jira.NET.Models
{
public class JiraApplicationRole:JiraObject
{
[DeserializeAs(Name = "key")]
public string Key { get; set; }
[DeserializeAs(Name = "groups")]
public List<string> Groups { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
//using Sunny.DB;
namespace Sunny.CustomerControls.DBSetupWizard
{
public partial class InstallDBWizard : Form
{
publi... |
using System;
using System.Windows.Forms;
using System.Drawing;
using Controller;
namespace View
{
public class MainWindow : Form
{
protected ViewWidget ViewWidget;
protected NumericUpDown TimeSlider;
public delegate void VoidIntDel(int NewMultiplier);
public event VoidIntDel TimeScaleChanged... |
using System;
using System.Collections.Generic;
using System.Xml;
using Newtonsoft.Json;
using oAuthTwitterWrapper;
namespace OAuthTwitterWrapper
{
public class OAuthTwitterWrapper
{
private const string OAuthUrl = "https://api.twitter.com/oauth2/token";
private string timelineUrl;
pr... |
using System;
namespace EcobitStage.DataTransfer
{
public class UserPrivilegeDTO : DTO
{
public UserPrivilegeDTO(int User_ID, string Privilege_Name, DateTime StartDate, DateTime EndDate)
{
this.User_ID = User_ID;
this.Privilege_Name = Privilege_Name;
this.St... |
using System;
using Xamarin.Forms;
namespace EQIQ
{
public class Page2 : ContentPage
{
public Page2 ()
{
Button homeBtn = new Button {
Text = " 5 Steps "
};
homeBtn.Clicked += OnButtonClicked;
Content = new StackLayout {
VerticalOptions = LayoutOptions.Center,
Childr... |
using System;
using System.Web.UI.WebControls;
namespace SKT.MES.Web.User
{
public partial class DepartmentList : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
if (this.IsPostBack)
{
if (this.txtName.Value != "")
{
... |
using System;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
namespace Radex.Tsp.UI
{
public partial class TspForm : Form
{
private readonly Algorithm alg;
private readonly NodeList nodes;
private readonly GuiFac... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpeechBubbleResize : MonoBehaviour
{
public RectTransform text;
public float heightPerLine = 0.65f;
// Update is called once per frame
private void LateUpdate()
{
SetSize();
}
public void... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Micro.Net.Core.Abstractions.Management
{
public interface IHealthProvider : IMicroComponent
{
Task<HealthReport> CheckUp();
}
}
|
using System;
namespace IWx_Station
{
// events are declared in the implementing class
public delegate void DelChangedSetting(string settting, string value); //new value notification
public delegate void DelExceptionRaised(string msg); // notice of unexpected issue
public delegate void DelCh... |
using nuru.IO.NUI.Cell.Color;
using nuru.IO.NUI.Cell.Glyph;
using nuru.IO.NUI.Cell.Metadata;
using System;
using System.Collections.Generic;
namespace nuru.IO.NUI.Cell
{
public class CellWriterFactory
{
readonly Dictionary<GlyphMode, IGlyphWriter> glyphWriters = new Dictionary<GlyphMode, IGlyphWriter>... |
using CMkvPropEdit.Classes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CMkvPropEdit.CustomControls
{
public partial class TrackInfoView : UserControl
{
private TrackType Type;
private string DefaultTrackName;
private readonl... |
// 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.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using RestSharp;
using Riverside.Cms.Utilities.Net.RestSharpExtensions;
namespace Riverside.Cms.Utilities.Google.Places.Client
{
public class PlaceService : IPlaceService
{
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Runtime;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.Routing;
usi... |
using System;
using System.Collections.Generic;
using AutoMapper;
using CourseLibrary.API.Entities;
using CourseLibrary.API.Models.Courses;
using CourseLibrary.API.Services.Interfaces;
using Marvin.Cache.Headers;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Infra... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlServerCe;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
us... |
using System.Data.SqlClient;
using System.Data;
using System.Windows.Forms;
using System.Collections;
using System;
namespace FrbaCommerce.SQLUtils
{
public class SQLUtils
{
public static void cargarTabla(DataGridView dataGridView, IList coleccion)
{
dataGridView.DataSource ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace market_takip
{
public partial class Form7 : Form
{
public Form1 frm1;
public Form7()
{
... |
using Hotel.Data.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hotel.Web.Areas.ModulRecepcija.ViewModels
{
public class RezervisanSmjestajOdaberiSmjestajVM
{
public string DatumDolaska { get;... |
using System;
namespace Nez.Overlap2D.Runtime
{
public class ParticleEffectVO : MainItemVO
{
public String particleName = "";
public float particleWidth = 100;
public float particleHeight = 100;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YoctoScheduler.WebAPI.Proxies
{
[System.Runtime.Serialization.DataContract]
public class Secret
{
[System.Runtime.Serialization.DataMember]
public string ID { get; ... |
using System.ComponentModel.DataAnnotations;
namespace DataTransfer.DTO.Users
{
public class UserForResetPasswordDto
{
[Required(ErrorMessage = "Username is required")]
public string UserName { get; set; }
[Required(ErrorMessage = "Old password is required")]
[DataType... |
using System.Collections.Generic;
namespace BlazorUtils.Dev.Storages
{
internal static class DevComponentStorage
{
private static HashSet<DevComponent> _internalDevComponents;
private static HashSet<DevComponent> _devComponents
{
get
{
if (_inte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// SMS model - Class used to allow the creation of SMS objects.
/// </summary>
namespace NapierBank.Models
{
public class SMS
{
//Setup SMS variables with getters and set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InterviewQuestions
{
class CharsPermutation
{
public static void Run()
{
var chars1 = new char[] { 'A'};
var chars2 = new char[2] { 'A', 'B'};
... |
using BasicAspNetCoreApplication.Localization;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Hosting;
using Volo.Abp;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Autofac;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.VirtualFileSystem;
namespace BasicAspNetCoreApplication
{... |
using SFA.DAS.Notifications.Domain.Entities;
namespace SFA.DAS.Notifications.Application.Messages
{
public class DispatchNotificationMessage
{
public string MessageId { get; set; }
public NotificationFormat Format { get; set; }
}
}
|
using UnityEngine;
public class ProjectileLauncher : MonoBehaviour {
[SerializeField] private GameObject _projectile;
public void Fire(float force) {
AudioSource fire = GetComponent<AudioSource> ();
fire.Play ();
var shot = (GameObject) Instantiate(_projectile, transform.position, transform.rota... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
public class ... |
using System;
using System.Globalization;
namespace Exercicio05 {
class Program {
static void Main(string[] args) {
Console.Write("Digite o código da 1° peça: ");
int codigo = int.Parse(Console.ReadLine());
Console.Write("Digite a quantidade de peças : ");
i... |
using System;
using System.Collections.Generic;
namespace AOC2020{
class DayTwo{
public void Run(){
List<string> strList = Input.GetStrings("input_files/Day02.txt");
List<Entry> entryList = new List<Entry>();
foreach(string str in strList){
entryList.Add(... |
// Copyright (c) 2008 Josh Cooley
// 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, copy, modify, merge, publis... |
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace NetworkToolkit.Tests.Http.Servers
{
internal sealed class Http1TestStream : HttpTestStream
{
private readonly int _streamIdx;
private readonly Http1TestConnection _connection;
... |
namespace CloneDeploy_Entities.DTOs.ClientImaging
{
public class QueueStatus
{
public string Position { get; set; }
public string Result { get; set; }
}
} |
using System;
namespace Composite
{
class Program
{
static void Main(string[] args)
{
IComponente<string> arbol = new Compuesto<string>("root");
IComponente<string> trabajo = arbol;
string opcion = string.Empty;
string dato = string.Empty;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NServiceBus;
using Order.Contracts.Events;
namespace OrderService.Server
{
public class NewOrderHandler : IHandleMessages<NewOrder>
{
public Task Handle(NewOrder message, IMessageH... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class ScrollConroller : ScrollRect
{
public bool isMoving = false;
private float radius = 0f;
private float[] messages = new float[2];
private object... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DataStructures.LL
{
public class LinkedList
{
public int Length { get; private set; }
private Node _root;
public LinkedList()
{
Length = 0;
_root = null;
}
pub... |
using System.Collections.Generic;
namespace WebApplication.Api.Models
{
public class LaptopsModel
{
public int Id { get; set; }
public string Name { get; set; }
public int BrandId { get; set; }
public BrandModel Brand { get; set; }
public IList<LaptopConfigurationModel> ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using ClickPizza.WindowsPhone.Data;
using ClickPizza.WindowsPhone.Model;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Tasks... |
using UnityEngine;
using System.Collections;
using System.Threading;
public class ButtonSliders : MonoBehaviour
{
private Vector3 showPosition = new Vector3 ();
private Vector3 hidePosition;
public float slideAmount = 0f;
public float slideTime = 0.5f;
private Vector3 currentPosition = new Vector3();
private ... |
using System;
using System.Threading.Tasks;
namespace KelpNet.Common.Tools
{
class Initializer
{
//If initial value is not input, initialize with this function
public static void InitWeight(NdArray array, double masterScale = 1)
{
double localScale = 1 / Math.Sqrt(2);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.