text stringlengths 13 6.01M |
|---|
using System;
using System.Linq;
using System.Collections;
using System.Web;
using System.Web.Caching;
using System.Collections.Generic;
namespace ShCore.Caching.CacheProvider
{
/// <summary>
/// WebCacheProvider
/// </summary>
public class WebCacheProvider : ICacheProvider
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Library.DomainModels;
using Library.Services.Interface;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Library.API.Controllers
{
[Route("api/... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using Besnik.Domain.EntityFramework;
namespace Besnik.GenericRepository.Tests.Mocks.EntityFramework
{
class EntityFrameworkCustomerDbContext : DbContext
{
public EntityFrameworkCustomerDbCon... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ConsultingManager.Infra.Migrations
{
public partial class contentcolumnfix : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "Order",
... |
using System;
using System.Collections.Generic;
using MusicCatalogue.Data.Repositories;
using MusicCatalogue.Model;
namespace MusicCatalogue.Data
{
public class MusicCatalogueData : IMusicCatalogueData
{
private IMusicCatalogueDbContext dbContext;
private IDictionary<Type, object> repositories... |
/* GUI 건드릴 부분
1020_Main.cs
1. Button에서 Main Scene을 등록한후 거기에서 OnButtonConnect()와 연결하기.
2. InputField클릭이 잘안될때 Text크기가 너무커서 그런것! (Width 60, 가운데 정렬 맞춰주기)
3. Male, Female 복붙후 -> Male/Materials/ hair double sided로 해주기
1023_Main.cs
1. 빈 게임오브젝트와 그이름을 생성하기
2. myAvatar 객체를 선언하고
3. 빈 게임오브젝트에 A... |
using System;
namespace AOC19
{
class Aoc04 : AocBase
{
public Aoc04(string filepath) : base(filepath)
{
}
public override string PartA(string[] inputs)
{
int start = int.Parse(inputs[0].Split('-')[0]);
int stop = int.Parse(inputs[0].Split('-')[1... |
using System;
using System.Collections.Generic;
namespace ImmedisHCM.Services.Models.Core
{
public class CountryServiceModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public string ShortName { get; set; }
public IList<CityServiceModel> Cities { get; set; }... |
using System;
namespace Enrollment.Data.Entities
{
public class LookUps : BaseDataClass
{
public int LookUpsID { get; set; }
public string Text { get; set; }
public string ListName { get; set; }
public string Value { get; set; }
public double? NumericValue { get; se... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WebApiConfig.cs" company="Eyefinity, Inc.">
// 2013 Eyefinity, Inc.
// </copyright>
// <summary>
// Defines the WebApiConfig type.
// </summary>
// --------------------... |
using System.Threading.Tasks;
using Newtonsoft.Json;
using Xunit;
using System.Collections.Generic;
using WebAPIApplication;
namespace UnitTest
{
public class PessoasControllerIntegrationTest : BaseIntegrationTest
{
private const string BaseUrl = "/api/pessoas";
public PessoasControllerIntegrat... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpiraQuery
{
public class GetTestCases
{
private const string EnterProjectPrompt = "Enter The Project Name Or A Few Char... |
using Android.Support.V4.App;
using Java.Lang;
using Fragment = Android.Support.V4.App.Fragment;
using FragmentManager = Android.Support.V4.App.FragmentManager;
namespace DartsTracker.Adapters
{
class TabsFragmentAdapter : FragmentStatePagerAdapter
{
private string[] Titles;
private string gr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FinalProject.Data
{
public class UserUniversity
{
public User User { get; set; }
public string UserId { get; set; }
public University University { get; set; }
public int U... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Enemigo : MonoBehaviour
{
[SerializeField] Slider barraVida;
[SerializeField] float vidaMax;
private float vida;
private void Start()
{
vida = vidaMax;
}
public void ... |
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Document;
namespace OmniSharp.Extensions.LanguageServer.Protocol
{
public interface ILanguageProtocolRpcOptions<T> : IJsonRpcHandlerRegistry<T>, IJsonRpcServerOptions
where T : ILanguageProtocolRpcOptions<T>
{
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_ApplicationInstallMode : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.ApplicationInstallMode");
LuaObject.addMember(l, 0, "Unknown");
LuaObject.addMember(l, 1, "Store");
LuaObject.addMember(l, ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PlayerMoviments;
public class LoadSystem : MonoBehaviour
{
public PlayerArchitecture player;
public void Load () {
player.GetLoad();
}
}
|
using LibraryWebApp.Entities;
using LibraryWebApp.Services;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.... |
using Application.Data.Models;
using Application.Models;
using Profile = AutoMapper.Profile;
/**
*
* name : AutomapperProfile.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Frameworks
{
public class AutomapperProfile : AutoMapper.Profile
{
... |
using System;
namespace SealedClass
{
/// <summary>
/// circle is sealed class it cannot be inherited
/// </summary>
public sealed class Circle : Shape
{
public sealed override void Draw()
{
Console.WriteLine("Cicle is drawing");
}
}
}
|
namespace GameLib.Quest
{
public interface IQuestRequirement
{
string Name { get; }
bool IsDone();
}
} |
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using System.Windows;
using System.Windows.Input;
using MusicPlayer.Core.Models;
namespace MusicPlayer.ViewModels.Interfaces
{
public interface INavigationViewModel
{
ICommand SongsCommand { get; }
ICommand PlaylistsCom... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Admin.Models
{
public class UploadView
{
public bool Success { get; set; }
public string UploadedFilePath { get; set; }
public string ErrorMessage { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class Explosion : MonoBehaviour {
private ParticleSystem ps;
// Use this for initialization
void Start (){
Destroy (gameObject, GetComponent<ParticleSystem> ().duration);
}
}
|
#if TEST
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEngine.SceneManagement;
namespace Tests
{
public class Player
{
[SetUp]
public void Init()
{
SceneManager.LoadScene("Sample... |
namespace RealEstate.Services.Data
{
using System;
using System.Linq;
using Contracts;
using RealEstate.Data.Models;
using RealEstate.Data.Repositories;
public class CommentService : ICommentService
{
private readonly IRepository<Comment> comments;
private readonly IRealEs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HardwareInventoryManager.Repository;
using HardwareInventoryManager.Models;
namespace HardwareInventoryManager.Helpers.Messaging
{
/// <summary>
/// This class does not send an email, it only logs the email to the datab... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IES.Resource.Model
{
public class ExerciseAnswerInfo
{
public ExerciseAnswerInfo()
{
//this.ExerciseAnswers = new List<ExerciseAnswer>();
}
... |
using System;
using Foundation;
using UIKit;
using MvvmCross.Binding.iOS.Views;
using MvvmCross.Binding.BindingContext;
using TwoWayScroll.iOS.ViewModels;
namespace TwoWayScroll.iOS.Views
{
public partial class TableViewCell : MvxTableViewCell
{
public static readonly NSString Key = new NSString("Tabl... |
//using System;
//using System.Collections.Generic;
//using SharpDX.IO;
//using SharpDX.Multimedia;
//using SharpDX.XAudio2;
//namespace SmileyDx {
// public class WavePlayer : IDisposable {
// private static readonly Lazy<WavePlayer> lazy = new Lazy<WavePlayer>(() => new WavePlayer());
// p... |
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass, RequireComponent(typeof(UIWidget))]
public class CheckUIEventByWidget : MonoBehaviour
{
public UICamera.VectorDelegate onDrag;
public UICamera.VoidDelegate onClick;
private Bounds size;
private Transform point;
private Camera uiCamera;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPFWorkSample.Models
{
public class Car: INotifyPropertyChanged
{
public int Id { get; set; }
public string Manufacture { get; set; }
... |
using System;
using uPLibrary.Networking.M2Mqtt;
using uPLibrary.Networking.M2Mqtt.Messages;
using System.Security.Cryptography.X509Certificates;
using System.IO;
using System.Threading;
using System.Text;
namespace Iotconsumer
{
class Program
{
private static ManualResetEvent manualResetEvent;
... |
// Copyright 2019 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;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
namespace AlunoNotaFinal
{
class Aluno
{
public string Nome;
public double N1, N2, N3;
public double NotaFinal()
{
return N1 + N2 + N3;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Chest : MonoBehaviour
{
bool sanity;
void Start()
{
GameObject player = GameObject.Find("Player") as GameObject;
player.GetComponent <Player>();
}
private void Update()
... |
namespace BPiaoBao.DomesticTicket.EFRepository.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _201409160943 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Ticket",
c => new
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InventoryTrackingSystem.Models;
using InventoryTrackingSystem.ViewModels;
namespace InventoryTrackingSystem.Controllers
{
public class ShoppingCartController : Controller
{
ApplicationDbCon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CardScript : MonoBehaviour
{
public static bool canBeFlipped = true;
[SerializeField]
private int state;
[SerializeField]
private int cardValue;
[SerializeField]
private Sprite... |
/* 14. * Write a program that exchanges bits {p, p+1, …, p+k-1) with bits {q, q+1, …, q+k-1} of given 32-bit unsigned integer. */
using System;
class ExchangeGivenSequenceOfBits
{
static void Main()
{
Console.WriteLine("Please enter your number, length of the sequences, first sequence start position ... |
namespace ShogunOptimizer
{
public enum Element
{
Physical,
Pyro,
Hydro,
Cryo,
Electro,
Anemo,
Geo,
Dendro,
}
} |
// ReSharper disable All
namespace SQLite
{
public enum SqlFieldType
{
Int,
Float,
Text,
Binary,
Long,
Null
}
} |
namespace Plus.HabboHotel.Rooms
{
public enum ItemEffectType
{
None,
Swim,
SwimLow,
SwimHalloween,
IceSkates,
NormalSkates
}
} |
using Net.Buffers;
using Net.Communication.Incoming.Parser;
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Handlers;
namespace PlatformRacing3.Server.Game.Communication.Managers.Consumer;
internal class IncomingClientSessionPacketConsumer<T> : AbstractInco... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(LaserEmitterSimple))]
public class LaserEmmiterSimpleEditor : Editor {
public override void OnInspectorGUI()
{
var script = target as LaserEmitterSimple;
script.projectile ... |
// Copyright 2019 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;
using BanqsoftApi.Domain.Loan.LoanCalculationAlgorithm;
using NUnit.Framework;
namespace BanqsoftApi.DomainTests.Loan.LoanCalculationAlgorithm
{
public class HousingLoanAlgorithmTests
{
public HousingFixedRateLoanAlgorithm _target;
[SetUp]
public void Setup()
{
... |
using System;
using System.Collections.Generic;
namespace _02._Space_Station_Establishment
{
class SpaceStationEstablishment
{
private static char[,] galaxy;
private static int shipRow;
private static int shipCol;
private static List<int[]> blackHoles;
pr... |
using Microsoft.EntityFrameworkCore;
namespace RipplerAccountTest
{
public class ViewDataContex : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer("Data Source=(localdb)\\ProjectsV13;Initial Catalog=RipplesES-Ev... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using Dapper;
using ManagementStocks.Core.Entities;
using ManagementStocks.Core.Interfaces;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using StockManagement.Utils.Qu... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using DataAccessLayer.basis;
using Model.DataEntity;
using Model.Helper;
using Model.InvoiceManagement.ErrorHandle;
using Model.Locale;
using Model.Resource;
using Mod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Mercadeo
{
public interface IProductosDao : IGenericDao<InvProducto>
{
/// <summary>
/// Obtener los productos por clase y marca
/// </summary>
... |
using System.Web;
using System.Web.Optimization;
namespace Heckathon
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptB... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_AudioSettings : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
AudioSettings o = new AudioSettings();
LuaObject.pushValue(l, true);
LuaOb... |
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.Notifications.Api.Types;
using SFA.DAS.Notifications.Api.Core;
using SFA.DAS.Notifications.Api.Orchestrators;
namespace SFA.DAS.Notifications.Api... |
using Espades.Domain.Entities.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Espades.Domain.Entities
{
public class Patrimonio : BaseEntity
{
public string Descricao { get; set; }
public string Situacao { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PlayerInteractionArea : MonoBehaviour
{
public GameObject player;
public DialogueID dialogue;
public class InteractionEvent : UnityEvent<DialogueID> { }
public static InteractionEvent triggerDial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmptyWebApiProject.Models
{
interface IDial800Repository
{
IEnumerable<Dial800_Call> GetAll();
Dial800_Call Get(int id);
Dial800_Call Add(Dial800_Call dial800_c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static List<string> Cadastro(string nome, string sobrenome, string cpf)
{
List<string> Passageiro = new List<string>();
Pass... |
using CadEditor;
using System;
using System.Drawing;
public class Data
{
public OffsetRec getScreensOffset() { return new OffsetRec( 0x1190b, 1 , 52*20); }
public int getScreenWidth() { return 52; }
public int getScreenHeight() { return 20; }
public string getBlocksFilename() ... |
#region License
/***
* Copyright © 2018-2025, 张强 (943620963@qq.com).
*
* 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 r... |
// Copyright 2020 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;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Editing;
namespace Meziantou.Analyzer.Rules;
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MisMarcadores.Data.Entities;
namespace MisMarcadores.Logic
{
public class FixtureGrupos : Fixture
{
private readonly DateTime fechaInicio;
private readonly List<Equipo> equipos;
public FixtureG... |
/*
* 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 appli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Web;
using Utility;
using Uxnet.Web.Properties;
namespace Uxnet.Web.Helper
{
public static partial class ExtensionMethods
{
public static void MailServerPage(this... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Transactions;
using System.Web.Security;
using DotNetOpenAuth.AspNet;
using Microsoft.Web.WebPages.OAuth;
using WebMatrix.WebData;
using RiversideHealthCare.Filters;
using RiversideHealthCare.Models;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PurificationPioneer.Const;
using PurificationPioneer.Global;
using PurificationPioneer.Network.ProtoGen;
using PurificationPioneer.Network.Proxy;
using PurificationPioneer.Scriptable;
using PurificationPioneer.Utility;
using Re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProcessPackages
{
public delegate void InputsForProblem();
class Program
{
static void Main(string[] args)
{
InputsForProblem input = InputsForNetworkPacket... |
using System;
using OpenCookly.Entities;
namespace OpenCookly.Modules.Core.Entities
{
public class Tag : BaseEntity
{
public virtual string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
namespace Nesne
{
class Ogrenci
{
string _ad;
string _soyad;
string _no;
List<Ders> Dersler = new List<Ders>();
public string Ad
{
get
{
return _ad;
}
... |
using System;
using System.Runtime.InteropServices;
using size_t = System.UInt64;
using MagickSizeType = System.UInt64;
using MagickBooleanType = System.Boolean;
using Quantum = System.UInt16;
namespace MagickSharp
{
public static partial class ImageMagick
{
/*****************************************... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LePapeo.Models
{
public class AdminViewModel
{
[ScaffoldColumn(false)]
public int id { get; set; }
[Display(Prompt = "Email del usuario", Descrip... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
namespace PIT_Server
{
public static class Lobby
{
public static ConcurrentDictionary<Spaceport, object> SpacePorts = new ConcurrentDictionary<Spaceport, object>();
public... |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using DinoDiner.Menu;
namespace MenuTest.Drinks
{
public class JurassicJavaTest
{
//The correct default price, calories, ice, size, and SpaceForCream properties.
[Fact]
public void ShouldHaveCorrectDefault... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alpaca.Markets;
using LunarTrader.Enums;
namespace LunarTrader.Interfaces
{
public interface ILoggerService
{
static ILoggerService Instance { get; }
List<LogLevel> LogLeve... |
using System;
using System.Collections.Generic;
using System.DirectoryServices.Protocols;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
namespace AdIntegration.AD
{
public class AdAttribute
{
public AdAttribute(DirectoryAttribute attribute)
... |
//using Peppy.SqlSugarCore;
//using Peppy.SqlSugarCore.Repositories;
using Peppy.EntityFrameworkCore;
using Peppy.EntityFrameworkCore.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sample.WebApi.Repositories
{
public class PersonPepository ... |
using System;
namespace Applications.Service.Contract
{
public class Class1
{
}
}
|
using System.Net.Http;
namespace SeventhServices.QQRobot.Client.Interface
{
public class IMyPcQQClient : HttpClient
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaterWish : MonoBehaviour
{
public void ChangeWater(int val)
{
if (val == 0)
{
gameObject.GetComponent<Renderer>().sharedMaterial.SetColor("_horizonColor", Color.blue);
}
if... |
using System.Collections.Generic;
using System.Linq;
using Faust.PetShopApp.Core.Models;
using Faust.PetShopApp.Domain.IRepositories;
using Faust.PetShopApp.Infrastructure.Entities;
namespace Faust.PetShopApp.Infrastructure.RepositoriesEF
{
public class RoleRepositoryEF : IRoleRepository
{
public PetA... |
using System.Xml.Serialization;
namespace StratCorp.CorpSMS.Entities
{
public class ShortCodeSettingsEntity
{
[XmlElement("id")]
public long LatestId { get; set; }
[XmlElement("date_format")]
public string DateFormat { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawner : MonoBehaviour {
[SerializeField]
GameObject dumbEnemyPrefab;
[SerializeField]
GameObject smartEnemyPrefab;
[SerializeField]
GameObject shootingEnemy;
private readonly int START_ENEM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VideoAppModels
{
public partial class VideoFeeds
{
public int Id { get; set; }
public string VideoTitle { get; set; }
public string VideoUrl { get; set; }
}... |
using System;
using Templates.Framework;
namespace Templates
{
public class TemplateVariable : IVariable
{
public static IVariable Guid_Empty = new TemplateVariable(TemplateVariableType.Guid, "Guid.Empty");
protected string instanceName;
protected string instanceNameReference;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum MovingPlatformDirection { Up, Down, Right, Left }
public class MovingPlatform : MonoBehaviour
{
[SerializeField] private float speed = 7f;
[SerializeField] private MovingPlatformDirection orientation = MovingPlatformDir... |
using Godot;
using System;
public class EnemyFire : Enemy
{
[Export]
public string bulletPath = "res://Scenes/Enemies/FireTypes/BulletEnemy.tscn";
[Export]
public float fireOffset = 0.1f;
private Node2D fireNode;
private Timer fireTimer;
private RandomNumberGenerator random;
private bo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaceBookQuestions
{
public class _008_Function
{
/*
* Write the following function
double solveForX(string s) { }
input wil... |
using UIKit;
namespace Points.iOS.Extensions
{
public static class NavagationBarExtensions
{
public static void MakeNavBarTransparent(this UINavigationBar navBar)
{
navBar.Translucent = true;
navBar.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);
nav... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NonBlockingCSharp.AtomicBool
{
[Serializable]
public class AtomicBool
{
private static object TrueObject = true;
private static object False... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using BUS;
using ControlLocalizer;
namespace GUI
{
public partial class r_ctcnncc : DevExpress.XtraReports.UI.XtraReport
{
public r_ctcnncc()
{
InitializeCompo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Laba1GitHub
{
class program
{
static void Main(string[] args)
{
Reka reka = new Reka();
reka.start();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using PlebBot.Caches.CommandCache;
using PlebBot.Data.Models;
using PlebBot.Data.Repository;
namespace PlebBot.Modules
{
public class BaseModule : CommandCacheModuleBase<SocketCo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class MapGenerator : MonoBehaviour {
const int textureSize = 512;
const TextureFormat textureFormat = TextureFormat.RGB565;
public enum DrawMode { NoiseMap ,ColourMap, Mesh, FalloffMap};
public Dr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Xps.Packaging;
using System.Windows.Documents;
using GalaSoft.MvvmLight.Messaging;
using Microsoft.Practices.Prism.Commands;
using System.Windows.Media;
using System.Windows.Media.Im... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Razor.Language.Extensions;
using Euronailsupply.Controllers;
u... |
namespace Voronov.Nsudotnet.BuildingCompanyIS.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddForeignKeyToBuildResults : DbMigration
{
public override void Up()
{
AddColumn("bcis.BuildResults","BuildingId", c=>c.Int(nullable:false));
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArteVida.Dominio.Entidades;
namespace ArteVida.Dominio.Repositorio
{
public class RepositorioAtleta : Repositorio<Atleta>
{
public RepositorioAtleta(IUnitOfWork unitOfWork) : base(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.