text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class Dinger : MonoBehaviour {
public static bool ding = false;
// Use this for initialization
private int counts=0;
private int pitches = 0;
public AudioClip clip1;
public AudioClip clip2;
public AudioClip clip3;
public AudioClip clip4;
public AudioClip cli... |
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.SYS_PARAMS")]
public partial class SystemParameters
{
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace CMS_Tools.Lib
{
public class FacebookLib
{
public static string FB_APP_ID = ConfigurationManager.AppSe... |
/************************************
** Created by Wizcas (wizcas.me)
************************************/
using UnityEngine;
public class ItemDescriptor : MonoBehaviour
{
public string title;
public string description;
private IItem _item;
private bool _showName;
protected virtual bool CanSh... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
//SHAPES DEMO
namespace Webster_ShapesDemo
{
/// <summary>
/// This is the main type for your game.
/// </summary>
public class Game1 : Game
{
GraphicsDeviceManager gra... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR.InteractionSystem;
public class GameManager : Singleton<GameManager>
{
public List<string> LevelNames;
private AbstractLevelManager levelManager;
public AbstractLevelManager CurrentLevelManager {
g... |
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
namespace UnitTests.Input
{
public class InputTests
{
[Test]
public void ReadPathsTest()
{
//Source https://www.c-sharpcorner.com/UploadFile/mahesh/how-to-read-a-text-file-i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task02
{
class Program
{
static void Main(string[] args)
{
// Write a program that reads N integers from the console and reverses them using a stack.
... |
using Modelos.Formulas;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate;
namespace DAL.DAOs.Formulas
{
public class EstruturaProdutoDAO
{
private readonly ISession sessi... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Data.Linq.Provider;
using System.Diagnostics.CodeAnalysis;
namespace System.Data.Linq.SqlClient {
internal class SqlDuplicator {
DuplicatingVisitor superDuper;
internal SqlDuplicator()
: this(true) {
... |
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 integral
{
public partial class integral__Form : Form
{
public integral__Form(... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace KitchenSupport
{
public partial class HomePage : ContentPage
{
public HomePage()
{
InitializeComponent();
}
private void findRecipes(object sender, EventArgs args)
{
... |
using System;
namespace TestDbFirst
{
public class Class1
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Prism.Commands;
using Prism.Navigation;
using Prism.Logging;
using Prism.Services;
namespace fictionalbroccoli.ViewModels
{
public class PageExampleViewModel : ViewModelBase
{
public PageExampleViewMo... |
using System;
namespace Humans
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Human Dan = new Human("Dan");
Dan.Love(Dan);
Console.WriteLine(Dan.Health);
}
}
}
|
using Plus.HabboHotel.Achievements;
namespace Plus.Communication.Packets.Outgoing.Inventory.Achievements
{
internal class AchievementProgressedComposer : MessageComposer
{
public Achievement Achievement { get; }
public int TargetLevel { get; }
public AchievementLevel TargetLeve... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AS_PracAssignment
{
public partial class HomePage : System.Web.UI.Page
{
string MYDBConnectionString = Sy... |
using net.TBMSP.Lib.File;
using net.TBMSP.Lib.TBMPk.File;
using UnityEngine;
namespace tutorial.MultiSave{
public class GameManager:MonoBehaviour{
public Transform player,LoadMenu,SaveMenu;
public int Health=100;
private static string[] Slots=new string[4];
private static Transform p;
public static GameManage... |
using System;
using System.Configuration;
using System.Web.Mvc;
using Ast.Bll;
using Ast.Common;
using Ast.HcNetWork;
using Ast.IBll;
using Ast.Models;
namespace Ast.Web.Controllers
{
public class HomeController : Controller
{
private IHc_WebSettingService webservice = new Hc_WebSettingService();
... |
using nmct.ba.cashlessproject.api.Models.DataAccessOrganisation;
using nmct.ba.cashlessproject.model.WPF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Security.Claims;
using System.Web;
using System.Web.Http;
... |
using Hybrid.Domain.UnitOfWorks;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace Hybrid.EntityFramework.UnitOfWorks
{
public class EfUnitOfWork : UnitOfWorkBase
{
protected IDictionary<str... |
using System;
namespace Savaged.HasMyPasswordBeenPwned.Lib
{
public class InputManager
{
private readonly string[] _args;
public InputManager(string[] args)
{
_args = args;
if (_args != null && _args.Length > 0)
{
if (_args.Length > ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Karkas.Ornek.TypeLibrary.Ornekler;
using Karkas.Ornek.BsWrapper.Ornekler;
public partial class Ornekler_LinqOrnekleri_GridSort : System.Web.UI.Page
{
protec... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Application.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------------... |
using CryptoInvestor.Infrastructure.Commands;
using CryptoInvestor.Infrastructure.Commands.Users;
using CryptoInvestor.Infrastructure.Services.Interfaces;
using System.Threading.Tasks;
namespace CryptoInvestor.Infrastructure.Handlers.Users
{
public class CreateUserHandler : ICommandHandler<CreateUser>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SimpleApiService.Domain;
using SimpleApiService.Domain.Context;
using SimpleApiService.DTO;
using SimpleApiService... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
namespace Voronov.Nsudotnet.BuildingCompanyIS.Entities
{
[Table("bcis.OrganizationTypes")]
public partial class OrganizationType : IEntity... |
namespace Everest.Entities
{
public class UbicacionEntity
{
public int IdUbicacion { get; set; }
public int IdAnuncio { get; set; }
public string Direccion { get; set; }
public decimal Latitud { get; set; }
public decimal Longitud { get; set; }
}
}
|
namespace ITQJ.WebClient.ViewModels
{
public class PaginaM
{
public PaginaM(int pagina) : this(pagina, true)
{
}
public PaginaM(int pagina, bool habilitada) : this(pagina, habilitada, pagina.ToString())
{
}
public PaginaM(int pagina, bool habilitada, ... |
using Core.Domain;
using Core.Internal.LinqToDB;
using LinqToDB.Mapping;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Core.MSTest.Internal.LinqToDB
{
[TestClass]
// ReSharper disable once InconsistentNaming
public class LinqToDBUtilsTest
{
#region ChildEntity & ParentEntity
... |
namespace FackerProgram
{
interface IFacker
{
T Create<T>();
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using Shared.Models;
using WebPush = Lib.Net.Http.WebPush;
namespace Data
{
internal class WebsiteDbContextFactory : IDesignTimeDbContextFactory<WebsiteDbContext>
{
public WebsiteD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Agenda.Domain;
using AutoFixture;
using NUnit.Framework;
namespace Agenda.DAL.Test
{
[TestFixture]
public class ContactsTestSession2 : BaseTest
{
Contacts _contacts;
Fi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PuzzleStructureManager : MonoBehaviour
{
[SerializeField]
private float structureXMovementOnTrigger;
[SerializeField]
private float structureYMovementOnTrigger;
private float structureSpeed;
private Ve... |
using System;
using KelpNet.Common;
using KelpNet.Common.Functions.Container;
using KelpNet.Common.Tools;
using KelpNet.Functions.Activations;
using KelpNet.Functions.Connections;
using KelpNet.Loss;
using KelpNet.Optimizers;
using KelpNetTester.TestData;
namespace KelpNetTester.Tests
{
//Learning of MNIST (Handwr... |
using NUnit.Framework;
using System;
using System.IO;
using Utils;
namespace Tests
{
[TestFixture]
public class UtilsTests
{
private string content;
private int result;
[SetUp]
public void Setup()
{
content = File.ReadAllText(@"C:\Work\WPFTestWork\TestD... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace NetCode.Synchronisers.Values
{
/// <summary>
/// Delares a synchronisable field, and the target type to synchronised.
/// </summary>
public class EnumerateSyncValueAttribute : Attribute
{
public SyncFla... |
using Microsoft.AspNetCore.Mvc;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XPowerAPI.Controllers;
using XPowerAPI.Models;
using XPowerAPI.Models.Params;
using XPowerAPI.Repository;
using XPowerAPI.Services.Security.Account;
name... |
using Common.Data;
using GameServer.Core;
using GameServer.Managers;
using GameServer.Models;
using Interface;
using SkillBridge.Message;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Network;
namespace GameServer.Entities
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PNPUTools.DataManager;
using System.Data;
using PNPUTools;
namespace PNPUCore.Controle
{
/// <summary>
/// Cette classe permet de contrôler si les niveaux de saisie d'un item... |
using Acr.UserDialogs;
using IndependienteStaFe.Models;
using IndependienteStaFe.Services;
using System;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace IndependienteStaFe.Views
{
[DesignTimeVisible(false)]
public ... |
using UnityEngine;
public class IdleState : State
{
public IdleState(GameObject enemy, StateType state) : base(enemy, state) { }
public override void UpdateState()
{
if (enemy.GetComponentInChildren<Renderer>().isVisible)
{
enemy.GetComponent<FiniteStateMachine>().EnterNextSta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SiCandi2017.Controlador;
namespace SisCandidatasWeb_2017.Controllers
{
public class CandidataController : Controller
{
// GET: Candidata
public ActionResult Index(string word = "... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FirebirdSql.Data.FirebirdClient;
namespace JournalAccountingBlanqui
{
class CLSDB
{
Props props = new Props(); //экземпляр класса с настройками
PropsFields... |
using Entity;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;
namespace QuanLyTiemGiatLa.Xuly
{
class ResultHttp
{
public String Code { get; set; }
public String Mes... |
//using Microsoft.Xna.Framework;
//using Microsoft.Xna.Framework.Graphics;
//using MonoGame.Extended.Shapes;
//using MonoGame.Extended.TextureAtlases;
//using MonoGame.Extended.Tiled;
//using MonoGame.Extended.Tiled.Graphics;
//using NSubstitute;
//using Xunit;
//namespace MonoGame.Extended.Tests.Tiled.Renderers
//{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Media.Imaging;
using System.Windows.Media;
using ServerKinect.DataSource;
using ServerKinect.Shape;
namespace ServerKinect.Video
{
public class ImageDataSource : DataSourceP... |
//////////////////////////////////////////////////////////
//
// myVegas Mobile
//
// Started on Feburary 21, 2013
// (c) 2013 PlayStudios, Inc.
//
//////////////////////////////////////////////////////////
using UnityEngine;
public class Manager : MonoBehaviour
{
protected static Manager getInstance(ref Manager ... |
using System.Collections.Generic;
using CompanyDb.Data;
namespace CompanyDb.ImportRandomData
{
public class DepartmentDataGenerator : DataGenerator, IDataGenerator
{
private const int MinStringLength = 10;
private const int MaxStringLength = 50;
public DepartmentDataGenerator(... |
namespace HCL.Academy.Model
{
public class UserAssessment
{
public int TrainingAssessmentId { get; set; } // Assessment Id
public string TrainingAssessment { get; set; } // Assessment Name
public int SkillId { get; set; } // Course Id like Java etc
public string SkillName { get;... |
using Microsoft.Analytics.Interfaces;
using Microsoft.Analytics.Interfaces.Streaming;
using Microsoft.Analytics.Types.Sql;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace CustomXMLOutputer
{
[SqlUserDefinedOutputter(AtomicFileProcessing = false)]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RonceBehaviour : MonoBehaviour
{
public float KnockBackStrenght;
private GameObject playerOb;
private AudioSource m_audioSource;
public AudioClip hitPlayerSound;
private void Start()
{
m_audioS... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalProject
{
/// <summary>
/// This class handles the fourth class of the test:
/// The user has to identify three random pictures of nouns
/// </summar... |
using UnityEngine;
using System.Collections;
// http://answers.unity3d.com/questions/8715/how-do-i-use-layermasks.html
namespace Ph.Bouncer
{
public static class LayerMaskHelper
{
public static int FromInt(int layerNumber)
{
return 1 << layerNumber;
}
}
}
|
using UnityEngine;
using System.Collections;
public class ArmorValues : MonoBehaviour {
//Gehört zu einer Rüstung
//Statuswerte des Kürass
public string cuirassName;
public float armorValue;
public float weight;
public float armorLevel;
public float recoveryRateReduction;
void Start(){
if (gameObject.tra... |
using System.IO;
using GameLib;
using GameLib.Networking;
using JumpAndRun.Networking;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xna.Framework;
namespace Tests
{
[TestClass]
public class NetworkPackageTest
{
//[TestMethod]
//public void ChunkEncodeDecode()
... |
using System;
using System.Collections;
using DialogSystem.Model;
using ReadyGamerOne.Script;
using UnityEngine;
using UnityEngine.UI;
namespace DialogSystem.View
{
public abstract class AbstractNarratorDialogUI:DialogUnitUI
{
protected bool enbaleGoNext = false;
protected abstract string TextP... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReportingController.cs" company="Eyefinity, Inc.">
// 2013 Eyefinity, Inc.
// </copyright>
// <summary>
// Defines the ReportingController type.
// </summary>
// ------... |
using System;
using System.Collections.Generic;
namespace CloudFile
{
[CustomLuaClass]
public class CloudFileCallbacks
{
private Dictionary<int, List<CloudFileCallback>> m_callbacks;
public void RegisterCallback(int id, CloudFileCallback.ProgressCallback progress_callback, CloudFileCallback.SuccessCallback suc... |
using MySql.Data.MySqlClient;
using ShopBillingApp.BAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ShopBillingApp.DAL
{
class AuthDAL
{
DB Con = new DB();
public bo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessObject;
namespace LinkCloud.Areas.Common.Controllers
{
[AllowAnonymous]
public class QuickURLController : BaseCommonController
{
public ActionResult Index()
{
... |
using System;
namespace Payroll.Models
{
public class VacationEmployee
{
public Guid VacationId { get; set; }
public Vacation Vacation { get; set; }
public Guid EmployeeId { get; set; }
public Employee Employee { get; set; }
}
}
|
using Hastane.BLL;
using Hastane.Entity;
using Hastane.WFA.BaseForm;
using Hastanee.DAL;
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 static Has... |
using System.Collections.Generic;
namespace QuantumMath.Quantum
{
public class Circuit
{
IList<Matrix> _qubits = new List<Matrix>();
Matrix _state;
IList<IDictionary<int, Matrix>> _appliedGates;
}
}
|
using System;
namespace Inheritance
{
public class EmailNotification : Notification
{
public string Recipient { get; set; }
public string SmtpProvider { get; set; }
public EmailNotification(string subject, string body, string recipient, string smtpProvider):base(subject,body)
{
... |
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 MySql.Data.MySqlClient;
using MySql;
namespace Stok_Takip_Otomasyonu
{
public partial class fr... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JabberPoint.Domain.Content.Behaviours
{
/// <summary>
/// composite pattern interface for leaves and composites
/// </summary>
public interface IContentBehaviour
{
/// <summary>
/// the content component t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FighterController : MonoBehaviour
{
public Joystick joystick;
public float speed;
public float FireRate;
[SerializeField] Animator animator;
[SerializeField] Transform firePosition;
Rigidbody rb;
... |
using MKService.Messages;
using MKService.ModelUpdaters;
using MKService.Queries;
using MKService.Updates;
namespace MKService.MessageHandlers
{
internal class DialAddedHandler : ServerMessageHandlerBase<DialAdd, DialQuery, IUpdatableDial>
{
public DialAddedHandler(IModelUpdaterResolver modelUpdaterR... |
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using GitlabManager.Enums;
using GitlabManager.Framework;
using GitlabManager.Model;
using GitlabManager.Services.DI;
using GitlabManager.Utils;
namespace GitlabManager.ViewModel... |
namespace _2.KnightsOfHonor
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var input = Console.ReadLine()
.Split(new char[] {' ', '\n'}, StringSplitOptions.RemoveEmptyE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Items.Extensions
{
public static class Array1DExtensions
{
public static T[] Add<T>(this T[] array, T item)
{
int length = array.Length;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using InputHandlers.Keyboard;
using InputHandlers.Mouse;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace InputHandlers.Sample
{
public class InputHandlersSample : Game
{
private const int... |
using System;
using System.Linq;
using System.Windows.Forms;
namespace DipDemo.Cataloguer.Infrastructure.Presentation.EventBinding.WinForms
{
public class ButtonClickEventBinder : IEventBinder
{
public void Bind(IPresenter presenter)
{
var presenterType = presenter.GetType();
... |
using System.Linq;
using FluentAssertions;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
using OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities;
using Xu... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace CsharpConcepts
{
class Program : BaseClass
{
static void Main(string[] args)
{
string path = SetChoice();
ProceedOnPath(path);
}
private static void ProceedOnPath(string path)... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace cosmetic_hub__e_shopping_system_.Models
{
public class ApplicationUser:IdentityUser
{
}
}
|
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace web_api.Models
{
public class ComputerDetails
{
[Key]
public string Name { get; set; }
public string IpAddress { get; set; }
public int Memory { get; set; }
public string User { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiCatalogoCarro.Exceptions
{
public class CarroJaCadastradoException : Exception
{
public CarroJaCadastradoException()
: base("Este carro já está cadastrado")
{ }
... |
using Grimoire.Tools;
namespace Grimoire.Game.Data
{
public class Skill
{
public enum SkillType
{
Normal,
Safe
}
public string Text { get; set; }
public SkillType Type { get; set; }
public string Index { get; set; }
public int Sa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL_DAL
{
public class SanPham_BLL_DAL
{
DataClasses1DataContext qlsp = new DataClasses1DataContext();
// tim san pham
public List<SANPHAM> searchSP(string ten... |
using UnityEngine;
public class Recipe : MonoBehaviour
{
enum IngredientUnit { Teaspoon, Tablespoon, Cup, Bowl, Piece }
[System.Serializable]
public class Ingredient
{
[SerializeField]
private string name;
[SerializeField]
private int amount;
[SerializeField]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Deployer2._0.Models
{
public static class VMs
{
public static List<VirtualMachineModel> GetVMs()
{
//var ctx = new VMEntities();
return null;
}
}
} |
using System;
namespace PaderbornUniversity.SILab.Hip.EventSourcing.Events
{
public static class PropertyChangedEventExtensions
{
/// <summary>
/// Sets the property of the object (if it exists) to the value of the event
/// </summary>
public static void ApplyTo(this Pr... |
namespace DB
{
public partial class Patient
{
public const string MAN = "Мужской"; // пол - мужской
public const string WOMAN = "Женский"; // пол - женский
private string firstName = null; // Имя
private string lastName = null; // Фамилия
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
public class TravelGrantRecordDto
{
public int ID
{
get;
set;
}
/// <summary>
/// 运营商户号
//... |
using KnapsackProblem.Common;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace KnapsackProblem.ConstructiveVersion.Strategies
{
public class ConstructiveFPTAS : ConstructiveStrategy
{
public override void FreeAll()
{
}
private Con... |
using System;
using iQuest.VendingMachine.PresentationLayer.Views.Interfaces;
using iQuest.VendingMachine.UseCases.Interfaces;
using DataAccess.Repositories.Interfaces;
using System.Linq;
using System.Runtime.CompilerServices;
namespace iQuest.VendingMachine.UseCases.UseCaseList
{
internal class ManageMachineUseC... |
using System;
using System.IO;
using System.Collections.Generic;
namespace NewReadAndWrite
{
public class ReadAndWrite
{
public List<string> names = new List<string>();
public void WriteToFile()
{
Console.WriteLine("\t Enter a name you want to add: ");
string nam... |
using System.Collections.Generic;
using UnityEngine;
//////////////////////////////////////////////////////////////////
//Created by: Daniel McCluskey
//Project: CT6018 - Tower Defence
//Script Purpose: This script chooses which actions to use, when to use them and chooses a path of actions to reach an ultimate... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Cassandra;
using Faux.Banque.Domain.Storage;
namespace Faux.Banque.Domain.Tests
{
[TestClass]
public class CassandraSetupTests
{
ICluster cluster;
CassandraEnvironment environment;
[TestInitialize]
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Master.Contract;... |
namespace TipsAndTricksLibrary.Tests.LanguageDepths
{
using System;
using System.Linq;
using Xunit;
public class FunctionsEqualityTests
{
private int EvenNumbersHandler(int value) => value;
private int OddNumbersHandler(int value) => value + 1;
private Func<int, int> GetH... |
using Android.OS;
using Android.Runtime;
using Android.Views;
using MvvmCross.Binding.Droid.BindingContext;
using MvvmCross.Droid.Shared.Attributes;
using MvvmCross.Droid.Support.V4;
using Tekstomania.Mobile.Core.ViewModels;
namespace Tekstomania.Mobile.Droid.Fragments
{
[MvxFragment(typeof(SongViewModel), Resource... |
using DevExpress.XtraBars;
using DevExpress.XtraBars.Localization;
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraGrid;
using DevExpress.XtraGrid.Columns;
using DevExpress.XtraGrid.Localization;
using DevExpress.XtraGrid.Views.Base;
using Dev... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonSaleTow : MonoBehaviour {
[SerializeField]
RefOnTower refOnTower;
[SerializeField]
MoneyController moneyController;
const int COEFFICIENT = 2; // how much less money for the sale than for t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Raycast : MonoBehaviour
{
public bool collision;
private float positionX;
private float positionY;
public float gravity;
public float vX;
public float vY;
public void FixedUpdate()
... |
using System;
public class Program
{
public static void Main()
{
double cubeSide = double.Parse(Console.ReadLine());
string parameter = Console.ReadLine();
double result = GetParameter(cubeSide, parameter);
Console.WriteLine("{0:f2}", result);
}
public static double ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JumpCounterScript : MonoBehaviour
{
public float placementWidth = 1.0f;
public float placementHeight = 0.5f;
public float lerpSpeedMultiplier = 20.0f;
public GameObject counterObjectPrefab;
public GameObjec... |
using System;
namespace RefactoringApp.OrganizingData.EncapsulateField
{
class EncapsulateField
{
public void GetFieldValue()
{
var product = new Product
{
Name = "test"
};
Console.WriteLine(product.Name);
}
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.