text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Practica01
{
class TV
{
public string color = "", forma = "", tamaño = "";
public double peso = 0.0, costo = 0.0;
public void Prender()
{
C... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CakeShop.ViewModels
{
public class SplashScreenViewModel:INotifyPropertyChanged
{
public Data.CAKE MainCake { get; set; }
public string Max... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace StockManager.Models
{
public class FoodModel
{
public int Id { get; set; }
public double Weight { get; set; }
public int Q... |
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 ImageFilter
{
public class ConvolutionalFilters
{
private static int Truncate(... |
using System;
namespace SFA.DAS.Notifications.Domain.Entities
{
public class Notification
{
public string MessageId { get; set; }
public string SystemId { get; set; }
public DateTime Timestamp { get; set; }
public NotificationFormat Format { get; set; }
public Notificat... |
namespace HelloWorldBusiness
{
public interface IGreeting
{
string GetGreeting { get; }
}
}
|
using HangoutsDbLibrary.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.ViewModels;
namespace WebAPI.Mappers
{
public interface IActivityMapper
{
Activity FromActivityViewModelToActivity(ActivityViewModel activityViewModel);
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
/// <summary>
/// 戰鬥UI
/// </summary>
public class BattleUI : MonoBehaviour
{
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zelo.Common.DBUtility;
namespace Zelo.DBService
{
/// <summary>
/// 系统安全服务累
/// </summary>
public class SecurityService
{
private static readonly String USER_PASSWORD_PREFIX = "a49b0cASDFASDFASDF3a... |
using System;
using System.Collections.Generic;
[Serializable]
public class TodayData
{
public enum CaffeineType
{
Coffee = 1,
Tea = 2,
EnergyDrink = 3,
Other = 4
}
[ReadOnlyField]
public string version = "00.00.00";
public DateTime timestamp = new DateTime();... |
static public int TitleToNumber(string s) {
int number = 0;
int deliver = 1;
char[] chars = s.ToCharArray();
int length = chars.Length;
for (int i = length - 1; i >= 0; i--) {
number += (chars[i] - 65 + 1) * deliver;
deliver *= 26;
}
return number;
} |
using AutoMapper;
using GeekBurger.Productions.Contracts;
using GeekBurger.Productions.Models;
using GeekBurger.Productions.Repository;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using GeekBurger.Productions.Helper;
using UnprocessableEntityResult = GeekBurger.Pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace VSchool.Data.Entities
{
public class Quize : BaseEntity
{
public string Case { get; set; }
public int Type { get; set; }
public ICollection<Question> Questions { get; set; }
... |
namespace CompressionStocking
{
public interface ICompressionMechanism
{
void Compress();
void Decompress();
void Stop();
}
} |
using System.Threading.Tasks;
using APIHealthChecker.Repositories;
using NUnit.Framework;
using Xamarin.UITest;
using System.Linq;
using Xamarin.UITest.Queries;
using APIHealthChecker.Services;
namespace UnitTests
{
[TestFixture(Platform.Android)]
public class Tests
{
IApp app;
Platform pl... |
using System;
using System.Linq;
namespace Jamie.Model
{
public enum ListEntryStatus
{ IsOK = 0x1, IsCalculated, IsNotConfirmed }
public class AllDataSets
{
//Variables
private FoodPlanItemSet _FoodPlanItems; //related to Recipes
private IngredientSet _Ingredients; //related t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class ScreenTrigger : Walls
{
public UnityEvent OnTrigger;
public override void OnHit()
{
OnTrigger.Invoke();
}
}
|
using Newtonsoft.Json;
namespace Lykke.Service.SmsSender.Services.SmsSenders.Nexmo
{
public class NexmoResponse
{
[JsonProperty("message-count")]
public int MessagesCount { get; set; }
public NexmoMessage[] Messages { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DisplayScreenInteraction : Interactable
{
public GameObject screen;
public bool hideOnReset = false;
public Checkpoints RelatedCheckpoint;
protected override void OnStart()
{
GameManager.OnReset +=... |
// -----------------------------------------------------------------------
// <copyright file="SharedConfigDictionaryLookup.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.... |
using System;
using System.ComponentModel.DataAnnotations;
using Fundamentals.Models.Validation;
namespace Fundamentals.DomainModel
{
public class CustomerViewModel
{
[Key]
[Required]
public int Id { get; set; }
[Required]
[StringLength(50)]
public string Firs... |
using System;
using System.Linq;
using GlmNet;
using System.Collections.Generic;
using System.Diagnostics;
namespace Tracer
{
class RayTracer
{
public static int ImageWidth = 512;
public static int ImageHeight = 512;
private const float FieldOfView = 60.0f;
private const int M... |
using Ambassador.Models.AnnouncementModels.Interfaces;
using Microsoft.AspNetCore.Mvc.Rendering;
using System.ComponentModel.DataAnnotations;
namespace Ambassador.Areas.Admin.Models.AnnouncementViewModels
{
public class AdminAnnouncementCreateViewModel : IAdminCreateAnnouncementModel
{
[Required]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
using System.Web;
namespace BPiaoBao.Web.SupplierManager.Controllers.Helpers
{
public class ClientInterpector : IClientMessageInspector
{
public void AfterReceiv... |
using System;
using System.Windows.Forms;
using Entity;
using Business;
namespace QuanLyTiemGiatLa.Danhmuc
{
public partial class frmCatDo : Form
{
private Boolean _cothaydoi = false;
private String _khoBefore = String.Empty;
private Int32 _slotBefore = 0;
private I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using database;
namespace LogOutProCesS
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello Server LogOut check");
while (true)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TodoBeBlue.Dados.Repositorios;
using TodoBeBlue.Dominio;
namespace TodoBeBlue.Controllers
{
public class TodosController : ApiController
{
public Todo... |
// ----------------------------------------------------------------------------------------------------------------------------------------
// <copyright file="IViewType.cs" company="David Eiwen">
// Copyright © 2016 by David Eiwen
// </copyright>
// <author>David Eiwen</author>
// <summary>
// This file contains the ... |
using JoggingDating.Models;
using JoggingDating.Services;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Template10.Mvvm;
using Template10.Services.NavigationService;
using Windows.UI... |
// <copyright file="BooksInMemoryRepository.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace AspNetSandbox.Services
{
using System.Collections.Generic;
using System.Linq;
using AspNetSandbox.Models;
/// <summary>Implement CRUD opera... |
using UnityEngine;
[System.Serializable]
public class Sound
{
public string name;
public AudioClip clip;
public enum SoundType { SFX, MUSIC };
public SoundType soundType;
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OnOffHighlight : MonoBehaviour {
private OnOff switchObj;
void Start () {
switchObj = this.transform.parent.gameObject.GetComponent<OnOff> ();
}
protected void OnTriggerStay2D(Collider2D col) {
if (!switchObj.getOnB... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Planning
{
public class KnowledgeState : State
{
public KnowledgeState(Problem p)
: base(p)
{
}
public KnowledgeState(KnowledgeState ksPredecessor)
... |
namespace Musher.EchoNest.Models
{
public class Biography
{
public string Text { get; set; }
public string Site { get; set; }
public bool Truncated { get; set; }
}
}
|
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
using Core;
namespace DataAccess.Abstract
{
public interface IColorDal : IEntityReposity<Color>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using SO.Urba.Managers;
namespac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infestation
{
class AggressionCatalyst : Supplement
{
public AggressionCatalyst()
: base(0, 0, 3)
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spawner : MonoBehaviour
{
public GameObject coin;
public GameObject badCoin;
public GameObject ballprefab;
public GameObject skillCoin;
// Start is called before the first frame update
void Start()
... |
using UnityEngine;
using UnityEngine.EventSystems;
public class controleTouch : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
public enum eTouchPlace
{ //direcoes
monster, heroDMG, heroBonus, heroBonus2
}
//ponteiro para as funcoes da mao
public eTouchPlace placeTouch;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Park_A_Lot
{
public class Elevator : parkALot
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace PhonemesAndStuff
{
public class PhonemeSupporter
{
public int ID { set; get; }
public string Name { set; get; }
public List<int> Allophones { set; get; }
public PhonemeSupporter()
{
}
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace VocabularyApi.Parsers
{
public class XdXfParser
{
public async Task<Dictionary<string, List<s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISKlinike
{
public class KartonDrugeUstanove
{
public int Id { get; set; }
public string NazivUstanove { get; set; }
public DateTime LijecenOd { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace VKDesktop.Models.Converters
{
public class OnlineConverter : IValueConverter
{
public object Convert(object value, Type ... |
using LuizalabsWishesManager.Domains.Models;
using LuizalabsWishesManager.Domains.Repositories;
namespace LuizalabsWishesManager.Services
{
public class ProductService : ServiceBase<Product>, IProductService
{
private readonly IProductRepository _repository;
public ProductService(IProductRepo... |
namespace SQLiteUpdate
{
public class UpdateScript
{
public string Identity { get; set; }
public string Script { get; set; }
}
}
|
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 Math_Assist
{
public partial class Math_Assist : Form
{
public Math_Assist()
... |
namespace Contoso.Common.Configuration.ExpressionDescriptors
{
public class NotEqualsBinaryOperatorDescriptor : BinaryOperatorDescriptor
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fleck;
using General.Librerias.AccesoDatos;
namespace Demo46
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Iniciando el Servidor Socket... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PhoneBook
{
public delegate void InputsForProblem();
class Program
{
static void Main(string[] args)
{
InputsForProblem input = InputsForPhoneBookDiary;
... |
//
// 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.DataAnnotations;
using System.Reflection;
#endregion
namespace DotNetNuke.Web.Validators
{
public class ... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 required by appl... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CMS.DL
{
public static class DB
{
private static string strConexion = ConfigurationManager.Connection... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.DataEntity;
using Model.Helper;
using Model.Locale;
using DataAccessLayer.basis;
using Model.Schema.EIVO;
using Utility;
using System.Linq.Expressions;
using Model.InvoiceManagement.InvoiceProcess;
namespace Model.Invoic... |
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.Data.OracleClient;
namespace AddressBook
{
public partial class Form1 : Form
{
... |
// -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
extern alias pcl;
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using pcl::System.Security.Cryptogr... |
using System;
namespace NetBattle.Field {
public sealed class Health {
public int OverchargeMaximum { get; set; }
public int Maximum { get; set; }
public int Value { get; set; }
public Health(int overchargeMaximum = 100, int maximum = 100, int value = 100) {
if (overcha... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
namespace DataStorage{
public class BDManager
{
private static BDManager dataBase;
private static MySqlCommand comando;
private static MySqlC... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BomTreeView.Database
{
public class SqlDatabaseController
{
private BomDatabaseContext BomDatabaseContext { get; set; }... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DataController : MonoBehaviour {
public static DataController Instance;
public PlayerDataManager PlayerData { get; private set; }
public string ExitDoorName { get; set; }
public Vector3 ExitPosition { get; set; }
/* ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HackerrankSolutionConsole
{
class game_of_stones_1 : Challenge
{
public override void Main(string[] args)
{
int n = Convert.ToInt32(Console.ReadLine());
... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Companies.Models;
namespace Companies.Functions
{
public class GetCompanyById
{
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.Entities.Users
{
public interface IFollowerEventHandlers
{
void FollowRequested(object sender, RelationshipEventArgs ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Odbc;
namespace ADO.Net_DataAdapter
{
class Program
{
static void Main(string[] args)
{
try
{
string connectionString = "DSN=FBMAX... |
using System;
namespace Paralect.Schematra
{
public class EnumTypeBuilder : EnumType
{
public EnumTypeBuilder(TypeContext typeContext) : base(typeContext)
{
}
public EnumTypeBuilder AddConstant(Int32 index, String name)
{
AddConstantInternal(in... |
using System;
using System.Collections.Generic;
using Acr.UserDialogs;
using City_Center.Clases;
using City_Center.Helper;
using Xamarin.Forms;
namespace City_Center.Page
{
public partial class DetalleTorneo2 : ContentPage
{
public DetalleTorneo2()
{
InitializeComponent();
... |
namespace E01_SchoolClasses
{
using System;
using System.Collections.Generic;
public class SchoolClassesMain
{
public static void Main(string[] args)
{
// We are given a school. In the school there are classes of
// students. Each class has a set of teachers. E... |
using System;
namespace FuzzyLogic.Operations
{
public class Intersection : IBinaryOperation
{
public double Operate(double operand1, double operand2) => Math.Min(operand1, operand2);
}
}
|
using System;
using System.Linq;
using System.Security.Cryptography;
using Microsoft.Extensions.Options;
using trial_api.PasswordHashing;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace trial_api.PasswordHashing
{
public class PasswordHasher// : IPasswordHasher
{
byte[] salt = new byt... |
using WindowsFormsApplication1;
namespace HouseCostCalculation
{
internal class House
{
public double calculateCost()
{
double cost = 0;
return cost;
}
private Address adress;
private double cost;
public double Cost
{
... |
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (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 required by ap... |
using HealthCareWebsite.Data;
using HealthCareWebsite.Helper;
using HealthCareWebsite.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
usin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Menu : MonoBehaviour
{
public Text text_welcome;
void Start()
{
var auth = Firebase.Auth.FirebaseAuth.DefaultInstance;
if (auth.CurrentUser ... |
using System;
using System.IO;
using Appy.Core.Framework;
using Splash.Models;
namespace Splash.Services
{
public class SettingsService : ISettingsService
{
private readonly string SettingsFile;
public SettingsService()
{
var appDataFolder = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicat... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Inp... |
using System;
using IWx_Station;
namespace IWx_Station_Extended
{
// events are declared in the implementing class
public delegate void DelChangedHumidity(Single humidity);
public interface IWxStationExtended : IWxStation
{
// an event is just another way of specifying a method. So ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clases
{
public class Cartuchera1
{
private List<IAcciones> listaIAcciones;
public bool ProbarElementos()
{
foreach (IAcciones accion in listaIAcci... |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades.Financeiro;
using PDV.DAO.Enum;
using System.Data;
using System;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesMovimentoBancario
{
public static bool Salvar(MovimentoBancario Movimento, TipoOperacao Op)
{
... |
namespace Alword.Algoexpert.Tier0
{
public class PalindromeCheckTask
{
public static bool IsPalindrome(string str)
{
for (int i = 0; i < str.Length / 2; i++)
{
if (str[i] != str[str.Length - i - 1])
return false;
}
... |
using System.Windows.Forms;
namespace YongHongSoft.YueChi
{
public partial class FormMain : Form
{
private FormInput input;
private FormOutMap outMap;
public FormMain()
{
InitializeComponent();
}
private void toolStripButtonInput_Click(object sender... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Zhouli.DAL.Interface;
using Zhouli.DbEntity.Models;
namespace Zhouli.DAL.Implements
{
public class SysAbRelatedDAL : BaseDAL<SysAbRelated>, ISysAbRelatedDAL
{
public SysAbRelatedDAL(ZhouLiContext db, IDbConnectio... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using API.Dtos;
using API.Models;
using API.Services;
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace API.ServicesImpl
{
public class UserService : IUserService
{
private ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace CareerCup150.Chapter4_TreeGraph
{
public class _04_08_SumPath
{
/*
* You are given a binary tree in which each node contains a value. Design an algorithm to print all paths
*... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace FelixTheCat.BlackHole
{
/// <summary>
/// Generate random objects and lists with random objects
/// </summary>
public static class FiguresGenerator
{
private static readonly List<string[,]> symb... |
/*
* OpenAPI definition
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections.Generic;
using ... |
/*
------Usage Example -----------------------------------------------------------------
private unsafe void Decode(string url)
{
AVHWDeviceType devType = AVHWDeviceType.AV_HWDEVICE_TYPE_QSV;
Console.WriteLine("Decode start");
using (var decoder = new VideoStreamDec... |
using System;
namespace Nmli.Acml
{
class Lapack : ILapack
{
#region Double
public int potrf(UpLo uplo, int n, double[] a, int lda)
{
int info = 0;
byte b = Utilities.EnumAsAscii(uplo);
Externs.DPOTRF(ref b, ref n, a, ref lda, ref info);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace HoraireBeta
{
public class Ressource
{
protected String nom;
protected int id;
public Ressour... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DesignPatterns
{
/*
* Separate the construction of a complex object from its representation so that the
* same construction process (Director) can create different representations (Builders).
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace AntColony
{
public class AntHarvesting : AntState
{
// Targeted food node
private Food foodSource;
// Food portion that is being carried
private Food carried;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace HTTP_FINAL_PROJECT
{
public partial class WebForm2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
namespace SRDebugger.Profiler
{
using System.Diagnostics;
using Services;
using SRF;
using SRF.Service;
using UnityEngine;
[Service(typeof (IProfilerService))]
public class ProfilerServiceImpl : SRServiceBase<IProfilerService>, IProfilerService
{
private const int FrameBufferSi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DriveMgr.IDAL
{
public interface IGoodsDAL
{
/// <summary>
/// 是否存在该记录
/// </summary>
bool IsExistGoods(string categoryName);
/// <summary>
/// 增加一条数据
/// </... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using Application.Command;
using Application.Commands;
using Application.DTO;
using Application.Exceptions;
using Domain;
using EFCommands;
using EFDataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EfCommands
{
public class EfAddRoleCommand : EfBaseCommand... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovingPlatform : MonoBehaviour
{
[SerializeField] private Transform _targetA, _targetB;
[SerializeField] private float _speed = 2.0f;
// create a var to tell switch from tarA to tarB
[SerializeField] p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PauseScript : MonoBehaviour
{
bool isPaused = false;
public GameObject menuPause;
public Text objectifs;
public static int amisRestants = 3;
public GameObject miniMap;
public void... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Riverside.Cms.Services.Reviews.Domain
{
public interface IReviewRepository
{
Task UpdateReviews(long tenantId, IEnumerable<Review> reviews);
Task<IEnumerable<TenantPlace>> ListTenantPlace... |
using System;
using System.Collections.Generic;
namespace Algorithms
{
//check if a expressison is well formed
//IE //[(ABC {DEF}[XYZ (LMN)] is false
public class WellFormedExpression
{
Dictionary<string,string> openingBrackets = new Dictionary<string,string>
{
{
... |
using System;
namespace Repository
{
public class Transaction
{
public DateTimeOffset Date { get; set; }
public string MerchantName { get; set; }
public decimal Amount { get; set; }
public decimal TransactionPercentageFeeAmount { get; set; }
public decimal InvoiceFixedF... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.