text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using Grasshopper.Kernel;
using PterodactylCharts;
using PterodactylEngine;
using Rhino.Geometry;
namespace Pterodactyl
{
public class GraphGH : GH_Component
{
public GraphGH()
: base("Graph", "... |
using CsvHelper;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
namespace BartlettGenesisLogFileParser
{
internal class Program
{
private static void Main(string[] args)
{
if (!File.Exists(args[0]))
... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Threading;
using System.Diagnostics;
using S7PROSIMLib;
using System.ComponentModel;
using Лифт_PLCSim.Model;
namespace Лифт_PLCSim
{
/// <summary>
/// Логика взаимодействия для MainWindow.xaml
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Components;
using OnlineClinic.Core.DTOs;
using OnlineClinic.Core.Services;
namespace BlazorUI.Pages.People.List
{
public partial class PersonList: ComponentBase
{
[Inject]
protected NavigationManager NavigationManager { get; set; }
... |
using System;
using System.Text;
using WinterIsComing.Contracts;
using WinterIsComing.Models.CombatHandlers;
namespace WinterIsComing.Models.Units
{
public abstract class Unit : IUnit
{
protected Unit(int x, int y, string name, int range, int attackPoints, int healthPoints, int defensePoints, int ener... |
using UnityEngine;
namespace Pathfinding
{
[RequireComponent(typeof(SpriteRenderer)), System.Serializable]
public class DijkstraNode : Node
{
public int DistanceFromStart { get; set; }
}
} |
using EddiDataDefinitions;
using System;
using System.Collections.Generic;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class RingHotspotsEvent : Event
{
public const string NAME = "Ring hotspots detected";
public const string DESCRIPTION = "Triggered when hotspots are detect... |
using System;
namespace gView.Interoperability.GeoServices.Extensions
{
static class StringExtensions
{
static public string UrlEncodePassword(this string password)
{
if (password != null && password.IndexOfAny("+/=&".ToCharArray()) > 0)
{
password = Sys... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
using DevExpress.XtraEditors.DXErrorProvider;
using Phenix.Core.Data;
using Phenix.Core.Windows;
namespace Phenix.Windows.Helper
{
/// <summary>
/// DXErrorProvider扩展
/// </summary>
public static class DXErrorProviderExtentions
{
#re... |
using UnityEngine;
using System.Collections;
using UnityEditor;
public class CombineTagAndLayer : AssetPostprocessor
{
static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
{
foreach (string s in importedAssets)
... |
namespace Funding.Services.Models.AdminViewModels.Projects
{
using Funding.Data.Models;
using Funding.Services.Mapping;
using System;
public class ProjectsListingViewModel : IMapFrom<Project>
{
public int Id { get; set; }
public string Name { get; set; }
publi... |
using System;
using System.Collections.Generic;
using System.Text;
using Accounts.Domain.Events.Private;
using Accounts.Domain.Events;
using Linedata.Foundation.EventPublisher;
namespace EventPublisher
{
public class EventToMessageTranslator : IEventTranslator
{
public bool Translate(object eventToTr... |
using UnityEngine;
using System.Collections;
public class isoDestoryTime : MonoBehaviour {
public bool isStatus;
public float time;
float lifeTime;
// Use this for initialization
void Awake () {
isStatus = false;
lifeTime = 0.0f;
if(time != 0) {
isStatus = true;
}
}
// Update is called on... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Xamarin.Forms;
namespace ResonateXamarin.Models
{
public static class ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DemoRaspberryPiConsumerMobileApp.Models
{
public class BarometerSensor
{
public DateTime DateTime { get; set; }
public float Temperature { get; set; }
public float Humidity { get; set; }
public flo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
public class AudioManager : MonoBehaviour
{
public AudioMixer audioMixer;
private float masterVol = 0;
public void SetMasterVol(float vol)
{
audioMixer.SetFloat("Master", vol);
mas... |
using System;
using System.Collections.Generic;
using DataAccess;
using DataAccess.Repositories;
namespace Tests
{
public class MockProductRepository : IProductRepository
{
private readonly List<IProduct> m_products = new List<IProduct>();
public MockProductRepository()
{
... |
using System.Collections.Generic;
using System.Linq;
using Reviews.Models;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
using HotChocolate;
namespace Reviews.Resolvers
{
public class UserResolver
{
private readonly IMongoCollection<User> _users;
public ... |
using _5tg_at_mediaPlayer_desktop.connection;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using Microsoft.VisualBasic.FileIO;
using System.IO;
using _5tg_at_mediaPlayer_desktop.Popup;
using System.Windows.Input;
using _5tg_a... |
using Alabo.Data.People.PartnerCompanies.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Data.People.PartnerCompanies.Domain.Services {
public class PartnerCompanyService : ServiceBase<PartnerCompany, ObjectId>,IPartne... |
using System;
using System.Collections.Generic;
using System.IO;
namespace ConsolePiano.InstrumentalNote
{
public class StreamAudioBuilder
{
private const int sampleRate = 44100;
private const int bitDepth = 16;
//only Singleton so far
private static StreamAudioBuilder streamAu... |
using System;
namespace BLL.DLib
{
public class LibRecTags
{
public static string ExecuteTags(string body, string Keyword)
{
body = AddFootnotes("", 1, body);
body = AddPageA(body);
body = AddPageB(body);
body = AddPageC(body);
body =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net;
namespace EpisodeRenaming {
class OnlineSearchTrakt {
private static string ClientID = "96bd1d3f62624c5603f5df37b07a2180d747ef691e5ebd635844cc76b92c... |
using Library.Appenders.Contracts;
using Library.Layouts.Contracts;
using Library.Loggers.Contracts;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Library.Appenders
{
public class FileAppender : IAppender
{
private const string Path = @"..\..\..\log.txt"... |
using UnityEngine;
using System.Collections;
using System.IO;
using UnityEngine.UI;
public class PhotoManager : MonoBehaviour
{
WebCamTexture webCamTexture;
private SpriteRenderer sr;
int numberPhotos = 50;
int numberPhoto = 0;
public int process = 0;
public GameObject image;
public GameO... |
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... |
using NetApi;
using System;
using System.Threading;
namespace TraderApiTest
{
class Callback : XtTraderApiCallback
{
public int m_nRequestId;
public String m_strAddress;
public String m_strUserName;
public String m_strPassWord;
public String m_strAccountId;
pub... |
using Bloodhound.Core.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bloodhound.Core.Tests
{
[TestClass]
public class OffenderGeoFenceIsInsideTests
{
[TestMethod]
public void InsideTests()
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Docller.Core.Images
{
public abstract class ImgImageConverter : IImageConverter
{
public virtual void Convert(string inputFile, string outputPngfile)
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace MatrixExtension
{
public static class MatrixExtension
{
public static double[,] Multiply(this double[,] matrix1, double[,] matrix2)
{
if (matrix1.GetLength(1) != matrix2.GetLength(0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MedicalEducation.Controls
{
public class CustomLabel: System.Windows.Forms.Label
{
private HeadingType _HeadingType;
public enum HeadingType
{
H1,
H2,
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using GeoAPI.Geometries;
using log4net;
using SharpMap.Converters.Geometries;
using SharpMap.Data.Providers;
using SharpMap.Layers;
using S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RisingText : MonoBehaviour {
// Local Variables
public bool hasFadeEffect;
public bool autoDestroy;
public float fadeSpeed = 0.5f;
public float textScrollSpeed = 20f;
public fl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gMediaTools.Models.Muxer
{
public class MkvMergeMuxer : IMuxer
{
public string MuxerFileName { get; }
public string[] SupportedExtensions { get; } = new string[] { "mk... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Game.UI
{
[RequireComponent(typeof(RectTransform))]
/// <summary>
/// 用于增强RectTransform管理子UI的行为:将这个脚本添加到对应的UI上,并设置《string,transform》,则RectTransform将可以获得对应string下的transform
/// </summary>
public class UI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiEndpoints.TransferModels
{
public class DispensationsansoegningSpildevandTrappeskaktLyskasserGodkendteGetTM
{
public int Id { get; set; }
public string ExternalId { get; set; }
public DateTime AddedTi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreScript : MonoBehaviour
{
public Text playerScore;
public Player player;
public void Update()
{
playerScore.text = "Score: " + player.GetComponent<Player>().Points.ToStrin... |
using ISE.Framework.Common.CommonBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Common.DTO
{
public partial class SecuritySessionDto:BaseDto
{
public SecuritySessionDto()
{
this.PrimaryKeyNa... |
namespace Com.Colin.Demo.OOP
{
partial class Animal
{
public string run()
{
return "Runing!";
}
}
}
|
//using System;
//using Microsoft.EntityFrameworkCore;
//using Microsoft.EntityFrameworkCore.Metadata;
//using Microsoft.Extensions.Configuration;
//namespace GoldenBoot.Api
//{
// public partial class GoldenBootContext : DbContext
// {
// public GoldenBootContext(DbContextOptions<GoldenBootContext> opti... |
using EddiCore;
using EddiDataDefinitions;
using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
namespace EddiCrimeMonitor
{
/// <summar... |
using ISE.Framework.Common.CommonBase;
using ISE.SM.Common.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISE.SM.Common.DTOContainer
{
public class ResourceTypeDtoContainer : DtoContainer
{
public ResourceTypeDtoContainer()
{
Re... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Text;
namespace GlobalGoalGame.Models.Button
{
class SpriteButton
{
public String Name { get; set; }
public Texture2D Texture { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using Microsoft.Shell;
namespace WhatNEXTUI
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application, ISingleInstanceA... |
namespace PatternsCore.FrameWorkStyleFactory.AbstractFactory
{
public class NyVeggiePizza2 : Pizza2
{
private IPizzaIngredientsFactory _ingredientsFactory;
public NyVeggiePizza2(IPizzaIngredientsFactory ingredientsFactory)
{
_name = "Ny veggie pizza";
_ingredients... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class AdministradorUI : MonoBehaviour {
public void CambiarEscena(string escena)
{
SceneManager.LoadScene(escena);
}
}
|
using Microsoft.AspNetCore.Mvc;
using TaxaJurosWebAPI.Models;
namespace TaxaJurosWebAPI.Controllers
{
[Route("[controller]")]
[ApiController]
public class taxajurosController : ControllerBase
{
[HttpGet("/taxaJuros")]
public Taxa Get()
{
Taxa tx = new Taxa();
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SpreedlyWebApp.Spreedly.SpreedlyModels
{
public class SpreedlyMetadata
{
[JsonProperty("key")]
public string Key { get; set; }
[JsonProperty("another_key")]
pu... |
//----------------------------------------------------------------------
// csMenu_Scene.cs
// Handles the main (and only) menu for the game.
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
//----------------------------------------------------------------------
// csMenu_Scene class ... |
using PL.Integritas.Domain.Entities;
using System.Collections.Generic;
namespace PL.Integritas.Domain.Interfaces.Repositories
{
public interface IShoppingCartRepository : IRepository<ShoppingCart>
{
}
}
|
using Alabo.Web.Mvc.Attributes;
namespace Alabo.Schedules.Enum {
[ClassProperty(Name = "任务计划状态")]
public enum TaskScheduleStatus : byte {
Running = 1,
Stoped,
Idle,
Suspend,
Unknown = 255
}
} |
using System;
namespace EasyDev.PL
{
/// <summary>
/// 生成主键值的方法
/// </summary>
[Obsolete("此类已经过时,使用实现了IGenerator接口并通过GeneratorFactory创建的类")]
public class IdentityGenerator
{
/// <summary>
/// 生成GUID作为实体标识
/// </summary>
/// <returns></returns>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartLib
{
public class OrgInfoRecord : Entity
{
public override string FriendlyName
{
get { return "Запись об организации"; }
}
public string Name
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArrangeOffice
{
class Control
{
private int control = 0;
private int year = 0;
private int month = 0;
private int day = 0;
//0 all can add
... |
using System.Collections.Generic;
using SuperRpgGame.Interfaces;
using SuperRpgGame.Items;
namespace SuperRpgGame
{
public class Player : Character, IPlayer
{
public Player(Position position, char objSymbol, string name, PlayerRace race)
: base(position, objSymbol, 0, 0, name)
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
namespace WardrobeMVCVer1
{
[MetadataType(typeof(TopMetadata))]
public partial class Top
{
}
public class TopMetadata
{
... |
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using Docller.Core.Models;
using Microsoft.SqlServer.Server;
namespace Docller.Core.Repository.Collections
{
public class FolderCollection : List<Folder>, IEnumerable<SqlDataRecord>
{
private readonly StringDict... |
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 z88dk_compile_options_helper_beta
{
public partial class quick_start : Form
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimeManager : MonoBehaviour
{
public float countdown = 3;
public static TimeManager Instance;
public delegate void CountdownAction(float count);
public CountdownAction countdownAction;
private void Awake... |
using Newtonsoft.Json;
namespace Records.Units
{
public class UnitRecord
{
[JsonProperty("id")]
public int Id;
[JsonProperty("name")]
public string Name;
[JsonProperty("description")]
public string Description;
[JsonProperty("race")]
public in... |
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.CustomData.Factories.Actions.Implementation;
using Fingo.Auth.Domain.CustomData.Factories.Actions.Interfaces;
using Fingo.Auth.Domain.CustomData.Factories.Interfaces;
using Fingo.Auth.Domain.CustomData.Services.Interfaces;
using Fingo.Auth.Domain... |
// --------------------------------------------------------------------
// © Copyright 2013 Hewlett-Packard Development Company, L.P.
//--------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using ... |
using AutoMapper;
using GardenControlCore.Enums;
using GardenControlCore.Models;
using GardenControlCore.Scheduler;
using GardenControlRepositories.Entities;
using GardenControlRepositories.Interfaces;
using GardenControlServices.Interfaces;
using Innovative.SolarCalculator;
using Microsoft.Extensions.Logging;... |
using System;
namespace CORE.Одномерные
{
public class Bolzano : OneDimMethod
{
public Bolzano(Function1D f, Function1D df, double eps = 1e-6, int maxIterations = 50) :
base(f, df, eps, "Метод БОЛЬЦАНО", maxIterations)
{
}
public override void Execute()
{
... |
using ControleFinanceiro.Domain.Contracts.Repositories;
using ControleFinanceiro.Domain.Contracts.Services;
using ControleFinanceiro.Infra.Data.EF;
namespace ControleFinanceiro.Domain.Service.Services
{
public class ServicoBase<TEntity> : IServicoBase<TEntity> where TEntity : class
{
private readonly ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Schip
{
class VideoModule
{
#region Declaracion de constantes
public enum VideoMode { Chip8Mode, SChipMode };
private const int HORZ_RES_CHIP8_MODE = 64;
private const int VERT_RES_C... |
using System.ComponentModel.DataAnnotations.Resources;
using System.Diagnostics.CodeAnalysis;
namespace System.ComponentModel.DataAnnotations
{
/// <summary>
/// Validation attribute to indicate that a property field or parameter is required.
/// </summary>
[AttributeUsage(AttributeTargets.Pro... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Project.Errors;
using Project.Helpers;
using Project.Models;
using Project.Services;
namespace Project.Base {
public abstract class BaseApplication {
// Program variables
private bool running = false;
priva... |
using Akka.Actor;
using AkkaOverview.Gateway;
using System;
namespace akkaTest
{
class Program
{
static void Main(string[] args)
{
//var system = ActorSystem.Create("Main");
//var actor = system.ActorOf<TestActor>("testActor");
//actor.Tell("hello");
... |
using System.Collections.Generic;
using System.IO.IsolatedStorage;
namespace StickFigure.Helpers
{
public static class Globals
{
public static string CurrentFolder { get; set; }
public static Dictionary<int, JointFile> Files { get; set; }
public static int CurrentShownNumber { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
namespace CostumizeElementsAppConfig.Configs
{
public class SchoolConfig : ConfigurationSection
{
private static SchoolConfig _SchoolConfig = (SchoolConfig)Co... |
namespace ExtractMiddleElements
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
var array = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.ToArray();
var ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alps.Web.Canteen.Model
{
public class BookRecord:EntityBase
{
#region 操作者信息
public Guid BookerID { get; set; }
public virtual CanteenUser Booker { get; set; }
public DateTime BookTime {... |
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using HrdbWebServiceClient.Domain;
using Microsoft.Practices.ServiceLocation;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Contracts.Tasks.Sources;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Events;
using Profi... |
using UnityEngine;
using UnityEngine.AddressableAssets;
public class AssetLoader : MonoBehaviour
{
private void Start()
{
Addressables.InstantiateAsync("Cube");
}
} |
using System;
using OpenQA.Selenium;
using NUnit.Framework;
using FC_TestFramework.Core.Setup;
using OpenQA.Selenium.Support.UI;
using OpenQA.Selenium.Remote;
namespace FC_TestFramework.Core.Utils
{
public class AssertUtils : IManager
{
private ElementUtils Elemento;
public AssertUtils(RemoteW... |
using System.ComponentModel.DataAnnotations;
namespace FilmesAPI.Data.DTOs
{
public class CreateFilmeDTO
{
[Required(ErrorMessage = "O campo {0} é obrigatório.")]
public string Titulo { get; set; }
[Required(ErrorMessage = "O campo {0} é obrigatório.")]
public string Diretor { ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialSection : MonoBehaviour
{
[SerializeField] GameObject[] screens;
int iter = 0;
public bool Complete { get; set; }
public void NextScreen()
{
for (int i = 0; i < screens.Lengt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Domain.Models.Basic
{
/// <summary>
/// 表示"菜单"聚合根类型.
/// </summary>
public class Menu : AggregateRoot
{
/// <summary>
/// 获取或设置菜单的父级.
/// </su... |
using System.Collections.Generic;
using Entitas;
using Entitas.CodeGeneration.Attributes;
[Config]
[Unique]
public sealed class ExsplosiveScoringTableComponent : IComponent
{
public List<int> value;
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace sendmessagec
{
public partial class FomSendMessage : Form
{
[DllImport("User32.dll", EntryP... |
// Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector
{
using System;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BeeManager;
namespace BeeWebApp
{
public partial class _Default : Page
{
List<Workerbee> workerBees = new List<Workerbee>();
List<QueenBee> QueenBees... |
using System.Collections.Generic;
using System.Linq;
using Models.Towers;
using UnityEngine;
using UnityEngine.Assertions;
namespace AI
{
public class TowerLogic : LogicBase
{
private readonly ITower _tower;
private readonly List<EnemyLogic> _enemies;
private readonly float _cellSize;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RD
{
class Program
{
static void Main(string[] args)
{
var now = double.PositiveInfinity;
var manyAsYouNeed = double.PositiveInfinity;
... |
namespace TripDestination.Web.MVC.Hubs
{
using System.Linq;
using System.Threading.Tasks;
using Common.Infrastructure.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.SignalR;
using Services.Web.Services;
using Services.Web.Services.Contracts;
public class NotificationHu... |
using System.Windows;
namespace SC.WPFSamples
{
/// <summary>
/// Interaction logic for StyledButtonWindow.xaml
/// </summary>
public partial class StyledButtonWindow : Window
{
public StyledButtonWindow()
{
InitializeComponent();
button1.Content = new Count... |
using System;
/**
* @author Chris Foulston
*/
namespace Malee.Hive.Events {
public delegate void EventMethod(object sender);
public delegate void EventMethod<T>(object sender, T args);
public delegate void EventMethod<T, U>(T sender, U args);
public static class EventManager {
public static bool Dispatch(E... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.Creational.Factory
{
public class NationalSavings : ISavings
{
public NationalSavings()
{
Balance = 2000;
}
}
}
|
namespace Organizer.Models.Contacts
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Phone
{
public int Id { get; set; }
public string Text { get; set; }
public int PersonId { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SpaceBook.Models;
namespace SpaceBook.ViewModels
{
public class EditFacilityPhotoViewModel
{
public Facility facility { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Score : MonoBehaviour
{
//score
public Text scoreTxt;
// Update is called once per frame
void Update()
{
scoreTxt.text = Spawn.score.ToString();
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Alabo.Test.Base
{
/// <summary>
/// Http Client 的帮助函数
/// </summary>
public static c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace FormTest
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamOthellop.Model
{
[Flags]
public enum BoardStates : Byte
{
white = 0x10,
black = 0xef, //black = !white
empty = 0x00,
}
public class BoardBase
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.IO;
namespace NaverDictionary
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MICRUD.modelo
{
class persona
{
private string nombres;
private string direccion;
private string cedula;
private string telefono;
private string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(MeshRenderer))]
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class TerrainSplatmapsV2 : MonoBehaviour {
public Texture2D[] splatMaps;
public TerrainData terrainData;
private void Update() {
... |
using FBS.Domain.Booking.Events;
using FBS.Domain.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FBS.Domain.Booking.Aggregates
{
public class FlightAggregate : AggregateBase
{
public FlightAggregate()
{
}
public Seat[] Sea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ChatAppSample.Views.Partials
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ChatEntryBar : ContentPage
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.