text stringlengths 13 6.01M |
|---|
using System.Collections.Generic;
namespace GameSimulationN.Models
{
public interface IBuildingRepository
{
List<Building> GetBuildingByCity(int CityId);
//void Create(string BuildingName, int CityId);
void Create(BuildingType Building, int CityId);
bool UpgradeLevel(int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WF.SDK.Models.Internal;
namespace WF.SDK.Fax.Internal
{
public static class FaxInterfaceRaw
{
//The method name will be inserted in each call.
public static string RestUrlTemplate { get; set; } //https:... |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using DataStructures.LL;
namespace DataStructuresTest
{
public class LinkedListTests
{
[TestCase(new int[] { 1, 2, 3}, 4, new int[] { 1, 2, 3, 4 })]
[TestCase(new int[] { 0 }, 4, new int[] { 0, 4 })]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnZoomCamera : MonoBehaviour {
public GameObject spawnPointCanvas;
public GameObject cameraDolly;
GameObject uiPanel;
void Awake()
{
uiPanel = GameObject.Find("UIPanel");
}
// Update i... |
namespace AlgoExpertExercises.VeryHard
{
public static class Algorithms
{
}
}
|
using MKService.Messages;
using MKService.ModelUpdaters;
using MKService.Queries;
using MKService.Updates;
namespace MKService.MessageHandlers
{
internal class UserChangedHandler : ServerMessageHandlerBase<UserChanged, UserQuery, IUpdatableUser>
{
public UserChangedHandler(IModelUpdaterResolver model... |
using System.Collections.Generic;
namespace SkillsGardenDTO.Response
{
public class ExerciseResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string Media { get; set; }
public List<string> Requirements { get; set; }
public List<string> Steps... |
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 DAL;
using BUS;
using ControlLocalizer;
namespace GUI
{
public partial class f_themdonvi : Form... |
using System;
using System.Reflection;
using System.Collections.Generic;
using System.Web;
using CYQ.Data;
using CYQ.Data.Table;
using CYQ.Data.Tool;
using System.Text;
using System.IO;
using System.Web.SessionState;
using Aries.Core.Auth;
using Aries.Core.Config;
using Aries.Core.Helper;
using Aries.Core... |
using Foundation;
using System;
using UIKit;
using GabberPCL.Models;
namespace Gabber.iOS
{
public partial class TopicsCollectionViewCell : UICollectionViewCell
{
public static NSString CellID = new NSString("TopicCollectionCell");
public TopicsCollectionViewCell (IntPtr handle) : base (handle... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using DBStore.DataAccess.Data.Repository.IRepository;
using DBStore.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace DBStore.Controll... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.EventSystems;
public class StartMenu : MonoBehaviour {
public Text muteText;
public GameObject howtoplay;
public GameObject credits;
public AudioClip buttonClicked;
public AudioSource... |
using System.Threading.Tasks;
using MvvmCross.Core.ViewModels;
namespace VictimApplication.Core.ViewModels
{
public class PoliceDetailsViewModel : MvxViewModel
{
private string _details = "Your Policeman Details will be here";
public string Details
{
get => _details;
... |
using System;
using System.ComponentModel;
namespace TwinkleStar.Demo.Core.Models
{
/// <summary>
/// 实体类——用户扩展信息
/// </summary>
[Description("用户扩展信息")]
public class MemberExtend
{
/// <summary>
/// 初始化一个 用户扩展实体类 的新实例
/// </summary>
public MemberExtend()
... |
using System;
using ConstraintsInGenerics.ConstraintsExamples;
using ConstraintsInGenerics.ConstraintsExamples.HelpMaterial;
namespace ConstraintsInGenerics
{
class Program
{
static void Main(string[] args)
{
var exampleToRun = ExamplesEnumeration.InterfaceConstraint;
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace MigrationTool.Migrations
{
public partial class MigUp1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "category_ıd",
table: ... |
using System.Collections.Generic;
using Microsoft.Extensions.FileProviders;
namespace Microsoft.AspNetCore.Mvc.RazorPages
{
public class RazorPagesOptions
{
public IList<IFileProvider> FileProviders { get; } = new List<IFileProvider>();
}
}
|
using System;
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson.Serialization.IdGenerators;
namespace Eze.Api.Entities
{
public class Request
{
[BsonId]
public Guid Id { get; set; }
public List<Guid> ItemIds { get; set;... |
namespace PlatformRacing3.Web.Responses.Procedures;
public class DataAccessDeleteBlockResponse : DataAccessDataResponse<bool>
{
public DataAccessDeleteBlockResponse()
{
this.Rows = new List<bool>(0);
}
} |
namespace ws_seta.Models
{
public class Frete
{
public string codigoRastreio { get; set; }
public double valor { get; set; }
public string descricao { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ValidationExperiments.Core.Entities;
namespace ValidationExperiments.Core.Interfaces
{
public partial interface IAppDbContext
{
public Task<CourseLesson> CreateCourseLessonAsync(CourseLesson courseLe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace PheonixRt.DataContracts
{
/// <summary>
///
/// </summary>
[DataContract]
public class StructureDataContract
{
/// <summary... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Zillow.Service.Services.FileServices
{
public interface IFileService
{
Task<string> SaveFile(IFormFile file, string folderName);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RobotsvsDinos
{
class Weapon
{
//private string v;
//Member Variables (HAS A)
string type;
int attackPower;
//Constructor
public Weapo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GestionProjetForfait.Utilitaires
{
class Affichage
{
public static void ErreurSaisie(Control txtSaisie, string message)
{
... |
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Logging;
using Microsoft.SharePoint.Client;
//using M... |
namespace KEKO
{
public class Sensor
{
public string resource_id { get; set; }
public string type { get; set; }
public string area_id { get; set; }
public string building_id { get; set; }
}
public class HumiditySensor
{
public string name { get; set; }
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameConfig {
static int[] m_SingleReward = {10, 20, 40, 80, 160, 320, 640, 1250, 2500, 5000, 10000};
static string[] m_LoadingTips = {
"You get to use each boost once fo... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Rinsen.IdentityProvider;
using Rinsen.DatabaseInstaller;
using Rinsen.IdentityProvider.Installation;
using Microsoft.AspNetCore.Mvc;
using Rinsen.Ident... |
namespace App.Models
{
public class Member
{
public string Name;
public int Age;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _07.EncodeDecode
{
class EncodeDecode
{
static int[] EncodingDecoding(int[] message, int[] cipher)
{
int[] result = new int[message.Length];
for (int i = 0; i < result.Length... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using WagahighChoices.Ashe;
namespace WagahighChoices.Kaoruko.Models
{
public static class ModelUtils
{
public static ChoiceAction[] ParseChoices(string source)
{
return Array.ConvertAll(... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
namespace Savaged.HasMyPasswordBeenPwned.Lib
{
public class PwnedServiceException : Exception
{
public PwnedServiceException(
HttpResponseMessage response)
: base(respons... |
using System;
namespace NUnit.angular.euromade.ru
{
public class FakeCommerceML
{
public static string CommerceML => @"
<Классификатор>
<Группы>
<Группа>
<Ид>7cc1827b-d6b4-11e7-a651-005056c00008</Ид>
<Наименование>Новый евромейд</Наименование>
<Группы>
<Группа>
<Ид>24fe1c8... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireRandom : Fire {
// Update is called once per frame
void Update () {
m_timer += Time.deltaTime;
if (m_timer > 2.0f)
{
m_timer = 0;
Destroy(this.gameObject);
}
... |
using System;
using NUnit.Framework;
namespace TravisCILab
{
[TestFixture]
public class Math
{
[Test]
public void Add_Valid_Martz()
{
Assert.AreEqual(3, Program.Add("1", "2"));
Assert.AreEqual(5, Program.Add("3", "2"));
Assert.AreEqual(12, Progra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PeliculasAPI.DTOs
{
public class PaginacionDTO
{
private int? pageSize = 10;
private int pageNumber = 1;
private readonly int maximumRecordsPerPage = 100;
public Paginaci... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyMelle : MonoBehaviour
{
private Vector2 _distance;
private Player _playerScript;
private Rigidbody2D _rigidbody2D;
[SerializeField] private int visionCamp;
[SerializeField] private int ene... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using ThemeParkManagementSystem.Models;
namespace ThemeParkManagementSystem.Controllers
{
public class Guest_ShopsController : Controller
{
... |
using Newtonsoft.Json;
namespace HelloWorldTwitterLambda
{
internal class TwitterCredentials
{
[JsonProperty("TWITTER_CONSUMER_KEY")]
public string ConsumerKey { get; set; }
[JsonProperty("TWITTER_CONSUMER_SECRET_KEY")]
public string ConsumerSecret { get; set; }
[Json... |
using FluentAssertions;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
using TestingUtils;
using Xunit;
namespace Lsp.Tests.Capabilities.Client
{
public class SynchronizationCapabilityTests
{
[Theory]
[Js... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.ComponentModel;
using System.Web.UI;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.P... |
namespace BetaDota2StatsMVC.Models
{
public class Rune
{
public int Property1 { get; set; }
public int Property2 { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.SceneManagement;
public class Player : MonoBehaviour
{
Rigidbody rb;
public int hp = 3;
public string[] inventary = new string[6];
public float speed = 8f;
public float angal_pow = 0... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace NatilleraApiDataAccess.Migrations
{
public partial class MigracionInicial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBui... |
using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Repositories
{
public interface IUserRepository
{
Task<List<User>> GetUsers();
Task<bool> Insert(User user);
void Update(User user);
void Del... |
namespace AlienEngine
{
/// <summary>
/// <see cref="AudioSource"/> state information.
/// </summary>
public enum AudioSourceState
{
/// <summary>
/// Default State when loaded.
/// </summary>
Initial = 0x1011,
/// <summary>
/// The source is current... |
using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace CatalogBooks
{
public partial class FormSettings : Form
{
public FormSettings()
{
InitializeComponent();
}
private void FormSettings_Load(object sender, EventArgs e)
{
... |
using Discord;
using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mad_Bot_Discord.Core.UserAccounts;
using Discord.WebSocket;
using System.IO;
using System.Threading;
using Discord.Rest;
namespace Mad_Bot_Discord.Modules
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraGizmo : MonoBehaviour
{
[Header("カメラの表示領域")]
private Vector3 mCameraTopL, mCameraTopR, mCameraBottomL, mCameraBottomR;
[SerializeField, Header("カメラの横、縦")]
private float mCameraWidth, mCameraHeight;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using Telerik;
namespace Proyek_Informatika.Models
{
public class AlbertContainer
{
public class MahasiswaForGrid
{
... |
using System;
using System.Linq;
using FileImporter;
using System.Collections.Generic;
using EbsDomainObjects;
namespace FileAggregator
{
/// <summary>
/// File aggregator takes the output from FileImporter and aggregates the value column by the fields specified
/// </summary>
public class ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class GameManager : MonoBehaviour {
public bool recording;
public bool paused = false;
public GameObject Pause;
private float fixedDeltaTime;
private GameObject pla... |
// C# Excel Writer library v2.0
// by Serhiy Perevoznyk, 2008-2018
using System.Drawing;
namespace Export.XLS
{
public struct ExcelColor
{
private readonly Color color;
private ushort index;
internal ExcelColor(Color color, ushort index)
{
this.color = co... |
using System.ComponentModel;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
namespace DynamicPermission.AspNetCore.Controllers
{
[AllowAnonymous]
[DisplayName("AccountController(just for show)")]
public class Acc... |
using MetroFramework;
using MetroFramework.Forms;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.Entidades.Estoque.Suprimentos;
using PDV.UTIL;
using PDV.VIEW.Forms.Cadastro.Suprimentos;
using System;
using System.Data;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Consultas.Suprimento
{
public partial class F... |
using System;
using System.IO;
using System.Text;
using System.Threading;
#if MF_FRAMEWORK_VERSION_V4_2 || MF_FRAMEWORK_VERSION_V4_3
using Microsoft.SPOT.Hardware;
#endif
using SenticsLib;
namespace SCII
{
public static class Settings
{
public static void Load()
{
try
{
... |
using System;
namespace DB
{
public partial class MedicalCheckup
{
public const string STARTED = "Начато";
public const string FINISHED = "Пройдено";
public const string CANCELLED = "Отменено";
public const string RECORDED = "Назначено";
private const int RUN = 0; ... |
using System;
namespace ConwaysGameOfLife
{
class Program
{
static void Main(string[] args)
{
int runs = 0;
int height, width, maxRuns;
// Get the INput Values
Console.Write("Enter Board Height : ");
int.Try... |
namespace CallCenter.Common
{
public interface IServerEventsProcessor
{
IOperatorProcessor OperatorProcessor { get; }
IChatProcessor ChatProcessor { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArticleSubmitTool.Models.InstantArticles
{
public class InstantArticleItemTypeModel: AModel
{
public string Name { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//玩家靠近门,门关闭
public class OpenTheDoor : MonoBehaviour
{
Animator animator;
public BoxCollider2D collider2D;
// Start is called before the first frame update
void Start()
{
animator = GetComponent<Animator>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PaizaFramework
{
class Program
{
/// <summary>
/// <seealso cref="Console.ReadLine"/> の替わりに、固定のテストデータを返す <seealso cref="PaizaUtility.ITestIO"/> 実装
/// </summary>
private class TestData : PaizaUtility.ITestIO
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : GameEntity
{
public int points = 100;
protected override void OnTriggerEnter2D(Collider2D collision)
{
if (!collision.GetComponent<Shot>()) return;
GameControler.Instance.UpdateScore(poi... |
using System.Collections.Generic;
namespace stottle_shop_api.Categories.Models
{
public interface ICategory
{
string DisplayName { get; set; }
string Code { get; set; }
bool IsActive { get; set; }
IEnumerable<Category> ChildCategories { get; set; }
IEnumerable<string> Fi... |
using Modelos.Admin;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Modelos.Cadastros.Visitantes
{
public class ControleDeAcesso
{
[Key]
public virtual int Id { get; set... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace Dnn.PersonaBar.Security.Components
{
public interface IAuditCheck
{
string Id { get; }
bool LazyLoad { get; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoursIngesup.Projet2
{
class SousTitres
{
public int datetotaledébut=0;
public int datetotalefin=0;
public string text;
public int numéro;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ProyectoASPEmenic
{
public partial class Login : System.Web.UI.Page
{
Conexion cn = new Conexion();
protected void Page_Load(object sender, Even... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Laboration1
{
class Stock
{
StockItem[] items;
public StockItem this[int index]
{
get
{
if (index >= 0 && index < items.... |
using System.ComponentModel.DataAnnotations;
namespace OneCPO.ViewModels.Input.PurchaseOrder
{
public class CreatePurchaseOrderModel
{
[Required]
[StringLength(50, MinimumLength = 2)]
public string Description { get; set; }
[Required]
[Range(0, double.MaxValue)]
... |
using System;
using System.Runtime.Serialization;
namespace ServerLib
{
[Serializable]
public class NoReplicationAvailableException : ApplicationException
{
public NoReplicationAvailableException()
{
}
public NoReplicationAvailableException(SerializationInfo in... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using SKT.MES.Report.Model;
using SKT.MES.DAL.Marshal;
using SKT.MES.Model;
namespace SKT.MES.Report.BLL
{
public class Report
{
private Int32 recordCount = 0;
/// <summary>
/// 编辑(添加或更新) TE... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Loot_box
{
class Program
{
static void Main(string[] args)
{
Queue<int> firstBox = new Queue<int>();
Stack<int> secondBox = new Stack<int>();
int[] input = Console.ReadLine().Split(... |
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
using UnityLocalization.Data;
using UnityLocalization.Shared;
using UnityLocalization.Utility;
namespace UnityLocalization {
public class LocalizationSettingsWindo... |
using System.Web.Mvc;
using Microsoft.Practices.Unity;
using Unity.Mvc5;
using Week_2___Webshop.Models;
using Week_2___Webshop.Controllers;
using Week_2___Webshop.BusinessLayer.Services;
using Week_2___Webshop.BusinessLayer.Repositories;
namespace Week_2___Webshop
{
public static class UnityConfig
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestPPClase
{
class Program
{
static void Main(string[] args)
{
Lavadero miLavadero = new Lavadero("Lavadero S.A");
Auto a1 = new Auto("ACB123"... |
namespace AquaServiceSPA.Models
{
public class AquaMacroDefaultSettings
{
public double AquaLiters { get; } = 100;
public double ContainerCapacity { get; } = 500;
public double TimesAWeek { get; } = 7;
public double Nitrogen { get; } = 10;
public double Potassium { get; ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public class NeuralNetwork
{
private int[] layers;
private float[][] neurons;
private float[][][] weights;
float fitness;
int numFitnesses = 0;
public NeuralNetwork(int[] layers... |
using Enrollment.Utils;
namespace Enrollment.Forms.View.Common.Json
{
public class FormItemSettingViewConverter : JsonTypeConverter<FormItemSettingView>
{
public override string TypePropertyName => nameof(FormItemSettingView.TypeFullName);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using CT.Data;
namespace CT.UI
{
public abstract class GridManager : MonoBehaviour
{
public Base _base;
public GameObject tilePrefab;
public Transform bottomLeftPoint;
[Header... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SFP.SIT.SERV.Model.SOL
{
public class SIT_SOL_DOC
{
public Int64 docclave { set; get; }
public Int64 solclave { set; get; }
public SIT_SOL_DOC () {}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameSession : MonoBehaviour
{
// ENCAPSULATION
public static GameSession instance { get; private set; }
private string _playerName = "UnknownPlayer";
// ENCAPSULATION
public string playerName {
get... |
namespace Strategy
{
internal class Bus : IVehicle
{
private int passengers;
private decimal costPerKilometer;
public Bus(int passengers)
{
this.passengers = passengers;
this.costPerKilometer = 3.6m;
}
public decimal GetCostPerKilometer(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Abstraction
{
enum Color
{
None = 0, //değeri 0 olan enumlar icin en uste none,null,empty vb oluştur.
Red,
Blue,
Green
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField] Asteroid asteroidPrefab;
public int poolSize = 5;
[SerializeField] float spawnTimer = 1f;
[SerializeField] float spawnDistance = 15;
[SerializeField] float traje... |
// 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.Linq;
using Microsoft.EntityFrameworkCore.Metadata.Conventions;
using Microsoft.EntityFrameworkCore.TestU... |
/*
This class is meant to serve as the interface class for the demo or ICompany
NOTE that C# support only single inheritence but more than 1 inerface can be implemented by the class
Below cocepts will be demoed using this file and the classes that implements this interface:
- Interface
*/
namespace CSBasic
{
pub... |
using Nest;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace GeneralStoreMVC.Models
{
public class Product
{
[Key]
public int ProductId { get; set; }
[Required]
[DisplayName("Product Name"... |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Lykke.Service.SmsSender.Core.Domain.SmsProviderInfoRepository
{
public interface ISmsProviderInfoRepository
{
Task AddAsync(SmsProvider provider, string countryCode, SmsDeliveryStatus status);
Task<IEnumerable<ISmsProvid... |
// Returns value from AreaPerPerson().
using System;
namespace ICAO119
{
class Building
{
public int Floors; // number of floors
public int Area; // number of footage of building
public int Occupants; // number of occupants
// Return the area per person.
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using Client.UI.Base.Controls;
namespace Client.UI.Base.Collection
{
public class CustomSysButtonCollection : IList, ICollection, IEnumerable
{
private int count;
private CmSysButton[] m_arrItem;
... |
namespace WagahighChoices
{
public interface IInputImage
{
int Width { get; }
int Height { get; }
Pixel GetPixel(int index);
}
}
|
#region License
// Copyright (c) 2009, James M. Curran
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NsoGetData.Models
{
class SumBldUnt
{
public BldData BldData { get; set; }
public UntData UntData { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Metani.Models
{
public class MapTani
{
public List<MapList> HasilTani { get; set; }
public List<MapList> Tanah { get; set; }
//public List<HasilTaniJoin> HasilTani { get; set; }
//pub... |
using UnityEngine;
using System.Collections;
public class Inventory : MonoBehaviour
{
private Transform[] items = new Transform[4];
private Character character;
private void Awake()
{
character = FindObjectOfType<Character>();
for (int i = 0; i < items.Length; i++)
{
... |
//
// 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.Data;
using Dnn.ExportImport.Components.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.ComponentModel.DataAnnotati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gomoku {
public interface IAI {
Tuple<uint, uint> MakeMove(Board board);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.