text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace d05_abstract
{
public class Rectangle : Shape
{
public int width, length;
public override void input()
{
while (true)
{
... |
using RenderTest.ActivityIndicators;
using RenderTest.ContentViews;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace RenderTest
{
[XamlCompilation(XamlCompilationOptions.Compile)]
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.G_Code
{
public class G_053_GenRandomNumber
{
/*
Given random generator rand(int n) . Now, design a random generator such as
rand(int n, int[] except)
example, n = 10, rando... |
using System;
namespace OmniSharp.Extensions.JsonRpc
{
public interface IExternalServiceProvider : IServiceProvider
{
}
}
|
namespace GetLabourManager.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class CasualProc : DbMigration
{
public override void Up()
{
CreateStoredProcedure("CostSheetEntry",
@"SELECT distinct t1.RequestCode,t1.StaffCode,t1.Fu... |
namespace Nm.Reservation
{
public class ReservationInfo
{
public string Id
{
get;
set;
}
/// <summary>
/// 预约编号
/// </summary>
public string Number
{
get;
set;
}
/// ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace CityInfo.API.Services
{
public class LocalMailService : IMailService
{
private string _mailTo = Startup.Configuration["mailSettings:mailToAddress"];
p... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Perpustakaan.Data;
using Microsoft.AspNetCore.Http;
using Perpustakaan.ViewModels;
using Perpustakaan.Models;
using System.Linq;
namespace Perpustakaan.Controllers
{
public class PegawaiController : Controller
... |
using System.Linq;
using Vasily.Driver;
namespace Microsoft.AspNetCore.Mvc
{
public class VasilyController<T> : Controller where T: class
{
protected VasilyDapper<T> SqlHandler;
private ReturnResult _result;
public VasilyController()
{
}
public Va... |
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
namespace Nm.Reservation
{
[DependsOn(typeof(ReservationApplicationContractsModule))]
[DependsOn(typeof(ReservationDomainModule))]
[DependsOn(typeof(AbpAutoMapperModule))]
public class Reserv... |
using System;
using System.Runtime.InteropServices;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Particles
{
/// <summary>
/// Defines a part of a line that is bounded by two distinct end points.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct LineSegment : IEquata... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Microsoft.EntityFrameworkCore.TestModels.ManyToManyModel
{
publi... |
using Assets.Scripts.Weapons.Interfaces;
using System;
using UnityEngine;
namespace Assets.Scripts.Weapons.SpreadBeam.Segments {
public class SpreadBeamSegment {
//TODO: Implement 3 modes of rotation: default clamped rotation, unclamped rotation, and complex writhing
//and curling behaviours
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using MAST.Component;
public class CreateTile : EditorWindow
{
// static 선언 안하면 에러
private string str;
static GameObject go = null;
static EditorWindow window;
private bool FIRE, WATER, EARTH, LIGHT, ... |
using SharpDX.XInput;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DroneUI
{
public par... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Text;
using TourApi;
using TourApi.ViewModels;
using System.Threading;
using Microsoft.Extensions.Configurat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DeleteFromAnArrayWithEdgeCases
{
public class Program
{
public static void Main(string[] args)
{
int[] oldArray = new int[] {1,2,3 };
delete(oldArray, 0);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BusinessOwnerDetails;
using Microsoft.Extensions.Logging;
/*Grocery Stores Project Combines two JSON files.
* One file na... |
using Entidades;
using ProyectoFinal.UI.Consultas.Reporte;
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 ProyectoFinal.UI.Consultas.ReportVi... |
using System;
using System.Collections.Generic;
namespace Models
{
public partial class MONHOC
{
//public MONHOC()
//{
// CTDTMONHOCs = new HashSet<CTDTMONHOC>();
// LOPMONHOCs = new HashSet<LOPMONHOC>();
//}
public string MaMonHoc { get; set; }
pu... |
using System.Threading.Tasks;
using Meziantou.Analyzer.Rules;
using TestHelper;
using Xunit;
namespace Meziantou.Analyzer.Test.Rules;
public sealed class LocalVariablesShouldNotHideSymbolsAnalyzerTests
{
private static ProjectBuilder CreateProjectBuilder()
{
return new ProjectBuilder()
.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GUI_PRJ2_WINFORMS
{
class AppAction
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UDM
{
class BadColumnForThisOperationException : Exception
{
}
}
|
using BPiaoBao.Common.Enums;
using GalaSoft.MvvmLight;
namespace BPiaoBao.Client.DomesticTicket.Model
{
/// <summary>
/// 乘客信息
/// </summary>
public class PassengerModel : ObservableObject
{
#region 公开属性
public int Id { get; set; }
#region IsChecked
/// <summary>... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Scriptables/GameWinEvent")]
public class SOGameWinEvent : ScriptableObject
{
public Action GameWinHappened = delegate { };
}
|
/*
* 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... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace libopenpvp.net
{
public class AMF3Encoder
{
/** RNG used for generating MessageIDs */
private static Random _rand = new Random();
/** Used for generating timestamps in headers */
priv... |
public class ArabaConcrete2 : ArabaBuilder
{
public ArabaConcrete2()
{
_araba = new Araba { Marka = "Concrete2" };
}
public override void MotorTak()
{
_araba.Motor = "1.8 Dizel";
}
public override void LastikTak()
... |
using UnityEngine;
public class GameManager : MonoBehaviour {
public static GameManager gmI; // SINGLETON INSTANCE
public static UI_Container UI;
public static Input_Container InputContainer;
public static AudioManager audioManager;
// Use Awake for initialization (setting up components etc.)
private void Awak... |
using CMS_Database.Entities;
using CMS_Database.Interfaces;
using CMS_Database.Repositories;
using CMS_ShopOnline.Areas.CMS_Staff.Models;
using CMS_ShopOnline.Filter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CMS_ShopOnline.Areas.CMS_Staff.Con... |
using System.Globalization;
using System.IO;
using Grpc.Core;
using Grpc.Core.Logging;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using WagahighChoices.Ashe;
using WagahighChoices.Kaoruko.GrpcServer... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Training2.Utilities;
namespace Training2.PageObjects
{
class RegistrationPage
{
//inspect your elements in the Bro... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using DotNetNuke.Entities.Users;
using DotNetNuke.Web.Mvc.Framework.Controll... |
using DFe.Utils;
using NFe.Classes;
using NFe.Classes.Servicos.Recepcao;
using NFe.Danfe.Fast.NFCe;
using NFe.Utils.NFe;
using PDV.CONTROLER.Funcoes;
using PDV.CONTROLLER.NFCE.Configuracao;
using PDV.DAO.Custom;
using System.Text;
namespace PDV.CONTROLLER.NFCE.Impressao
{
public class ImpressaoNFCe : IConfigNFCe
... |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Notifications.Api.Controllers;
using SFA.DAS.Notifications.Api.Core;
using SFA.DAS.Notifications.Api.Orchestrators;
using SFA.DAS.Notifications.Api.Types;
namespace SFA.DAS.Notifications.Api.UnitTest... |
using System;
using AlienEngine.Core.Physics.Entities;
using AlienEngine.Core.Physics.Utilities;
namespace AlienEngine.Core.Physics.Constraints.TwoEntity.Joints
{
/// <summary>
/// Connects two entities with a spherical joint. Acts like an unrestricted shoulder joint.
/// </summary>
public class BallS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Windows.Threading;
namespace x01.Tetris
{
public enum BlockType
{
Straight, T, Square, Bent
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClearSight.RendererAbstract.Memory
{
public enum Format
{
Unknown,
R32G32B32A32_Typeless,
R32G32B32A32_Float,
R32G32B32A32_UInt,
R32G32B32A32_S... |
using bot_backEnd.Models.AppModels;
using bot_backEnd.Models.DbModels;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.BL.Interfaces
{
public interface IInstitutionBL
{
List<Institution> getAllInstit... |
using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;
using ProtoBuf;
namespace Model
{
[BsonIgnoreExtraElements]
[ProtoContract]
public class PlayerBaseInfo
{
[ProtoMember(2)]
public long roleId;
}
[BsonIgnoreExtraElements]
[ProtoContract]
pub... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CRUDelicious.Models;
using Microsoft.EntityFrameworkCore;
namespace CRUDelicious.Controllers
{
public class HomeController : Controller
{
pri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Raiwan.Classes
{
class FileParameters : Packet
{
public int PKT = 4;
public int FID; // File Id
public string SRT; // Sample Rate
public string FCL; // ... |
/*
* OpenAPI definition
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.IO;
using System.Collections... |
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 System.Collections;
using System.Data.SqlClient;
namespace RSMS
{
public partial class BadClientFrm : MySubDialogBase
{
... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Text;
namespace ProyectoModular
{
class Alquiler
{
public int Id { get; set; }
public int IdUsuarios { get; set; }
public int IdPeliculas { get; set; }
public DateTime FechaAlquiler { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clases
{
[Serializable]
public class Cog : CarPart
{
public int TeethNumber { get; set; }
public Cog(int teethNumber, int stock) : base( stock, "C-T" + teethNumbe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Collider), typeof(Collider))]
public class VRObjectStand : MonoBehaviour
{
public Color targetColor = Color.red;
public System.Action<Keycard> keycardInserted;
public System.Action<Keycard> keycardEject... |
namespace MoodCalculatorLibrary.Moods
{
public class JavaScript:Mood
{
public JavaScript(int hapinessPoints) : base(hapinessPoints)
{
}
}
}
|
using System;
using System.Collections.Generic;
//Extend the previous program to support also subtraction and multiplication of polynomials.
class SubtractingPolynomials
{
static void Main()
{
int[] firstArr = { 2, 1 };
int[] secondArr = { 1, 1 };
PrintPolinom(SubstractingPolinoms(fi... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace EkspozitaPikturave.Data.Migrations
{
public partial class PikturatEKSMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using Model;
namespace DAL
{
public partial class DALOperate
{
/// <summary>
/// 获取用户联系人
/// </summary>
/// <param name="uId">用户编号</param>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using camera_api.Model;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Cosmos.Table;
using Azure.Storage.Blobs;
using Azure.Storage.Sas;
namespace camera_api.Controllers
{
[Route("api/[controller]")]
[ApiCon... |
using System;
using System.Collections.Generic;
using SubSonic.BaseClasses;
using SubSonic.Extensions;
using SubSonic.SqlGeneration.Schema;
namespace Pes.Core
{
[SubSonicTableNameOverride("VPart")]
public partial class VPart:EntityBase<VPart>
{
#region Properties
public overr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
public class ApplicationManager : MonoBehaviour {
public static ApplicationManager instance;
public float ESCQuitReqHoldDuration;
public GameObject pauseScreen;
... |
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Claytondus.Square.Test
{
internal class AsyncAssertExtension
{
public static async Task<T> ThrowsAsync<T>(Func<Task> task) where T : Exception
{
try
{
await task();
}
catch (Exception ex)
... |
using GameTimeClient.Tracking.Utility;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace GameTimeClient.Tracking.IO
{
class Transfer
{
Storage storage;
private Transfer() { }
public Transfer(Storage _storage)
{
storage = _storage;
... |
using System;
namespace ClassesIntro
{
class Program
{
static void Main(string[] args)
{
Console.Clear();
Car myCar = new Car();
Car anotherCar = new Car();
myCar.Accelerate();
myCar.Accelerate();
myCar.Accelerate();
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CombinatorialAlgorithms
{
class CombinationsIteratively
{
private static int countOfCombo = 0;
static void Main()
{
Console.Write("Combinations without repetition for numbers from 1 up t... |
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 Lib;
namespace Team_Agile.Pages
{
public partial class MainPage : Form
{
public Ma... |
using System.Collections.Generic;
using DDDSouthWest.Domain.Features.Public.ProposedTalks;
namespace DDDSouthWest.Website.Features.Public.ProposedTalks
{
public class ProposedTalksViewModel
{
public ProposedTalksViewModel()
{
ProposedTalks = new List<ProposedTalkViewModel>();
... |
using System.Diagnostics;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public record VersionedTextDocumentIdentifier : TextDocumentIdentifier
{
/// <summary>
/// The version number of this document.
/// </s... |
namespace HH.RulesEngine.Core.Interfaces
{
public interface IRule<T>
{
void ClearConditions();
void Initialize(T obj);
bool IsValid();
T Apply(T obj);
}
} |
using System;
namespace BribeQueueLine.Classes
{
public class QueueClass
{
public void minimumBribes(int[] q)
{
bool chaos = false;
int bribes = 0;
for (int i = 0; i < q.Length; i++)
{
if(q[i] - (i + 1) > 2)
{
... |
using HardwareInventoryManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using Microsoft.AspNet.Identity;
using HardwareInventoryManager.Helpers.Account;
namespace HardwareInventoryManager.Repository
{
public class UserRepository : IRepo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TextTemplateCode
{
public class TextTemplatingService : IDisposable
{
public void LogErrors(System.CodeDom.Compiler.CompilerErrorCollection c){ throw new NotImplementedException(); }
public Boolean ... |
using Lobster.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Lobster.Services
{
public interface ICrabService
{
Task<IEnumerable<Crab>> GetCrabs();
}
}
|
using System;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using OmniSharp.Extensions.JsonRpc.Server;
using OmniSharp.Extensions.JsonRpc.Testing;
using Xunit;
using Xunit.Abstractions;
namespace JsonRpc.Tests.Server
{
public class ServerShouldThrowCorrectExceptions : JsonRpcServerTestB... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ProcessHandlesManager
{
public partial class frmMain : Form
{
private ProcessEnum m_proc_enum = null;
private ProcessHa... |
using UnityEngine;
using System.Collections;
namespace Ph.Bouncer
{
public static class ResolutionHelper
{
private const int IPHONE_3_WIDTH = 480;
private const int IPHONE_5_WIDTH = 1136;
// iPhone 4 width 960
// iPad width 1024
public static ResolutionSize GetSize()
{
// Assumes portrait
if(Scre... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Entity
{
public class ChiTietPhieuEntity
{
public Int64 IDChiTietPhieu { get; set; }
public Int64 MaPhieu { get; set; }
public Int32 MaHang { get; set; }
public Int32 Soluong { get; set; }
public Int32 MaKieuGiat { ge... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace EatDrinkApplication.Models
{
public class ShoppingCart
{
public int ShoppingCartId { get; set; }
public string Items { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
using Voronov.Nsudotnet.BuildingCompanyIS.Logic.DataStructures;
namespace Voronov.Nsudotnet.BuildingCompanyIS.Logic.DbInterfaces
{
public interface I... |
using System;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace WorkflowHandler.IPFS_EXCHANGE
{
class Responder: IDisposable
{
private readonly IConnection connection;
private readonly IModel channel;
pu... |
namespace PhotoShare.Client.Core.Commands
{
using Models;
using System;
using System.Linq;
public class PrintFriendsListCommand
{
// PrintFriendsList <username>
public string Execute(string[] data)
{
string username = data[0];
User u = GetUserByUs... |
using System;
namespace basic13
{
class Program
{
public static void PrintNumbers()
{
for (int i=1;i<=255;i++)
{
Console.WriteLine(i);
}
}
public static void PrintOdds()
{
// Print all of the odd integers f... |
using System;
using Android.Views;
using Android.Animation;
//using Android.Views.Animations;
using Android.Views.Animations;
using Android.Graphics;
using Ts.Core.Containers;
using Android.App;
namespace Ts.Core
{
public class FlipViewAnimation: Animation
{
private View _fromView, _toView;
pr... |
using System;
using System.Collections.Generic;
namespace Tetris.GameEngine
{
public class Piece: ICloneable
{
#region Private Fields
private int[,] _piece;
private int _initPosX;
private int _initPosY;
private List<int[,]> _rotationStates = null; // possible states to... |
//-----------------------------------------------------------------------
// <copyright file="ScalingComboBox.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace TQVaultAE.GU... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SearchFight.Interfaces
{
public interface ISearchEngine
{
int Search(string querys);
}
}
|
using OpenQA.Selenium;
namespace SeleniumSample.PageObjectModels
{
public abstract class Page
{
protected readonly IWebDriver driver;
public Page(IWebDriver driver)
{
this.driver = driver;
}
}
}
|
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Whale.DAL.Migrations
{
public partial class AddUnreadMessageIds : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "UnreadMessageId... |
using UnityEngine;
using UnityEngine.UI;
public class MaxDiscount : MonoBehaviour
{
[SerializeField] private InputField amountText;
private int amount;
public void overLimit()
{
int.TryParse(amountText.text, out amount);
if (amount > 1200)
{
amount... |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Ambassador.Entities
{
[DisplayName("User")]
public class User : IdentityUser
{
[MaxLength(450)]
public string Ambas... |
namespace Exam_SequencesOfBits
{
using System;
public class IO
{
public static int[] ReadInput()
{
int numLinesInput = int.Parse(Console.ReadLine());
int[] numbers = new int[numLinesInput];
for (int index = 0; index < numbers.Length; index++)
... |
// Copyright (c) Microsoft. All rights reserved.
//
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation.Metadata;
namespace Microsoft.IoT.Connections.Azure.EventHubs
{
public seal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChartControl
{
public class SeriesPoint
{
public double Argument
{
set;
get;
}
public DateTime DateTimeValue
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Estructuras__De__Datos
{
public class Lista<T>
{
public Nodo<T> Inicial;
public Nodo<T> Final;
public Lista()
{
Inicial = nu... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public TextMeshProUGUI chronoText;
public TextMeshProUGUI checkpointTimes;
public GameObject endScreen;
publi... |
using System.Globalization;
using UnityEngine;
public static class ColorExtensions
{
public static Color Parse(this Color color, string hex)
{
var r = byte.Parse(hex.Substring(0, 2), NumberStyles.HexNumber);
var g = byte.Parse(hex.Substring(2, 2), NumberStyles.HexNumber);
var b = byte.... |
using Core.Domain;
using Core.Interface;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Api.Controllers
{
[ApiController]
[Route("api/emails")]
public class EmailController : ControllerBase
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OscillatingMovement : MonoBehaviour {
public Vector3 translationOscillation, rotationOscillation;
public float oscillateSpeed;
private Vector3 startingPosition, startingRotation;
// Use this for initialization
void Star... |
using System;
using System.Text;
namespace FixStringCase
{
class Program
{
static void Main(string[] args)
{
string lowerUpperLetters = "COde";
Console.WriteLine(Solve(lowerUpperLetters));
}
public static string Solve(string s)
{
in... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading.Tasks;
using EchoNest;
using EchoNest.Artist;
using Microsoft.Practices.Prism.Commands;
using Microsoft.Practices.Prism.Logging;
using Microsoft.Pra... |
using QDot.API.Client.BaseAPI.Request;
using System;
using System.Collections.Generic;
using System.Text;
using QDot.API.Client.BaseAPI;
using QDot.Infraestructure.Models;
namespace QDot.API.Client.QDotAPI.Requests
{
public class GetAllDevelopersRequest : IAPIRequest<List<Developer>>
{
public HttpMeth... |
using System;
using System.Drawing;
using PDV.DAO.Entidades;
using PDV.CONTROLER.Funcoes;
using System.IO;
using System.Data;
using PDV.DAO.QueryModels;
namespace PDV.REPORTS.Reports.Email_Gestor
{
public partial class ResumoVendasPorProdutoGenerico : DevExpress.XtraReports.UI.XtraReport
{
DataTable d... |
using UnityEngine;
using System.Collections;
public class monsterSpawner : MonoBehaviour
{
private PlayerPhysics playerPhysics;
//kill count and waves
public int curKillCount = 0;
public int waveComplete = 10;
public int lastKillCount = 0;
//spawning limits
public int cap = 2;
//current spawned
public ... |
using Business.Abstract;
using Business.BusinessAspects.Autofac;
using Business.Constant;
using Business.DependencyResolvers.ValidationRules.FluentValidator;
using Core.Aspects.Autofac.Caching;
using Core.Aspects.Autofac.Performance;
using Core.Aspects.Autofac.Transaction;
using Core.Aspects.Autofac.Validation;
using ... |
using System;
using System.Net;
namespace SnipForMammal
{
class WebClientWithShortTimeout : WebClient
{
// How many seconds before webclient times out and moves on.
private const int WebClientTimeoutSeconds = 10;
protected override WebRequest GetWebRequest(Uri address)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Reflection;
using Harmony;
/*public class Controller : MonoBehaviour
{
public void setPYR(Vector3 PitchYawRoll)
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class BarracksUp : MonoBehaviour {
public int PriceUpLvl;
public float SpeedTrainigLvl2;
public float AddArmor2Lvl;
public float AddPAtck2Lvl;
public float AddSpeed21Lvl;
public float AddAtkSpd2Lvl;
public float A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.