text stringlengths 13 6.01M |
|---|
using EntityFrameworkDataAccessLibrary.DataAccess;
using EntityFrameworkDataAccessLibrary.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using ... |
using System;
class datetime {
static void Main (string[] args) {
int sum = 0;
for (int i = 2008; i < 2018; i++) {
if (i % 4 == 0)
sum += 366;
else
sum += 365;
}
Console.WriteLine (sum + date (2018, 3, 12) - date (2008, 8, 8));
... |
namespace BigBrotherFacade
{
public enum Status { RED, GREEN, YELLOW, PURPLE, CLEAR, BLUE };
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebTest.Page
{
public partial class Cache2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using System.Collections.Generic;
using FluentAssertions;
using ILogging;
using Moq;
using NUnit.Framework;
using ServiceDeskSVC.Controllers.API;
using ServiceDeskSVC.DataAccess;
using ServiceDeskSVC.DataAccess.Models;
using ServiceDeskSVC.Domain.Entities.ViewModels;
using ServiceDeskSVC.Managers;
using ServiceDeskSVC... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace gView.Framework.UI
{
public interface IExplorerIcon
{
global::System.Guid GUID { get; }
global::System.Drawing.Image Image { get; }
}
public interface IExplorerObject : IDisposable, ISerializableEx... |
using DIPS.Samsnakk.Server.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DIPS.Samsnakk.Server.Entities
{
public class Users : IUsers
{
private List<User> UserList { get; set; } = new List<User>();
public void AddUser(Use... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Radix_Sort
{
class Program
{
static void Main(string[] args)
{
var rand = new Random();
var testArray = new int[1000];
for... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace NotSoSmartSaverAPI.DTO.IncomeDTO
{
public class NewIncomeDTO
{
public string ownerId { get; set; }
public string userId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoArchivos
{
class HashDinamico
{
//Variable de tipo int que guarda la cabecera de el bloque
private int id;
//Lista de clase HashDinamico_Bloque que guar... |
///////////////////////////////////
/// Create and edit by QerO
/// 09.2018
/// lidan-357@mail.ru
///////////////////////////////////
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Missions
{
public class MapDraw : MonoBehaviour
{
public GameObject marker;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyAttackState : EnemyStates
{
// enemy
private EnemyManager theEnemy;
// timer
private float _attackTimer = 1f;
private float _attackCD;
public void Enter(EnemyManager enemy)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[System.Serializable]
public class Team
{
public string name = "";
public Color color = Color.red;
public int points {
get
{
return _points;
}
set
{
... |
using System;
namespace SAAS.FrameWork.Module.SsApiDiscovery.ApiDesc.Attribute
{
/// <summary>
/// ApiStation1/path2/api3
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class SsCategoryAttribute : System.Attribute
{
public stri... |
using System;
class nano09{
public static void Main()
{
int n;
n = 1+1/2;
if(n==1)
{
Console.WriteLine(n);
}
else
{
Console.WriteLine(0);
}
}
}
|
using System.Collections.Generic;
using System.Linq;
using Simulator.Instructions;
using Simulator.Utils;
namespace Simulator.Compile {
public static class Labeler {
private static Dictionary<string, int> labels;
private static int index;
private static int address;
int... |
using System;
namespace SwapByValue // 가치값 바꾸기
{
class MainApp // 메인 함수를 포함하는 클래스
{
public static void Swap(int a, int b) // 결과값을 돌려받지 않는 int형 매개변수 Swap이라는 클래스메소드 안에 a, b를 선언한다.
{
int temp = b; // temp라는 변수를 선언하고 거기에 b값을 대입
b = a; // b에는 a값을 대입
a = temp; // a에는 temp값을 대입
}
static void Main(strin... |
using Euler_Logic.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2016 {
public class Problem24 : AdventOfCodeBase {
private PowerAll _powerOf2;
private Node[,] _grid;
private List<Node> _nodes;
private List<N... |
/*
3DOF Hexapod - Hexapi startup
*/
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using HexapiBackground.Gps.Ntrip;
using HexapiBackground.Hardware;
using HexapiBackground.IK;
using HexapiBackground.Navigation;
namespace HexapiBackground
... |
using System;
namespace Oop._8_Null
{
interface IWarranty
{
//bool IsValidOn(DateTime date);
void Claim(DateTime onDate, Action onValidClaim);
}
} |
using strange.extensions.signal.impl;
using UnityEngine;
namespace Assets.src.signals {
public class OnClickSignal : Signal<Vector3> { }
public class OnAlternativeClickSignal : Signal<Vector3> { }
public class OnMouseMoveSignal : Signal<Vector3> { }
public class OnDragStartSignal : Signal<Vector3> { }... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccess;
using Microsoft.Win32;
namespace Business {
public static class MpcConfigBusiness {
/// <summary>
/// Configures MPC-HC s... |
using System.Reflection;
[assembly: AssemblyTitle("CustomPaths")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyVersion("1.1.2")]
[assembly: AssemblyFileVersion("1.1.2")]
|
using Microcharts;
using MMSEApp.Models;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace MMSEApp.Views.Patient
{
... |
using System;
namespace TsFromCsGenerator.Tests.Content
{
public class SimpleModel
{
public sbyte SbyteProp { get; set; }
public byte ByteProp { get; set; }
public int IntProp { get; set; }
public uint UintProp { get; set; }
public short ShortProp { get; set; }
public ushort UshortProp { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Core.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.CustomForm
{
public class CustomFormThankYouPage : CustomFormBasePage
{
public C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DrawTag : MonoBehaviour
{
private Agent agent;
private TextMesh t;
private LineRenderer l;
private bool left, right, up, down;
private int agentIndex;
private int creatureType;
void Start()
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyKeibaDemo
{
class RaceInfo
{
public string race_date { get; set; }
public string race_number { get; set; }
public string race_distance { get; set; }
public string race_starttime { ... |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace MegaDesk_xeviousgreen
{
public partial class AddQuote : Form
{
#pragma warning disable CS0169 // The field 'AddQuote.width' is never used
decimal width;
#pragma warning restore CS0169 // The field 'AddQuote.width' is never used... |
using System;
using ReactMusicStore.Core.Domain.Interfaces.Specification;
namespace ReactMusicStore.Core.Domain.Entities.Specifications.OrderSpecs
{
public class OrderUsernameIsRequiredSpec : ISpecification<Order>
{
public bool IsSatisfiedBy(Order order)
{
return !String.IsNullOrEm... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class DontDestroy : MonoBehaviour
{
private void Awake()
{
GameObject[] objs = GameObject.FindGameObjectsWithTag("BackgroundMusic");
if (objs.Length > 1)
{
foreach (GameObject obj in objs)
{
if (obj.gameObject != this.gameObject)
{
... |
using System.Collections.Generic;
namespace EPI.BinaryTree
{
/// <summary>
/// Give a binary tree, compute a linked list from the leaves of the binary tree
/// where the leaves appear in left-to-right order
/// </summary>
public static class LinkedListOfLeafNodes<T>
{
public static LinkedList<T> BuildListOfLe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Query;
using EBS.Query.DTO;
using EBS.Domain.Entity;
using EBS.Domain.ValueObject;
using Dapper.DBContext;
using System.Dynamic;
using EBS.Infrastructure.Extension;
using EBS.Infras... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using CirAnime.Models;
namespace CirAnime.Data
{
public class CirAnimeContext : DbContext
{
public CirAnimeContext (DbContextOptions<CirAnimeContext> options)
... |
using UnityEngine;
using System.Collections;
public class generator : MonoBehaviour {
// Use this for initialization
void Start () {
int mapize = 20;
int tile_width = 34;
int tile_height = 16;
/*
for (cellX = 0; cellX < 30; cellX++){
for (cellY = 0; cellY < 30; cellY++) {
GameObject myFl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Linq.Expressions;
using System.Xml.Linq;
using System.Data.Objects;
namespace ExpressionSerialization
{
internal class DLinqCustomExpressionXmlConverter : CustomExpressionXmlConverter... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TemplateFramework
{
public class InjectSettingText
{
public string Assembly { get; set; }
public string Templates { get; set; }
public string InputValue { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartObjects
{
/// <summary>
/// Структура настройки
/// </summary>
[Serializable]
public class ComplexWdCondition
{
/// <summary>
/// День недели запуска процедуры
/// </summ... |
using CitizenFX.Core;
using System;
using System.Threading.Tasks;
using static CitizenFX.Core.Native.API;
using Newtonsoft.Json.Linq;
using FivePD.API.Utils;
using System.Collections.Generic;
using System.Linq;
#pragma warning disable 1998
namespace IntuitiveMenus
{
public class IntuitiveMenus : FivePD.API.Plugin... |
using System.Windows.Forms;
namespace Phenix.Services.Host.WebCluster.Core
{
internal partial class AddChannelDialog : Phenix.Core.Windows.DialogForm
{
private AddChannelDialog()
{
InitializeComponent();
}
#region ¹¤³§
public static Channel Execute()
{
using (AddChannelDialog ... |
using MyUtils;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EvrakArşiv.Models
{
public class KonuBaşlığı: EntityBase, INotifyPropertyChan... |
using CurriculumManagement.Models;
using System.Collections.Generic;
using System.ComponentModel;
namespace CurriculumManagement.ViewModels
{
public class SearchViewModel
{
public PagedList.IPagedList<CurriculumManagement.Models.EAForm> ReturnedForms { get; set; }
public int ResultsCount
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CanEditMultipleObjects]
[CustomEditor(typeof(Character))]
public class CustomEditorDemo : Editor
{
SerializedProperty exampleProperty;
void OnEnable()
{
exampleProperty = serializedObject.FindPropert... |
namespace Zesty.Core.Entities
{
public enum ApiCachePolicy
{
Disable, Enable
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Threading;
using System.Windows.Controls;
using System.IO;
using Microsoft.Win32;
using ArtificialArt.Audio.Midi.Generator;
using ArtificialArt.Audio.Midi;
using ArtificialArt.Lyrics;
namespace WaveBuilder
{
/// ... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace SocialWorkout.Models
{
public class Preferens
{
public bool Morning { get; set; }
... |
using System;
using System.Data;
namespace DtCms.BLL
{
/// <summary>
/// 业务逻辑类Adbanner 的摘要说明。
/// </summary>
public class Adbanner
{
private readonly DtCms.DAL.Adbanner dal = new DtCms.DAL.Adbanner();
public Adbanner()
{ }
#region 成员方法
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BehaviourGalho : MonoBehaviour {
public GameObject Tree;
private Vector3 RotationCenter;
public float normalSpeed;
public float angrySpeed;
private float speed;
public float damage;
public int orientation = 1;
public f... |
using Castle.Windsor;
using MyFirstGitProject.Interfaces;
using MyFirstGitProject.Models;
using MyFirstGitProject.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MyFirstGitProject.Controllers
{
pu... |
namespace EddiDataDefinitions
{
public class FrontierApiEconomyShare
{
public string edName { get; }
public decimal proportion { get; }
public FrontierApiEconomyShare(string edName, decimal proportion)
{
this.edName = edName;
this.proportion = proportion... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Threading.Tasks;
using Volo.Abp.Json;
namespace TestAbp.WebApi
{
public class WebApiException : IExceptionFilter, IAsyncExceptionFilter, IFilterMetadata
{
private readonly IJsonSeriali... |
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace Wee.UI.Core.TagHelpers
{
/// <summary>
///
/// </summary>
/// <typeparam name="TBaseClass"></typeparam>
public interface IWeeOverrideTagHelper<TBaseClass> : IWeeTagHelper<TBaseClass>
where TBa... |
using UnityEngine;
using UnityEngine.Tilemaps;
public class CellBehaviorSink : CellBehaviorOccupiable, IRenderTileOverride {
[SerializeField]
private TileBase tileSinkFilled = null;
private bool isFilled;
public void replaceTiles(ref TileRenderData renderData) {
if(this.isFilled) {
... |
/**********************************************************************************************************************
IMAGE WORKSPACE
* This custom control is mainly a wrapper for a picture box. Also displays text information about image.
* Capabilities: zoom image displayed, crop, rotate, undo.
***************... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.PageLocation.Models;
using DFC.ServiceTaxonomy.PageLocation.Services;
using OrchardCore.ContentManagement;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.PageLocation.Services
{
public class PageLocationC... |
using System;
namespace ResilienceClasses
{
public class clsEntity
{
#region Static Methods
public static int EntityID(string lenderName)
{
int id = -1;
clsCSVTable tbl = new clsCSVTable(clsEntity.strEntityPath);
System.Collections.Generic.List<int> ... |
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using StackExchange.Redis;
namespace RedLock4Net
{
public class RedLock : IDisposable
{
private const string UnlockScript =
@"if redis.call('get', KEYS[1]) == ARGV[1] then
retur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InoDrive.Domain.Models.OutputModels
{
public class OutputMyTripModel
{
public Int32 TripId {get; set;}
public DateTimeOffset CreationDate {get; set;}
public Dat... |
using Newtonsoft.Json;
namespace Settlement.Classes.API.Response
{
class DataResponseObject : DataResponse
{
[JsonProperty("data")]
public JsonObjectAttribute Data { get; set; }
}
}
|
using Microsoft.AspNetCore.Http;
namespace Justa.Job.Backend.Api.Extensions
{
public static class HttpContextExtensions
{
public static string GetAppBaseUrl(this HttpContext httpContext)
=> $"{httpContext.Request.Scheme}://{httpContext.Request.Host}{httpContext.Request.PathBase}";
}
} |
using Xamarin.Forms;
using Rg.Plugins.Popup;
using Rg.Plugins.Popup.Pages;
namespace PrismPopupSample.Views
{
public partial class PopupSamplePage : PopupPage
{
public PopupSamplePage()
{
InitializeComponent();
}
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#pragma warning disable 0649 // For serialized fields
using Microsoft.MRDL;
using UnityEngine;
public class GrowbieSphere : FingerSurface
{
[SerializeField]
... |
using AutoMapper;
using Uintra.Core.Search.Entities;
using Uintra.Features.Search.Models;
using Uintra.Infrastructure.Extensions;
namespace Uintra.Features.Search.AutoMapperProfile
{
public class SearchResultAutoMapperProfile : Profile
{
public SearchResultAutoMapperProfile()
{
Cre... |
using System;
using System.Messaging;
using System.IO;
using TEXSerializer;
using System.Xml.Linq;
using System.Xml;
using System.Data.SqlClient;
using System.Globalization;
using System.Collections.Generic;
using System.Net.Mail;
using System.Net;
using System.Threading;
using System.Configuration;
namespace Shynar_... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using Utilities;
namespace EddiDataDefinitions
{
public class FrontierApiStation
{
/// <summary>Unique 64 bit id value for station</summary>
public long? marketId { get; set; }... |
using SimpleLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleLibrary.Interfaces
{
public interface IDb
{
Account GetAcount(int id);
void AddAcount(Account acount);
void UpdateAcount(Accou... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DPYM;
namespace DPYM_DEBUG
{
public class CollisionDecider : MonoBehaviour
{
/* 结论与之前的结果是一致的,
* 通过 DetectRegion 和 CollisionRegion 的碰撞,
* 无法识别是 CollisionRegion 还是 AffectRegion 引发碰撞结果
* 所以还得另寻... |
using UnityEngine;
using UnityEditor;
using UnityEngine.Playables;
[System.Serializable]
public class CameraClip : PlayableAsset
{
public CameraBehaviour Behaviour = new CameraBehaviour();
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
{
return ScriptPlayable<Camer... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using UpravljanjeCekanjem.Models;
namespace UpravljanjeCekanjem.Controllers
{
[AllowAnonymous]
public class ScreenController : Controller
{
//
// GET: /Screen/
DataBaseEntitie... |
/// <summary>
/// Summary description for LocationController
/// </summary>
namespace com.Sconit.Web.Controllers.PRD
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using com.Sconit.Entity.PRD;
using com.Sconit.Service;
using com.Sconit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
using wgssDSV;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Florentis;
using System.ComponentModel;
using System.Threading;
namespace VerifySign
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dorisol1019.MemorialArchiver.Domain.User
{
public class UserCreateRequest
{
public string Name { get; }
public UserCreateRequest(string name)
{
Name = name;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mercadinho.Model
{
class TipoProduto
{
private String tipoproduto;
private int idtipoproduto;
private DAO.TipoProdutoDAO tdao;
public TipoProduto()
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PopulationWars.HomeGrownNetwork
{
[Serializable]
class OutputLayer : NeuralLayer
{
public OutputLayer(int size, int inputCount) : base(size, inputCount, null, null)
{
}
public override double[] Tr... |
using Service.Model;
namespace Service
{
public interface IMessageProcessor
{
Invoice ProcessMessage(string inputMessage);
bool SetGstPrice(decimal gstAmount);
decimal GetGstPrice();
ValidateResponse ValidateMessage(string inputMessage);
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace WpfEventsBAsics
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class CloudApplicationInputField
{
public string type { get; set; }
public string name { get; set; }
[JsonProperty("default... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EditorTileInteractionHandler : MonoBehaviour {
// Use this for initialization
public void Initialize ()
{
}
// Update is called once per frame
void Update ()
{
}
// ----- Tile Interaciton ----- //
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BalloonBehavior : MonoBehaviour {
[SerializeField]
private readonly float maxVelocity = 4f;
[SerializeField]
private int hp = 1;
private Rigidbody rigibody;
private float vitesse = 0f;
... |
namespace GIFU.Models
{
public class GoodsSearchArg
{
public int? GoodId { get; set; }
public int? UserId { get; set; }
public string Title { get; set; }
public string Status { get; set; }
public string Tag1 { get; set; }
public string Tag2 { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shooting : MonoBehaviour
{
[SerializeField] private GameObject bullet = null;
[SerializeField] private int ammo = 40;
private AudioSource audioSource = null;
private void Awake() {
audioSource = GetCom... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface BaseCharacter
{
string Name
{
get;
}
string Description
{
get;
}
string CharacterName
{
get;
}
List<Sprite> CharacterImages
{
get;
}
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Switch : MonoBehaviour {
public bool bIsSwitchedOn;
public float targetTime = 2.0f;
public List<GameObject> connectedObjects = new List<GameObject>();
public bool bIsInvisible;
public bool bSwitchOnce; //If true, will only ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Sprites", menuName = "Animation/Sprite List", order = 1)]
public class AnimationSprites : ScriptableObject
{
public List<Sprite> animationSprites;
public DrawableAnimations animation;
public string ... |
namespace Sentry.Internal.Extensions;
internal static class MiscExtensions
{
public static TOut Pipe<TIn, TOut>(this TIn input, Func<TIn, TOut> pipe) => pipe(input);
public static T? NullIfDefault<T>(this T value) where T : struct =>
!EqualityComparer<T>.Default.Equals(value, default)
? va... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace ApiWeb.Models
{
public partial class RestaurantDBContext : DbContext
{
public RestaurantDBContext()
{
}
public RestaurantDBContext(DbContextOptions<RestaurantDBContext> o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.SegmentDisplay
{
class FindNumbers
{
static int numbers;
static int toNumber;
static void Main()
{
numbers = int.Parse(Console.ReadLine... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WhatToDevelop.Model.Raw
{
public partial class ItemInfo
{
public string Name { get; set; }
public string Type { get; set; }
public string Icon { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace HCBot.Runner.States
{
public class SerfMenuState : UserState
{
public SerfMenuState(IServiceProvider sp) : base(sp)
{
}
public override void ProceedState(... |
namespace RosPurcell.Web.Controllers.Errors
{
using System;
using System.Web.Mvc;
using RosPurcell.Web.Infrastructure.Resources;
public class ThrowExceptionController : Controller
{
public ActionResult Index()
{
throw new Exception(Exceptions.ThrowException);
}... |
using System;
using System.Collections.Generic;
using DXF.Objetos;
using DXF.Utils;
namespace DXF.Entidades
{
public class PolyfaceMesh :
DxfObjeto,
IPolilinea
{
#region private fields
//private readonly EndSequence endSequence;
protected const EntidadTipo TIPO =... |
using System.Collections.Generic;
namespace ChampionsOfForest
{
public class ModSettings
{
public enum Difficulty { Normal, Hard, Elite, Master, Challenge1, Challenge2, Challenge3, Challenge4, Challenge5, Challenge6 , Hell }
public enum DropsOnDeathMode { All,Equipped,Disabled }
public... |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class ControllingFighterEvent : Event
{
public const string NAME = "Controlling fighter";
public const string DESCRIPTION = "Triggered when you switch control from your ship to your fighter";
public const stri... |
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT
#if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE )
using System.Net.Sockets;
using System.IO;
namespace gw.proto.http
{
////////////////////////////////////////////////////////////////////////////////
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Xml.Linq;
namespace Cogito.HostedWebCore
{
/// <summary>
/// Provides operations to configure, start and stop the hosted IIS web server.
/// </summary>
public static ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.DataStructures;
using Terraria.ModLoader;
namespace StarlightRiver.Tiles
{
class Breakuator : Gl... |
namespace UseYourChainsBuddy
{
using System;
using System.Text;
using System.Text.RegularExpressions;
public class StartUp
{
public static void Main()
{
string HTMLtext = Console.ReadLine();
string pattern = @"<p>(.+?)<\/p>";
MatchCollection mat... |
using System;
using System.Windows;
using BSky.Lifetime;
using BSky.Lifetime.Interfaces;
using BSky.Statistics.Common;
using BlueSky.CommandBase;
using System.Text;
using System.Collections.Generic;
namespace BlueSky.Commands.Tools.Package
{
class ShowInstalledPackagesCommand : BSkyCommandBase
{
ILog... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components.Authorization;
... |
using Microsoft.Xna.Framework;
namespace CryptoReaper
{
static class Constants
{
public const int Unit = 24;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.