text stringlengths 13 6.01M |
|---|
using AutoMapper;
using ImmedisHCM.Data.Entities;
using ImmedisHCM.Services.Models.Core;
namespace ImmedisHCM.Services.Mapping
{
public class CityMapping : Profile
{
public CityMapping()
{
CreateMap<City, CityServiceModel>().ReverseMap();
}
}
}
|
using GestDep.Entities;
using GestDep.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GestDepLib.Services1
{
class GestDepService : IGestDepService
{
private readonly IDAL dal;
public GestDepSer... |
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class RotateScript : MonoBehaviour {
public float speed = 100.0f;
private float maxSpeed = 300.0f;
public bool turnLeft = true;
public bool xAxis = false;
public bool yAxis = false;
public bool zAxis = true;
private int x;
private int y... |
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes;
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Inventions_and_Terrain;
using Assets.Scripts.RobinsonCrusoe_Game.RoundSystem;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Analytics;
using ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
namespace solution1.gestion_utilisateur
{
public partial class modifier_utilisateur : DevExpress.XtraEditors.XtraUserCo... |
using UnityEngine;
using System.Collections;
public class LoadingScreen : MonoBehaviour
{
// GUI style for the background
public GUIStyle backgroundStyle;
void OnGUI()
{
GUI.Box(new Rect(0, 0, Screen.width, Screen.height), "LOADING",
backgroundStyle);
}
}
|
namespace Card_Game
{
enum Colors : uint
{
Red = 1,
Blue = 2,
Green = 3,
Yellow = 4,
Gold = 5
}
class Card
{
public Colors color {get;}
public uint number {get;}
public Card(Colors c, uint num)
{
this.color = c;
... |
using System;
using System.Collections.Generic;
using W3ChampionsStatisticService.CommonValueObjects;
using W3ChampionsStatisticService.ReadModelBase;
namespace W3ChampionsStatisticService.PlayerProfiles.MmrRankingStats
{
public class PlayerMmrRpTimeline : IIdentifiable
{
public PlayerMmrRpTimeline(st... |
public class EqualToCriteria<TItem> : ICriteria<TItem>
{
private readonly TItem _value;
public EqualToCriteria(TItem value)
{
_value = value;
}
public bool IsSatisfiedBy(TItem item)
{
return item.Equals(_value);
}
} |
using System;
namespace GraphQLSampleAPI.Models
{
public class Gadget
{
public string id { get; set; }
public string productName { get; set; }
public string brandName { get; set; }
public decimal cost { get; set; }
public string type { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using System;
public class panelView : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI displayName;
[SerializeField] private TextMeshProUGUI serialNumber;
[SerializeField] private TextMeshProUGUI highScore... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Advertisements;
public class PromoButton : MonoBehaviour
{
[SerializeField] private string placementID;
private Button button;
private Text text;
private void Awake()
{
this.button = GetCo... |
using Application.Interfaces.Repositories;
using Domain.Entities;
using Infrastructure.Persistence.Contexts;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
namespace Infrastructure.Persistence.Repositories
{
public class ProductRepositoryAsync : GenericRepositoryAsync<Product>, IProductReposit... |
using System;
using System.Web.UI;
using NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings;
using NopSolutions.NopCommerce.Web.Templates.Payment;
namespace NopSolutions.NopCommerce.Web.Administration.Payment.EasyPay
{
public partial class ConfigurePaymentMethod : BaseNopAdministrationUserControl, ICon... |
namespace Integer_Insertion
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class IntegerInsertion
{
public static void Main(string[] args)
{
//read the input, split and convert to inte... |
using System;
namespace ORTRulesEngine.Entities
{
public abstract class BaseRule<T>
{
public RuleEngine<T> RulesEngine;
public BaseRule()
{
RulesEngine = new RuleEngine<T>();
}
}
} |
using FMOD;
using Steamworks;
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Threading;
using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.AzureSky;
using HarmonyLib;
using Debug = UnityEngine.Debug;
using Newtonsoft.Json... |
using System;
namespace Protogame.SHMUP
{
public class ShmupGame<T> : CoreGame<T> where T : ShmupWorld, new()
{
}
}
|
using App.Data;
using App.Entity;
using System.Collections.Generic;
namespace App.Logic
{
public class LogLC
{
private LogDAC DataAccessCLass = new LogDAC();
public void CreateTable()
{
DataAccessCLass.CreateTable();
}
public void Delete(string filterText)
... |
namespace Howff.Navigation.Tests {
public class NavigationItemIdFake : INavigationItemId {
public NavigationItemIdFake(string id) {
Id = id;
}
public string Id { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Chpoi.SuitUp.Service
{
public interface ImageService
{
double[] TakeBodyMeasurements(string frontImageName, string sideImageName, double height);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime;
using Xamarin.Forms;
using g = GSShared;
namespace GS_FinanceAndAnalytics_Sample
{
public class MainPage : ContentPage
{
Label mlLabelLoanAmount;
Label mlLabelLoanYears;
Label mlLabelLoanAPR;
Label m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 6
namespace Find_Bigger_Number
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter num 1: ");
int num1 = int.Parse(Console.R... |
using AutoMapper;
using CryptoInvestor.Core.Domain;
using CryptoInvestor.Core.Repositories;
using CryptoInvestor.Infrastructure.DTO;
using CryptoInvestor.Infrastructure.Services.Interfaces;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CryptoInvestor.Infrastructure.Services
{
public cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SummonController : MonoBehaviour {
public GameObject SpawnPoints;
public GameObject bridge;
public GameObject bigBridge;
public GameObject portalEnter;
public GameObject portalExit;
public GameObject s... |
using LuaInterface;
using SLua;
using System;
public class Lua_JetBrains_Annotations_ImplicitUseKindFlags : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "JetBrains.Annotations.ImplicitUseKindFlags");
LuaObject.addMember(l, 1, "Access");
LuaObject.addMember(l, 2, "Assign");
LuaObje... |
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
public class XBuild_Audio : CBuild_Base
{
public override string GetDirectory() { return "Audio"; }
public override string GetExtention() { return "dir"; }
public override vo... |
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Admin.Helpers
{
public class DataHelper
{
#region Enums
public enum CarStatus
{
Active = 1,
Sold = 2,
Deleted = 3
}
public e... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
namespace WebApplication1.Controllers
{
[EnableCors(methods: "*", headers: "*", origins: "*")]
public class categoryController : ApiControll... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using UGCS.Example.Properties;
namespace UGCS.Example.Helpers
{
public class StringMetersConverter : IValueConverter
{
public objec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MJGame
{
abstract class Place
{
//Vars
protected string introText;
public List<Item> groundItems = new List<Item>();
//Methods
public void Arrived()
{
Progra... |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Vaccination.Models.DTO;
using Vaccination.Models.ViewModel;
using Vaccination.Services;
using Vaccination.Services.Exceptions;
namespace Vaccination.Controllers
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using PlayTennis.Bll;
using PlayTennis.Model;
using PlayTennis.Model.Dto;
namespace PlayTennis.WebApi.Controllers
{
public class UserInformationController : ApiController
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BPiaoBao.Web.SupplierManager.Models
{
public class NoticeQueryEntity
{
public string Title { get; set; }
public string Code { get; set; }
public bool? State { get; set; }
public DateT... |
using System;
using System.Collections.Generic;
using Xunit;
using CompoundInterest;
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities;
namespace MyXUnitTests
{
public class CompoundInterestUnitTest
{
//[Fact]
//public void TestConvertStringToValues_0()
//{
// ... |
using System;
using System.Collections.Generic;
using System.Data;
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.Input;
using System.Windows.Media;
using System.Win... |
using LaserMaze.Enums;
using LaserMaze.Models;
using System.Collections.Generic;
using System.Linq;
namespace LaserMaze
{
public class LaserMazeRunner
{
public List<IRoom> Rooms { get; set; }
private GridCoordinates _gridSize;
private List<Mirror> _mirrors;
private LaserPoint ... |
using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using Maticsoft.DBUtility;//Please add references
namespace PDTech.OA.DAL
{
public class VIEW_ARCHIVE_STEMP
{
public VIEW_ARCHIVE_STEMP()
{ }
#region BasicMethod
/// <summary>
/// 获取... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GlueScript : MonoBehaviour
{
//private float Seconds = 0.05f;
private float breakForce = 150f;
private FixedJoint fj;
private List <GameObject> previousHits = new List<GameObject>();
public float fixedBod... |
using System.Windows.Forms;
using System;
using System.Drawing;
namespace QuanLyTiemGiatLa.HeThong
{
public partial class frmCauHinhHeThong : Form
{
public frmCauHinhHeThong()
{
InitializeComponent();
this.Load += new System.EventHandler(frmCauHinhHeThong_Loa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Senai.Senatur.WebApi.Domains;
using Senai.Senatur.WebApi.Interfaces;
using Senai.Senatur.WebApi.Repositories;
// For more information on enab... |
using JqGridCodeGenerator.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JqGridCodeGenerator
{
public static class TypeWithNamespaceExtensions
{
public static string GetNamespaceForType(this List<TypeWithNamespac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CaseReportal.Model.Entities;
using CaseReportal.Models;
using NHibernate;
namespace CaseReportal.Controllers
{
[HandleError]
public class HomeController : Controller
{
private readonly ... |
using UnityEngine;
using System.Collections;
public class Menu : MonoBehaviour {
public SnakeGame Game;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetButtonDown("Menu"))
{
Canvas canv = GetComponent<Canvas>(... |
using Application.Common.Interfaces;
using Application.Common.Models;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace Application.V1.Users.Commands
{
public static class LoginUser
{
public record Command(string Email, string Password) : IRequest<CQRSResponse>;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using AutoMapper;
using EpicenterV2.Data.Queries;
using EpicenterV2.Models;
namespace EpicenterV2.Controllers
{
public class ShowsController : Controller
{
// GET: S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.SignalR;
namespace Web.SendToUser
{
public class UserHub : Hub
{
public void Send(string user, string message)
{
Clients.User(user).newMessage(m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assets.Scripts.GameLogic.TowerSystem
{
[System.Serializable]
public class UpgradeSlot
{
public Upgrade m_Upgrade=null;
public UpgradeSlot[] m_FollowingUpgrades;
}
}
|
using System.Collections.Generic;
using IVeraControl.Model;
using UpnpModels.Model.UpnpDevice.Base;
using UpnpModels.Model.UpnpService;
namespace UpnpModels.Model.UpnpDevice
{
// Spec: http://upnp.org/specs/ha/UPnP-ha-HVAC_ZoneThermostat-v1-Device.pdf
public class HVAC_ZoneThermostat1: UpnpDeviceBase, IUpnpD... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using Evpro.Domain.Entities;
namespace Evpro.Data.Models.Mapping
{
public class oureventMap : EntityTypeConfiguration<ourevent>
{
public oureventMap()
{
// Primary Key
this.H... |
//using Code_First_Repository_Pattern.Models;
using First_Api_Project.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
namespace First_Api_Project.Repositories
{
public class ProductRepository : Repository<Product>
{
public L... |
using System.Collections.Generic;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using SonicRetro.SAModel;
using SonicRetro.SAModel.Direct3D;
using SonicRetro.SAModel.SAEditorCommon;
using SonicRetro.SAModel.SAEditorCommon.SETEditing;
namespace SADXObjectDefinitions.Level_Effects
{
class SkyChase : Level... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
public class GameController : MonoBehaviour
{
private TextHandler textHandler;
private Ranks ranks;
private StateMachine stateMachine;
private ... |
using System;
using System.Collections.Generic;
namespace OCP.Comments
{
/**
* Interface ICommentsManager
*
* This class manages the access to comments
*
* @package OCP\Comments
* @since 9.0.0
*/
public interface ICommentsManager {
/**
* @const DELETED_USER type and id for a user that has been deleted
* @... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JoveZhao.Framework.DDD;
namespace BPiaoBao.SystemSetting.Domain.Models.Businessmen
{
public interface IBusinessmanRepository : IRepository<Businessman>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IndicatedObject : MonoBehaviour
{
public Transform ObjectToIndicate;
public string Title;
IndicatorArrow arrow;
void Start ()
{
arrow = IndicatorArrowFactory.Instance.SpawnArrow(ObjectToIndicate, ... |
using Swiddler.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
using System.Windows;
using System.Windows.Media;
using System.Windows.Threading;
using static Swiddler.Utils.ShellApi;
namespace Swiddler.ViewModels
{
public class ProcessInfo
{
public st... |
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
namespace EntityFrameworkCore.BulkOperations.Tests
{
internal class Helper
{
public static ILogger RedirectLoggerToConsole()
{
ILoggerFactory loggerFactory = LoggerFactory.Create(builder =>
... |
using System;
using System.Windows.Forms;
using quanlysinhvien.authen;
using quanlysinhvien.DTO.UIAuth;
using quanlysinhvien.Models.DAO;
using quanlysinhvien.Models.EF;
namespace quanlysinhvien
{
public partial class frmResigter : Form
{
public frmResigter()
{
InitializeComponent(... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DAL;
using DevExpress.XtraReports.UI;
using BUS;
using ControlLocalizer;
using DevExpress.XtraEdito... |
namespace iCopy.Model.Response
{
public class City
{
public int ID { get; set; }
public string Name { get; set; }
public string ShortName { get; set; }
public int PostalCode { get; set; }
public Country Country { get; set; }
public int CountryID { get; set; }
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("TriodorArgeProject.Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TriodorArgeProject.Test")]
[as... |
using UnityEngine;
using System.Collections;
public class SuperMarioAnimation : MonoBehaviour {
public float landBounceTime= 0.6f;
private AnimationState lastJump;
void Start (){
// We are in full control here - don't let any other animations play when we start
// animation.Stop();
// By default loop a... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Web.UI.WebControls;
namespace DotNetNuke.ExtensionPoints
{
public interface IGridColumnExtensionPoint : IExtensionPoint
{
in... |
using System.Collections.Generic;
using System.Linq;
using System;
public class AOC07_2
{
static List<string> ReadIpAddresses()
{
var lines = new List<string>();
string line;
while (!String.IsNullOrEmpty(line = Console.ReadLine()))
{
lines.Add(line);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CheckPwd
{
/// <summary>
/// 密码强度
/// </summary>
public enum Strength
{
Invalid = 0, //无效密码
Weak = 1, //低强度密码
Normal = 2, //中强度密码
Stro... |
using System.Collections.Generic;
using Ecommerce.Dto;
namespace Ecommerce.Service
{
public interface IProductService
{
ServiceResponse<List<ProductDto>> GetAll();
}
} |
namespace Whale.Shared.Exceptions
{
public sealed class NotFoundException : BaseCustomException
{
public NotFoundException()
{
}
public NotFoundException(string name, string id)
: base($"Entity {name} with id ({id}) was not found.")
{
_httpError ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using TheRegistry.Model;
using TheRegistry.Persistence;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Results;
using System.Xml;
using System.Xml.Linq;
using BookAppsWeb.Models;
namespace BookAppsWeb.Controllers
{
// Web API for Book-data-searching
public cl... |
/// <summary>
/// Author: Shiyang(Shirley) Li
/// Date:01/20/2020
/// Copyright: Shiyang(Shirley) Li - This work may not be copied for use in Academic Coursework.
///
/// I, Shiyang(Shirley) Li, certify that I wrote this code starting form "//Added test cases starts here" comment
/// from scratch and did not copy it i... |
using Arch.Data.Common.Constant;
using System;
using System.Collections;
using System.Text;
namespace Arch.Data.DbEngine.MarkDown
{
class MarkUpInfo
{
public Boolean PreMarkUp { get; set; }
public DateTime MarkDownTime { get; set; }
public Int32 CurrentMarkUpIndex { get;... |
namespace PurificationPioneer.Const
{
public partial class LocalAssetName
{
public static readonly string CharacterHeadCanvas = @"CharacterHeadCanvas";
public static readonly string LocalCamera = @"LocalCamera";
public static readonly string ThirdPersonCameraVariant = @"ThirdPersonCamera Variant";
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CyberPunkRPG
{
class Constants
{
public static int ScreenWidth = 1920;
public static int ScreenHeight = 1080;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Mono.Cecil;
using NUnit.Framework;
using StructureAssertions.Test.TestTypes;
namespace StructureAssertions.Test
{
[TestFixture]
public class TypeDefinitionExtensionsTest
{
readonly AssemblyDefinition _thisAssembly =
... |
using Zhouli.DAL.Interface;
using Zhouli.DbEntity.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace Zhouli.DAL.Implements
{
public class SysAmRelatedDAL : BaseDAL<SysAmRelated>, ISysAmRelatedDAL
{
public SysAmRelatedDAL(ZhouLiContext db, IDbConnect... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Vision.v1;
using Google.Apis.Http;
using Google.Apis.Services;
using Google.Apis.Vision.v1.Data;
using Microsoft.Office.Interop.Excel;
namespace Tarea2
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using SFP.Persistencia.Dao;
using SFP.Persistencia.Model;
using SFP.SIT.SERV.Util;
using SFP.SIT.SERV.Model.ADM;
namespace SFP.SIT.SERV.Dao.ADM
{
public class SIT_ADM_USUARIOAREADao : BaseDao
{
public SIT_ADM_USUARIOA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace QuanLyQuanCafe
{
class Connect
{
SqlConnection con;
SqlDataAdapter adapter;
SqlCommand cmd;
String strconnect = "Data Sourc... |
namespace NetFabric.Hyperlinq.Benchmarks
{
public abstract class RandomSkipBenchmarksBase : SkipBenchmarksBase
{
public override void GlobalSetup()
=> Initialize(Utils.GetRandomValues(seed, Skip + Count));
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UARTTest
{
class MeasurementHeadersCollectionClass
{
List<MeasurementHeaderClass> headers = new List<MeasurementHeaderClass>();
int count = 0;
int currentFilledHeader = 0;
public vo... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using Mono.Data.Sqlite;
using MySql.Data.MySqlClient;
using Terraria;
using TerrariaApi.Server;
using T... |
using UnityEngine;
public class mapGenerator : MonoBehaviour {
public GameObject[] units_of_pipe;
public Camera mainCam;
public GameObject bonus;
public float exponent_move;
public float _speed;
private string GO_name = "";
private static int number_of_pipe = 8;
private Vector3 start... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
[ExecuteInEditMode]
public class Quiz : MonoBehaviour {
public GameObject choices;
public GameObject popupCanvas;
public Text questionText;
public Text pop... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("RotateByMovement")]
public class RotateByMovement : MonoBehaviour
{
public RotateByMovement(IntPtr address) : this(address, "RotateByMovement")
{
}
public RotateByMovement(IntPtr address, strin... |
using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.Extensions.Logging;
namespace OmniSharp.Extensions.JsonRpc
{
public static class TimeLoggerExtensions
{
private class Disposable : IDisposable
{
private readonly IDisposable _disposable;
private r... |
using OPAM.Interface;
using System;
using System.Collections.Generic;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace OPAM.Win.Common
{
/// <summary>
/// This Class Implements the INavigator interface in Win 8.1
/// </summary>
class NavigatorService : Frame, INavigator
{
#... |
using System;
using System.Collections.Generic;
using System.Text;
using ENTITY;
//<summary>
//Summary description for DesignationInfo
//</summary>
namespace ENTITY
{
public class DesignationInfo
{
private decimal _designationId;
private string _designationName;
... |
using System.Text.Json.Serialization;
namespace Checkout.Payment.Processor.Application.Models.Enums
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum PaymentStatusModel
{
Processing,
Failed,
RejectedInsufficient,
RejectedIncorrect,
RejectedBlocked,
Succeeded
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SkillTree : MonoBehaviour
{
public GameObject[] CardView;
public void ShowTree(int TreeID)
{
if (TreeID == 0)
{
//for (int i = 0; i < onHand.Length; i++)
//{
// onHand[i].SetActive(true);
//}
CardView[... |
using UnityEngine;
using Zenject;
namespace UI.Lives.Code
{
public class UILife : MonoBehaviour
{
public class Pool : MonoMemoryPool<UILife>
{
}
}
} |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CleanArch.Domain.Commands
{
public class CreateCategoryCommand : CategoryCommand
{
public CreateCategoryCommand(string name, string descri... |
using System;
using Game.Difficult;
using Game.Online.Multiplayer.Lobby;
using UnityEngine;
namespace Game
{
public class GameProvider : MonoBehaviour
{
public GameObject GameContainerPrefab;
public void SetOnlineHost(Room room, Online.Player player)
{
var gamehost = new Ga... |
using System;
namespace AlexTouch.Greystripe
{
public enum GSAdSize
{
Banner = 1, // 320x48
IPhoneFullScreen, // full screen
IPadMediumRectangle, // 300x250
IPadLeaderboard, // 728x90
IPadWideSkyscraper // 160x600
}
public enum GSAdError
{
NoError = 0,
NoNetwork,
NoAd,
Timeout,
ServerE... |
#region Usings
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Zengo.WP8.FAS.Controls;
using System;
using System.Windows.Controls.Primitives;
#endregion
namespace Zengo.WP8.FAS.Helpers
{
public class PopupApplyingUpdatesHelper
{
#region Fields
Popup popupControl;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Ornithology.Data
{
public interface IRepository<TEntity> where TEntity : class
{
IUnitOfWork UnitOfWork { get; }
IEnumerable<TEntity> Ge... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.Client;
using Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter;
using Microsoft.PowerShell.EditorServi... |
using NChampions.Domain.Commands.Teams;
using NChampions.Domain.Response;
namespace NChampions.Domain.Handlers
{
public interface ITeamHandler :
MediatR.IRequestHandler<CreateTeamCommand,ResponseApi>,
MediatR.IRequestHandler<UpdateTeamCommand, ResponseApi>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Training_App.Classes;
namespace Training_App
{
class Program
{
static void Main(string[] args)
{
var cube = new cube();
var square = new square();
... |
using MZcms.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MZcms.IServices
{
public interface IUserService : IService
{
Users GetUser(long userId);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.