text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
namespace _01._Company_Roster
{
class Program
{
static void Main(string[] args)
{
int numberOfLines = int.Parse(Console.ReadLine());
List<Department> departments = new List<Department>();
for ... |
///////////////////////////////////////////////////////////////////////////////////////////////////
/// @Name: RawDataReader.cs
/// @Description: 从文件中读取原始数据,保存到本地文件系统,并做预处理(R波检测以及运动状态和强度计算)
/// @Author: Shaofeng Wang
/// @Created Date: 2010-02-26
/// @Updated At: 2010-03-16
/// @Copyright: All Rights Reserved by Senso... |
using System.Collections.Generic;
using System.Threading;
using Framework.Core.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
namespace Tests.Pages.Oberon.Contact
{
public class ContactMerge : ContactBasePag... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WeaklySmartUMLMaker
{
public abstract class FigureFabric
{
public abstract AbstructFigure CreateFigure();
private AbstructFigure _figure;
... |
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using GooglePlayGames;
using TMPro;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.UI;
public class MenuUIController : MonoBehaviour {
public GameObject shop;
public GameObject leaderboards;
float defaultShopPosition... |
using FeedbackAndSurveyService.FeedbackService.Model.Memento;
using Model.NotificationSurveyAndFeedback;
using System;
namespace FeedbackAndSurveyService.FeedbackService.Repository
{
static class FeedbackMapper
{
internal static Model.Feedback ToFeedback(this Feedback feedback)
{
F... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Moq;
using Witsml;
using Witsml.Data;
using Witsml.ServiceReference;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Models;
using WitsmlExplorer.Api.Services;
using WitsmlExplorer.Api.Workers;
using Xunit;
n... |
using Microsoft.AspNetCore.Mvc;
using TechnicalRadiation.Models.InputModels;
using TechnicalRadiation.Services;
using TechnicalRadiation.WebApi.Attributes;
namespace TechnicalRadiation.WebApi
{
[Route("api/authors")]
public class AuthorController : Controller
{
private readonly AuthorService _autho... |
using UnityEngine;
using System.Collections;
public interface I_StateSynchronisationObserver
{
void OnPlayerReadyChanged(Player player, GameState gameState);
} |
/*
* 2020 Microsoft Corp
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rune : Interactable
{
//!!! TODO make this class more OOP
public GameObject CanvasAlert;
Color32 activatedColor;
public override void OnEnable()
{
base.OnEnable();
IsOneTimeInteraction = tr... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FootballTAL.Controller;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace FootballTAL.Controller.Tests
{
[TestClass()]
public class Ma... |
using System.Collections.Generic;
using System.Linq;
namespace E6
{
public class Peliteca
{
List<Pelicula> peliteca;
public Peliteca (){
peliteca = new List<Pelicula>();
Pelicula p1 = new Pelicula("Avengers EndGame", "Super Heroes", "2019", "Joe Russo");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Editor
{
public delegate bool InputCallback(Keys key);
public class InputHandler
{
private Dictionary<int, List<InputCallback>> Callbacks;
... |
using UnityEngine;
using System.Collections;
public class GroundManager : MonoBehaviour {
public GameObject groundTile;
public Sprite[] groundSprites;
// public Vector2 dimensions;
public int rowWidth;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PWStream.RSA
{
/// <summary>
/// RSA 인코딩을 사용한 문자열 쓰기를 지원합니다.
/// </summary>
public class RSAWriter : BinaryWriter
{
/// <summary>
/// 스트림에 쓰는 <see cref="RSAWrit... |
using UnityEngine;
using System.Collections;
using MoonSharp.Interpreter;
using Coroutine = MoonSharp.Interpreter.Coroutine;
using System;
using UnityEngine.Assertions;
using System.IO;
// a wrapper around Script that represents an environment where a script can execute
public class LuaContext : MonoBehaviour {
... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Vlc.DotNet.Core.Interops;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed class TrackDescription
{
public int ID { get; private set; }
public stri... |
namespace VnStyle.Services.Data.Domain
{
public class Artist
{
public int Id { get; set; }
public string Name { get; set; }
public int Seq { get; set; }
public long ImageId { get; set; }
public bool ShowOnHompage { get; set; }
}
} |
using System;
using System.Threading.Tasks;
using Microsoft.JSInterop;
using Newtonsoft.Json;
using BlazorFullCalendar.Data;
namespace BlazorFullCalendar.Features
{
public interface ICalendarInteropService : IAsyncDisposable
{
Task CalendarInitAsync(CalendarSettings settings, DotNetObjectReference<Ful... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
[SerializeField] private Joystick _joystick = null;
[SerializeField] private float gravity = 0.15f;
[SerializeField] private float rayOffset = 1.05f;
private float gravitySpee... |
using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using LocusNew.Core.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace LocusNew.Persistence
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
... |
using UnityEngine;
using System.Collections;
public class Thunder : MonoBehaviour {
private LineRenderer lineRenderer;
private float counter;
private float distance;
public Transform origin;
public Transform destination;
public Transform colliderCenter;
public float lineDrawingSpeed = 6f;
private BoxColli... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CodingTest;
namespace UnitTest
{
[TestClass]
public class DictionaryWrapperTest
{
private DictionaryWrapper _dw;
/// <summary>
/// Ensure that a valid record that has a hostname not been seen previously
... |
// Author: Jonathan Spalding
// Assignment: Project 06
// Instructor Roger deBry
// Clas: CS 1400
// Date Written: 3/5/2016
//
// "I declare that the following source code was written solely by me. I understand that copying any source code, in whole or in part, constitutes cheating, and that I will receive a zer... |
using System;
namespace Alabo.Web.Mvc.Attributes {
/// <summary>
/// 自动删除配置特性
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class AutoDeleteAttribute : Attribute {
/// <summary>
/// 管理的实体
/// 如果未配置关联的实体,则数据不能删除
/// </summary>
p... |
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp1.modules
{
class Division
{
#region 读入文档(未启用)
//HttpWebRequest httpReq;
//HttpWebResponse httpResp;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Text;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android;
using Android.Text.Style;
using Android.Graphics;
namespace C_Sharp_Ch... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using BudgetApp.Domain.Abstract;
using BudgetApp.Domain.Concrete;
using BudgetApp.Domain.Entities;
namespace BudgetApp.Domain.Concrete
{
public class CreditDBContext : DbContext
{
public DbS... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ControlsManager : MonoBehaviour {
private Dictionary<string, KeyCode> keys = new Dictionary<string, KeyCode>();
GameObject playerObj;
Player playerScript;
// Start is called before the first frame update
v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeometricObjects
{
//Delegate
public delegate void InvalidBeiteEventHandler(Object sender, InvalidEigenschaftEventArgs e);
public delegate void InvalidLängeEventHandler(Object send... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class AreaInfo
{
public int AreaNumber;
//public int Numberofbullets;
public List<StageInfo> StageInfos = new List<StageInfo>();
}
|
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace TSP_Connector
{
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("Enter 1 to create server, else write 2 to connect to server");
var userChoise = Console.Rea... |
using AutoFixture;
using Microsoft.AspNetCore.Http;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Mappers.Cohort;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
n... |
namespace MeterReader.Enums
{
public enum MeterType
{
ColdWater = 1,
HotWater = 2,
Electric = 3,
Gas = 4,
}
} |
using System;
using System.Collections.Generic;
namespace Game {
class Map {
public Room StartingRoom { get; private set; }
public List<Room> Rooms { get; set; }
public Map() {
Rooms = new List<Room>();
Room woods = new Room(this, "woods", "Extremely dark, must be nighttime. \" I can... |
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 BMIandWHRApplication
{
public partial class FormLogin : Form
{
... |
using HelloApp;
namespace HelloApp.AppAPI
{
public class newclass
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class JoystickController : MonoBehaviour
{
public Joystick joystickLeft;
public Joystick joystickRight;
[SerializeField]
public float speed = 10f;
[SerializeField]
public... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tile : MonoBehaviour
{
private void OnDrawGizmos()
{
Gizmos.color = new Color32(255,255,255,30);
//Gizmos.DrawWireCube(transform.position, new Vector3(1, 1, 1));
Gizmos.DrawLine(transform.posit... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Callback prototype to configure picture buffers format.
/// This callback gets the format of the video as output by the video decoder
/// and the chain of video filters(if any). It can... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio6
{
class RectMultiplos3
{
static void Main(string[] args)
{
int L, C;
Console.Write("Largura do rectângulo ");
L = Convert... |
using System;
using System.Security.Cryptography;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// Generates nonce values using <see cref="RandomNumberGenerator"/>
/// </summary>
internal class NonceGenerator : IDisposable
{
// RandomNumberGenerator.Crea... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GhostTetromino : MonoBehaviour
{
private Game game;
private Transform followTetrominoTransform;
void Start()
{
foreach (Transform mino in transform)
{
mino.GetComponent<SpriteRendere... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GFW
{
public abstract class UIPanel:MonoBehaviour
{
protected string m_uiLayer;
public string UILayer { get { return this.m_uiLayer; } }
#region - 外部调用
/// <summary>
/// 当前UI是否显示
... |
using UnityEngine;
using System.Collections;
using Prime31.TransitionKit;
using UnityEngine.SceneManagement;
namespace Prime31.TransitionKit
{
public class BattleBlurTransition : TransitionKitDelegate
{
public float duration = 0.5f;
public int nextScene = -1;
public float blurMin = 0.0f;
public float blurMa... |
using Microsoft.AspNetCore.Mvc;
using WebApp.Entidades;
using WebApp.Services;
using System.Collections.Generic;
using System.Linq;
using WebApp.Context;
using Microsoft.AspNetCore.Cors;
namespace WebApp.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class PessoasController : ControllerB... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraSplashScreen;
namespace IRAP.Client.Global
{
public class TWaitting
{
private static TWaitting _instance = null;
public static TWaitting Instance
{
ge... |
using Alabo.App.Asset.Settlements.Domain.Entities;
using Alabo.Domains.Services;
namespace Alabo.App.Asset.Settlements.Domain.Services
{
public interface ISettlementService : IService<Settlement, long>
{
}
} |
using Plotter.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Plotter.Tweet.Processing.Commands
{
public class AddPointCommand : CommandBase
{
public static readonly string VeryFirstPoint_ChartCreated = "Chart created! Send some more numbers to ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Adventure_Game
{
class Course
{
//member variables
public string destination;
public int score;
//constructor
public Course()
{
... |
namespace Nan.Extensions.Extra
{
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using System;
using System.IO;
using Internal;
/// <summary>
/// 情境資料管理器
/// </summary>
public sealed class SituationManager
{
private SituationManager(str... |
using System;
using System.Collections.Generic;
namespace StudentInformation_Lists
{
public class Student
{
public static List<string> students = new List<string>
{ "Bob", "Bill", "Nate", "Joe", "Stefan", "McKenna", "LeoJohn", "Ann", "Carmen", "Ryan" };
public static List<string> homet... |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Rigidbody))]
public class MovingPlatform : MonoBehaviour
{
public float speed = 0f;
public float forwardWander = 0f;
private Vector3 startPos;
private float forwardDirection = 1.0f;
public void Start()
{
startPos ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class UIPlayer : MonoBehaviour
{
public List<Image> images;
private PlayerController _playerController;
public UnityEvent<Color> OnChangeColor;
public void Setup(Player... |
using Autofac;
using Autofac.Util;
using EmberCore.KernelServices.PluginResolver;
using EmberCore.KernelServices.UI.View;
using EmberKernel.Plugins;
using EmberKernel.Plugins.Attributes;
using EmberKernel.Plugins.Components;
using EmberKernel.Plugins.Models;
using Microsoft.Extensions.Logging;
using System;
using Syst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public abstract class Health : MonoBehaviour
{
public bool ragdoll;
public int startHealth;
protected int m_health;
public int CurrentHealth {get{return m_health;}}
protected bool m_isDead;
pro... |
using UnityEngine;
using UnityEngine.Events;
using System.Collections.Generic;
using UINT16 = System.UInt16;
namespace Ardunity
{
[AddComponentMenu("ARDUnity/Bridge/Input/BitFlagInput")]
[HelpURL("https://sites.google.com/site/ardunitydoc/references/bridge/bitflaginput")]
public class BitFlagInput : Ardunit... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IMapPiece
{
// will hold info for each map piece e.g. piece type, hallway, corner, end
// e.g. if the piece has an encounter, or whether it has the final objective
// maybe for other things like mesh spawn poin... |
using System;
using System.Collections;
using System.IO;
// ArrayList Example
namespace Main
{
class ArrayListWork
{
public static void Main(string[] args)
{
ArrayList stopWordList = new ArrayList();
LoadArrayList(stopWordList);
PrintArrayList(... |
using System;
namespace Prototype
{
class Program
{
static void Main(string[] args)
{
var funcionarioPermanente = new FuncionarioPermanente
{
Nome = "lucas",
Idade = 25,
Tipo = "GP"
};
var fun... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Globalization;
using System.Linq;
using System.Windows.Media;
using SpatialEye.Framework.Client;
using SpatialEye.Framework.Maps;
using SpatialEye.Framework.ServiceProviders;
using SpatialEye.Framework.Geometry;
using SpatialEye.Framew... |
using System.ComponentModel;
using KartObjects;
namespace KartSystem.Entities
{
public class SupplierGoodSaleRecord : Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
{
get { return "Продажи товара по поставщику"; }
... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text.RegularExpressions;
namespace Race
{
class Program
{
static void Main(string[] args)
{
var racers = Console.ReadLine()
.Split(", ", StringSplit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Banco.Contas;
using Banco.Requisicoes;
namespace Banco.Respostas
{
class RespostaEmXML : Resposta
{
public Resposta proxima { get; set; } = null;
public void Responde(Requ... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.FileProviders;
using System.IO;
using System.Threading.Tasks;
using System;
using Microsoft.As... |
using Newtonsoft.Json;
using RSS_news_feed_bot.bot;
using RSS_news_feed_bot.data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Arg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Level40 : MonoBehaviour
{
public List<ClickBehaviour> solution;
private int counter = 0;
private void OnDestroy()
{
ClickListener.ObjClicked -= CheckClick;
}
private void Start()... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Blue8Value : MonoBehaviour
{
public int value = 8;
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Navigati... |
using System;
using UnityEngine;
[RequireComponent(typeof(CharacterSheet))]
[RequireComponent(typeof(CharacterAnimator))]
public abstract class CharacterAbility : MonoBehaviour {
[SerializeField] protected KeyCode _keyCode;
[SerializeField] protected bool _initiallyEnabled;
public KeyCode keyCode => _... |
using System;
namespace CaesarCipher
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
string encryptedInput = "";
foreach (var symbol in input)
{
char newSymbol = (char)((int)symbol + 3);
... |
using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace NvidiaFpsLimitHelper
{
public partial class MainWindow
{
//Load - Application Settings
bool Settings_Load()
{
... |
/*
* Copyright (c) Contributors, http://aurora-sim.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code mus... |
using UnityEngine;
using System.Collections;
/**
* @author Chris Foulston
*/
namespace Malee.Hive.Util.Path {
public class PathConnection {
public float cost;
internal PathNode parent;
internal PathNode node;
public PathConnection(PathNode parent, PathNode node, float cost) {
this.parent = parent;
... |
using System;
namespace ManillenWPhone.Models
{
public delegate void ShouldMakeMoveEventHandler(object sender);
public delegate void ShouldChooseToBashEventHandler(object sender);
public delegate void DealedNewCardEventHandler(object sender);
public delegate void WrongCardPlayedEventHandler(object s... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Schmidt.Template.Common.Extensions;
using Schmidt.Template.Query.Model.Model;
using System.Reflection;
namespace Schmidt.Template.Query.Data.Abstraction
{
public class TemplateQueryContext : DbContext
{
private readon... |
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WebApplication1.EfStuff.Repositoryies.Energy.Intrefaces;
using WebApplication1.Services;
namespace WebApplication1.Controllers.Energy
{
public class EnergyController : Controller
{
private IMapper _mapper... |
// Copyright (c) Bruno Brant. All rights reserved.
using System;
namespace RestLittle.UI.Plumbing
{
/// <summary>
/// Extensions for type <see cref="DateTime"/>.
/// </summary>
public static class DateTimeExtensions
{
/// <summary>
/// Gets the interval between <see cref="DateTime.Now"/> and <paramref name="... |
using System;
namespace DelftTools.Functions.Generic
{
public interface IMultiDimensionalArrayView<T> : IMultiDimensionalArray<T>, IMultiDimensionalArrayView
{
}
} |
using HTB.v2.intranetx.util;
namespace HTB.v2.intranetx.permissions
{
public class PermissionsProvision
{
public bool GrantFixprov { get; set; }
public bool GrantFixprovNew { get; set; }
public bool GrantFixprovEdit { get; set; }
public bool GrantFixprovDelete { get; set; }
... |
using EasySave.Helpers.Files;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace EasySave.Model.Management
{
/// <summary>
/// Encrypt the sav... |
using UnityEngine;
public class Explosive : MonoBehaviour
{
[SerializeField] private float _triggerForce = 0.5f;
[SerializeField] private float _explosionRadius = 5;
[SerializeField] private float _explosionForce = 500;
[SerializeField] private GameObject _particles;
private void OnCollisionEnter(... |
using System;
using UnityEngine;
using GFW;
namespace CodeX
{
public static class UIViewHelper
{
}
} |
using System;
using System.Collections.Generic;
namespace FacebookClone.Models
{
public class Post
{
public int PostId { get; set; }
public Post ParentId { get; set; }
public ApplicationUser UserId { get; set; }
public string Content { get; set; }
public string FileName... |
namespace Allyn.Infrastructure.EfRepositories.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _2017828091255 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.FCategory",
c => new
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using Covid19KeralaApi.Configuration;
using Covid19KeralaApi.Web;
namespace Covid19KeralaApi.EntityFrameworkCore
{
/* This class is needed to run "dotnet ef ..." commands from command line on... |
namespace AuroraDownloadPictures
{
public class PublicClass
{
public enum AdType : int
{
None = -1, //无广告
AdAd = 0, //广告
WhatIsNew = 1, //更新日志
}
public enum WebSiteType
{
... |
using Newtonsoft.Json;
namespace stealerchecker.Models;
public struct ResponseModel
{
[JsonProperty("id")] public string Id { get; set; }
[JsonProperty("username")] public string Username { get; set; }
[JsonProperty("avatar")] public string Avatar { get; set; }
[JsonProperty("discriminator")] publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoLP2
{
public class Cliente : AgenteExterno
{
private string dni_vendedor;
private Vendedor vendedor;
public Cliente()
{
vendedor =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MiniMapCamera : MonoBehaviour
{
/*
// INSTANCE FIELDS
public Camera minimapCamera;
private float correctionFactor = 1.0f;
private Rect baseRect;
private Rect adjustedRect;
// MONO METHODS
void ... |
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using AxiEndPoint.EndPointClient.Compress;
using AxiEndPoint.EndPointClient.Crypt;
namespace AxiEndPoint.EndPointClient
{
public class AxiEndpoint : IEndPoint
{
private const int BUFFER_SIZE = 51200;
private const int ME... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _7DRL_2021.Results;
using Microsoft.Xna.Framework;
namespace _7DRL_2021.Behaviors
{
class BehaviorGrappleWall : Behavior, IGrappleTarget
{
public ICurio Curio;
public Beha... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.... |
using UnityEngine;
using System.Collections;
public class HandProximityTrigger : MonoBehaviour {
public GameObject proximityRoot;
public ProximityType proximityTarget;
public bool isActive = true;
public void Init(ProximityType type){
proximityTarget = type;
}
/*
* Updates the collider of this... |
using System;
using System.Collections.Generic;
namespace twosum
{
class Solution
{
List<int> A=new List<int>();
public void Add(int a)
{
A.Add(a);
}
public bool Find(int target)
{
bool result=false;
for(int i=0; i<A.Count; i++)
{
for(int j=0; j<A.Count; j++)
{
if(A[i]+A[j]==target && i!=j)
{
result=true;
break;
}
}
}
... |
class Delegates
{
public void Executar()
{
Calculadora.Executar();
}
}
delegate double MetodoMultiplicacao(double input);
class Calculadora
{
static public double Duplicar(double input)
{
return input * 2;
}
static public double Triplicar(double input)
{
... |
namespace NHMigrate
{
internal class CriteriaParams
{
public CriteriaParams(string projectPath = "", string optionalRepoName = "", string migrationName = "", string configFilePath = "")
{
ProjectPath = projectPath;
OptionalRepoName = optionalRepoName;
Migrat... |
using Quizlet_Server.Entities;
using Quizlet_Server.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
namespace Quizlet_Server.Apis
{
[RoutePrefix("api/taikhoans")]
public class TaiKhoansCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CourseWork
{
public class HashTable
{
const int max = 6;
WorkersList[] mass;
public HashTable()
{
mass = new Wo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.