text stringlengths 13 6.01M |
|---|
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace CanYouCount
{
public class MainMenuScreen : BaseScreen
{
[SerializeField]
private Button _playButton = null;
[SerializeField]
private Button _leaderboardButton = null;
[SerializeField]
private Button _quitButton = null;
[SerializeField... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.IO;
using OpenStack.Swift;
namespace Rackspace.Cloudfiles.Depricated
{
[Obsolete]
public class Connection
{
public const string US_AUTH_URL = "https://auth.api.rackspacecloud.com/v1.0";
public c... |
namespace Cogito.Kademlia
{
public class KNodePingResponse : KNodeResponse
{
/// <summary>
/// Initializes a new instance.
/// </summary>
/// <param name="status"></param>
public KNodePingResponse(KNodeResponseStatus status) :
base(status)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Android.Support.V7.Widget;
using Android.Views;
namespace DartsTracker
{
public class MainRecViewAdapter : RecyclerView.Adapter
{
public List<string> ItemList { get; set; }
public event EventHandler<string> ItemClick;
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace mokiniu_sistema.Models
{
public class MokiniuContext : DbContext
{
public DbSet<Mokykla> Mokyklos { get; set; }
public DbSet<Rajonas> Rajonai { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using Binding;
using DomainModel.BusinessObjects;
namespace SimpleBinding
{
[Serializable]
public class AddressViewModel : INotifyPropertyChanged
{
#region Properties
pri... |
using Castle.Core.Internal;
namespace Athena.Import.Extractors {
public class StoragePlaceCommentExtractor {
public static string Extract(string text) {
if (text.IsNullOrEmpty()) {
return null;
}
return text.Trim();
}
}
} |
using SGA.Models;
using System.Data.Entity.ModelConfiguration;
namespace SGA.EntitiesConfig
{
public class EmentaConfig : EntityTypeConfiguration<Ementa>
{
public EmentaConfig()
{
HasKey(t => t.EmentaId);
Property(t => t.Descricao).HasMaxLength(500);
Propert... |
using System;
using System.Collections.Generic;
/*Write a program that finds the maximal sequence of equal elements in an array.
Example:
input | result
2, 1, 1, 2, 3, 3, 2, 2, 2, 1 | 2, 2, 2*/
class Program
{
static void Main()
{
Console.WriteLine("... |
using System;
using System.Collections.Generic;
//using Microsoft.Commerce.Tools.Test.BizOpsTools.Common.BatchTool;
//using Microsoft.Commerce.Tools.Test.BizOpsTools.Common.Helper;
//using Microsoft.Commerce.Tools.Test.BizOpsTools.TestDataGenerator.Transports;
using Microsoft.Subscriptions.Schema;
using MintBilling = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LunarTrader.Enums
{
public enum LogLevel
{
Off,
Trace,
Debug,
Info,
Warn,
Error,
Fatal
}
public enum LogType
{
... |
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 BLL_DAL;
namespace QLNHAHANG
{
public partial class Form1 : Form
{
Login_BLL_DAL lo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ws_seta.Models
{
public class CondicaoPagamento
{
public string codigo { get; set; }
public string descricao { get; set; }
public int parcelas { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Payroll.Models
{
public class Department : Basic
{
[Display(ResourceType = typeof(Resource), Name = "Company")]
public Guid CompanyId { get... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace POS_SYSTEM
{
public partial class UpdateSupplier : Form
{
public UpdateSupplie... |
using Npgsql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ws_seta.Models;
using ws_seta.Util;
namespace ws_seta.Eao
{
public class PedidoEao
{
const string sql_insert_cliente = "insert into pessoas(codigo, nome, apelido, pessoa, cep, endereco, "
... |
using BPiaoBao.Common.Enums;
using BPiaoBao.DomesticTicket.Platform.Plugin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Models.Orders.Behaviors
{
/// <summary>
/// 接口平台取消出票 通知
/// </summary>
[Behavior("PlatformCancelTic... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AuditInfo.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------... |
using JoveZhao.Framework.DDD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Models.Orders
{
/// <summary>
/// 订单日志
/// </summary>
public class OrderLog : EntityBase
{
/// <summary>
/// 编号
/// <... |
using System.IO;
using System.Runtime.Serialization.Json;
namespace Semon.Yahtzee.Rules.Partials
{
public static class PartialRuleExtensions
{
public static string Serialize(this IPartialRule rule)
{
var serializer = new DataContractJsonSerializer(rule.GetType());
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebMarket.Models.Response
{
public class Response
{
public int Code { get; set; }
public string Message { get; set; }
public Response()
{
Code = 0;
}
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Entity;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FittSoft
{
public partial class FormWorkoutSession : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PayRoll.BLL;
using NUnit.Framework;
namespace PayRoll.UnitTest.BLL
{
[TestFixture]
public class ChangeNameTransactionTest:SetUpInmemoryDb
{
[Test]
public void ExecuteTest()
{
/... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Web;
using System.Web.Hosting;
namespace Ws2008.WEB.tools
{
/// <summary>
/// upload 的摘要说明
/// </summary>
public class upload : IHttpHandler
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyAttack : MonoBehaviour
{
public float startTimeBtwAttack;
public float attackRange;
public LayerMask whatIsPlayer;
private float timeBtwAttack;
private GameObject player;
private EnemyBehavior en... |
namespace Students
{
using System;
using System.Text;
class Student
{
public Student(string fName, string lName, int age)
{
this.FirstName = fName;
this.LastName = lName;
this.Age = age;
}
public int Age { get; set; }
public... |
using FluentAssertions;
using NUnit.Framework;
namespace Example.Tests
{
public class BuildingMetricsValidatorTests
{
protected IBuildingMetricsValidator SystemUnderTest { get; set; }
[SetUp]
public void Setup()
{
SystemUnderTest = new BuildingMetricsValidator();
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UIDragDropContainer : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int get_reparentTarget(IntPtr l)
{
int result;
try
{
UIDragDropContainer uIDragDropContainer = (UIDragDropContainer)LuaObject.checkS... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class Attack_NumbersPop : MonoBehaviour
{
//=======================| Variables |====================================
const float duration = 1.0f;
const float maxX = 20.0f;
const float maxY = 60.0f;
[SerializeField] Tran... |
using System;
using Alpaca.Markets;
using Microsoft.Extensions.DependencyInjection;
using LunarTrader.Attributes;
using LunarTrader.Interfaces;
namespace LunarTrader.Services
{
public class AccountService : IAccountService
{
public AccountService(ILoggerService logger, IAlpacaTradingClient tradingClie... |
using System;
using System.Collections.Generic;
using System.Linq;
using QUnit;
using System.Text.RegularExpressions;
namespace Linq.TestScript {
[TestFixture]
public class ConvertTests {
[Test]
public void ToArrayWorksFromLinqJSEnumerable() {
Assert.AreEqual(new[] { 1, 2, 3 }.Select(i => i * i).ToArray(), n... |
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.Net;
using System.Net.Sockets;
namespace control_panel
{
public partial class control_p... |
using UnityEngine;
using System.Collections;
public class Villager : MonoBehaviour {
GameState state;
EventReceiver eventReceiver;
// Use this for initialization
void Start () {
state = GameObject.FindObjectOfType<GameState>();
eventReceiver = GameObject.FindObjectOfType<EventReceiver>()... |
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace alone
{
internal class SaveGameEditor3 : SaveGameEditor2
{
public SaveGameEditor3([NotNull] Dictionary<Option, string> options) : base(options)
{
offsets = new []
{
ne... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Micro.Net.Abstractions;
using Micro.Net.Dispatch;
namespace Micro.Net.Transport.Generic
{
public abstract class GenericDispatcherBase : IDispatcher, IStartable, IStoppable
{
/// <summary>
... |
using System.Collections;
using UnityEngine;
public class UFOControl : MonoBehaviour
{
// Use this for class variables.
public GameObject theLargeUFO;
public GameObject theSmallUFO;
public int wave;
private GameObject spawnedUFO;
private float spawnTimer;
private float spawnWait;
pub... |
using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using QuantConnect;
using QuantConnect.Configuration;
using QuantConnect.Interfaces;
using QuantConnect.Logging;
using QuantConnect.Packets;
using QuantConnect.Python;
using QuantConnect.Queues;
namespace LeanBatchLauncher.Launc... |
using SnakeGameConsole.Services;
using SnakeGameConsole.Interfaces;
using Microsoft.Extensions.DependencyInjection;
namespace SnakeGameConsole
{
public class DependencyInjection
{
public static ServiceProvider Setup() =>
new ServiceCollection()
.AddSingleton<IGameService, GameS... |
using System;
using System.Collections.Generic;
namespace Tavisca.Bootcamp.LanguageBasics.Exercise1
{
public static class Program
{
static void Main(string[] args)
{
Test(new[] {"12:12:12"}, new [] { "few seconds ago" }, "12:12:12");
Test(new[] { "23:23:23", "23:23:23" },... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PaintingCost.Entities;
namespace PaintingCost.SeedDb
{
public interface ISeedDb
{
ProjectType[] GetProjectTypes();
Sector[] GetSectors();
Product[] GetProducts();
ProjectTy... |
using OmniSharp.Extensions.JsonRpc.Generation;
namespace OmniSharp.Extensions.DebugAdapter.Protocol.Models
{
[StringEnum]
public readonly partial struct PathFormat
{
public static PathFormat Path { get; } = new PathFormat("path");
public static PathFormat Uri { get; } = new PathFormat("uri"... |
namespace Bomberman.Api
{
public struct MoveProbability
{
public double KeepDirection { get; set; }
public double TurnLeft { get; set; }
public double TurnRight { get; set; }
public double Stop { get; set; }
public double Reverse { get; set; }
public MoveProbabi... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Web.Security;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.Sq... |
/**
*┌──────────────────────────────────────────────────────────────┐
*│ 描 述:
*│ 作 者:zhujun
*│ 版 本:1.0 模板代码自动生成
*│ 创建时间:2019-05-23 16:43:42 ... |
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
var inputList = Console.ReadLine().Split().Select(int.Parse).ToList();
while (true)
{
var command = Console.ReadLine().Split().ToList();
if (c... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domen
{
public interface IEntity
{
string TableName { get; }
string InsertValues { get; set; }
string SelectWhere { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Kers.Models.Contexts;
using Kers.Models.Entities.KERScore;
using Kers.Models.Repositories;
using Kers.Models.ViewModels;
using Microsoft.Extensions.Caching.Distributed;
using Mic... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RecuperacionParcial
{
public abstract class LineaAbstracta<T> : ILinea<T>
{
public abstract T[] Punto { get; }
public double Longitud() {
double longitud = 0;
// si no hay ningun punto en el a... |
// <copyright file="DoublyLinkedListNodeTTest.cs"></copyright>
using System;
using Dsa.DataStructures;
using Microsoft.Pex.Framework;
using Microsoft.Pex.Framework.Validation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dsa.DataStructures
{
[PexClass(typeof(DoublyLinkedListNode<>))]
//[PexAll... |
using SQLite;
namespace DartsTracker.Models
{
public class Throw
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public int PlayerId { get; set;}
public int GameId { get; set; }
public byte First { get; set; }
public byte Second { get; set; }
p... |
using EmployeeConsoleApp.Repository;
using System;
namespace EmployeeConsoleApp
{
class Program
{
static void Main(string[] args)
{
EmployeeRepository employeeRepository = new EmployeeRepository();
employeeRepository.AddEmployee();
}
}
}
|
// ----------------------------------------------------------------------------------------------------------------------------------------
// <copyright file="TimeSpanSurrogate.cs" company="David Eiwen">
// Copyright © 2016 by David Eiwen
// </copyright>
// <author>David Eiwen</author>
// <summary>
// This file conta... |
using System;
using System.Collections;
namespace Aut.Lab.Lab11
{
public class Powtwo
{
private int newnum = 0;
Stack mystack = new Stack();
public Powtwo(int num)
{
newnum = num;
if(newnum == 0)
{
mystack.Push(0);
}
}
... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Media;
using HandyControl.Data;
namespace HandyControl.Controls
{
[TemplatePart(Name = PreviewContentKey, Type = typeof(ContentControl))]
[TemplatePart... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AgentStoryComponents.core;
namespace AgentStoryComponents.commands
{
public class cmdDisplayGameController : ICommand
{
public MacroEnvelope execute(Macro macro)
{
string... |
// TestScope.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2012 sshaw
using System;
using Compiler.Parser;
using NUnit.Framework;
namespace CompilerTests
{
[TestFixture]
public class TestOf_ScopeManagerTests
{
ScopeManager sm;
[Test]
public void ScopeManagerDefaultValuesTest... |
// Author(s): Aaron Holloway
// Fall 2018
// Last Modified: 11/18/2018
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Monitors Keyboard Events and resulting behavior.
public class KeyboardInputManager : MonoBehaviour {
public DirectRCControl_TCP rc;
void Update () {
// As Up... |
using Discovery.Core.Model;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Text;
namespace Discovery.Core.Models
{
public class PostComment : BindableBase
{
/// <summary>
/// 评论 ID
/// </summary>
private int _id;
public int ID
{
... |
using filter.framework.utility.XPort;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace filter.data.model
{
public class ExportShopsModel
{
[ExcelColumnName(ColumnName = "店铺名")]
public string Name { get; set; }
... |
using System;
namespace IMDB.Api.Models.ResponseDto
{
public class User : BaseModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using static Conditions;
public class ItemHover : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public Item item;
public int id;
public bool condition1;
public bool condition2;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using X360.STFS;
using System.Text.RegularExpressions;
using RocksmithToolkitLib.Extensions;
using RocksmithToolkitLib.DLCPackage.Manifest.Tone;
using RocksmithToolkitLib.DLCPackage.Manifest;
using RocksmithToolkitLib.PSARC;
using Syste... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Degree.Models;
using Degree.Services.Social.Twitter.TweetAuth;
using Degree.Services.Utils;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Linq;
namespace Degree.Services... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WF.SDK.Fax;
using WF.SDK.Models;
namespace WF.SDK.Fax
{
public static class FaxInterface
{
//Pass through the value on the Raw Interface
public static string RestUrlTemplate
{
get { return ... |
using System.Windows.Forms;
using ObjetoTransferencia;
namespace Apresentacao
{
public partial class FrmCadastrar : Form
{
private void HablilitarEdicao(AcaoNaTela acaoNaTela)
{
this.textBoxNome.ReadOnly = (acaoNaTela == AcaoNaTela.Consultar);
this.textBoxNome.TabStop =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace T1
{
class Program
{
static void Main(string[] args)
{
Elevator elevator = new Elevator();
do
{
Console.WriteLine("... |
using Microsoft.Practices.Unity;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using bringpro.Web.Domain;
using bringpro.Web.Enums;
using bringpro.Web.Models.Requests;
using bringpro.Web.Models.Requests.Users;
using bringpro.Web.Models.Responses;
using bringpro.Web.Services;
using bringpro.Web.Services.Interfaces;... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Configuration;
namespace solution1
{
public partial class FormPortique : Form
{
string connectionString =... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Incubator
{
class CBot
{
public const int MAX_DNA_SIZE = 64;
public BotType Type;
public List<DnaCommands> DNA;
public int CurrentCommand;
public int XCoord;
public int YCoord;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Users.DB;
using Microsoft.EntityFrameworkCore;
namespace Users.Core
{
public class UsersServices : IUsersServices
{
public UsersServices(AppDbContext context)
{
_context = context;
}
private ... |
using System;
using System.Collections.Generic;
namespace UnitOfWorkRuleSpecificationRepository.Models
{
public class RuleSpecification
{
public int RuleSpecificationId { get; set; }
public string RuleSpecificationName { get; set; }
public string DefaultValue { get; set; }
publi... |
using Microsoft.Xna.Framework.Content.Pipeline;
using MonoGame.Extended.Content.Pipeline.Json;
namespace MonoGame.Extended.Content.Pipeline.SpriteFactory
{
[ContentImporter(".sf", DefaultProcessor = nameof(SpriteFactoryContentProcessor), DisplayName = "Sprite Factory Importer - MonoGame.Extended")]
public cla... |
namespace SIPCA.CLASES.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class prodEnDetallePedido : DbMigration
{
public override void Up()
{
AddColumn("dbo.DetallePedido", "ProductoId", c => c.Int(nullable: false));
CreateIndex(... |
using System;
using System.Collections.Generic;
using DryRunTempBackend.API.Proxies;
using Microsoft.AspNetCore.Mvc;
namespace DryRunTempBackend.API.Controllers
{
[Route("api/Questions")]
public class QuestionsController : Controller
{
[HttpGet]
public ObjectResult Get()
{
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
[Attribute38("WeaponSocketDecoration")]
public class WeaponSocketDecoration : MonoBehaviour
{
public WeaponSocketDecoration(IntPtr address) : this(address, "WeaponSocketDecoratio... |
using UnityEngine;
public class CameraManager : MonoBehaviour {
private EnemyManager _enemyManager = null;
private void Start () {
_enemyManager = GameObject.Find ("EnemyManager").GetComponent <EnemyManager> ();
}
public void GoToUp () {
transform.position += new Vector3(0f, 750f, 0f);
_enemy... |
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 TreeNodeAndWebbrowser
{
public partial class Form2 : Form
{
Pers... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
//JaJuan Webster
//Professor Cascioli
//Spaceship!
namespace Webster_HW_Project1_Spaceship
{
class Background
{
public void DrawBackground(SpriteBatch spriteBatch, Texture2D texture, Vector2 vector, Color color)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PDV.DAO.Entidades
{
public class Recibo
{
public string Pessoa { get; set; }
public string PessoaEndereco { get; set; }
public string Referente { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank_HomeCode
{
public class AppendDelete
{
public void IsPossible()
{
//first string
string s = Console.ReadLine();
//second string
string t = Console.ReadLine();... |
using System;
namespace Rinsen.IdentityProvider.ExternalApplications
{
public class ExternalSession
{
public int Id { get; set; }
public Guid CorrelationId { get; set; }
public Guid IdentityId { get; set; }
public Guid ExternalApplicationId { get; set; }
public DateTime... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SweetCounter : MonoBehaviour {
[SerializeField]
private AudioSource SweetSound;
[SerializeField]
private SoundManager theSoundManager;
[SerializeField]
private Text _sweetText;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace E_Learning.Models
{
public class Odgovor
{
[Key]
public int Id { get; set; }
public bool JeLiTacno { get; set; }
public int P... |
using System;
using System.Collections.Generic;
using Fluid;
namespace FlipLeaf.Core.Text.FluidLiquid
{
internal class IgnoreCaseMemberAccessStrategy : IMemberAccessStrategy
{
private Dictionary<string, IMemberAccessor> _map = new Dictionary<string, IMemberAccessor>(StringComparer.OrdinalIgnoreCase);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HoldingObjects : MonoBehaviour
{
public string inputFieldPlayerString;
public string playerTwoName;
private void Update()
{
DontDestroyOnLoad(this.gameObject);
}
}
|
using System;
namespace PiPlateRelay
{
public class PiRelayException : Exception
{
public PiRelayException(string message) : base(message)
{
}
}
}
|
using DDDSouthWest.IdentityServer.Framework;
using IdentityServer4.Services;
using IdentityServer4.Validation;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
usin... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestingExample.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace TestingExample.Models.Tests
{
[TestClass()]
public class SimpleGameTests
{
[TestMethod()]
[DataRow(0)]
[DataRow(300)]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class MyNetworkManager : NetworkManager {
public void MyStartHost(){
Debug.Log ("Starting Host at " + Time.timeSinceLevelLoad);
StartHost ();
}
public override void OnStartHost(){
base.OnS... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Tff.Panzer.Models.Geography;
namespace Tff.Pan... |
// Copyright 2021 Google Inc. All Rights Reserved.
//
// 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 applica... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pitstop
{
public class OutlineCrystal : MonoBehaviour
{
//My Components
Renderer myRenderer;
//Serializable
[SerializeField] Color color = default;
[SerializeField] Sc... |
using UnityEngine;
public class GameAchivementData
{
public GameAchivementData(Json_GameData data)
{
gameData = data;
}
Json_GameData gameData;
public int MonsterKill
{
get => gameData.monsterKill;
set
{
gameData.monsterKill = value;
... |
using System.Collections.Generic;
namespace SprintFour.Triggers
{
public static class LevelTriggers
{
public static List<ITrigger> TriggerList;
static LevelTriggers() {
TriggerList = new List<ITrigger>();
}
public static void Update() {
foreach (ITr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Enemy Wave Config")]
public class WaveConfig : ScriptableObject {
[SerializeField] GameObject enemyPrefab;
[SerializeField] GameObject pathPrefab;
[SerializeField] float timeBetweenSpawns = 0.5f;
[Serializ... |
using Events.Web.Helpers;
using Events.Web.Mappers;
using Events.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Threading.Tasks;
namespace Events.Web.Controllers
{
public class EventsController : BaseController
{
//
... |
using System;
using Microsoft.Practices.Prism;
using Microsoft.Practices.Prism.ViewModel;
namespace Torshify.Radio.Framework
{
public class SearchBar : NotificationObject
{
#region Fields
public const string IsFromSearchBarParameter = "IsFromSearchBar";
public const string ValueParame... |
using AutoMapper;
using L7.Domain;
namespace L7.Business
{
public class ShoppingCartMapping : Profile
{
public ShoppingCartMapping()
{
CreateMap<ShoppingCart, ShoppingCartModel>();
}
}
} |
namespace DownloadExtractLib.Interfaces
{
public interface IDownload
{
void FetchHtml(string downloadUrl, string fileName = null);
}
}
|
using System;
using UnityEngine;
using UnityEngine.Events;
using Valve.VR.InteractionSystem;
namespace codepa
{
[RequireComponent(typeof(Interactable))]
public class VRJoystick : MonoBehaviour
{
[Serializable] class ValueEvent : UnityEvent<Vector2> { }
[SerializeField] Transform pivotPoint;
[Space]
[Seria... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.