text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
namespace ComLib.Unity.Extensions
{
public static class GameObjectExtensions
{
/// <summary>
/// Sets the layer of this gameobject, and all of its children
/// </summary>
/// <param name="go">root gameObject</param>
/// <para... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace pair_Programming
{
class Program
{
static SqlConnection conn;
static string str1 = @"Data Source=(Loc... |
using University.Data;
using University.Repository;
using University.Repository.Interface;
using University.Service.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace University.Service
{
public class FeedbackService: IFeedbackSe... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DemoApp.Profiles
{
public class CentreProfile : Profile
{
public CentreProfile()
{
//listing of centres
CreateMap<Entities.Centres, Models.Centre... |
using EddiCompanionAppService.Exceptions;
using Newtonsoft.Json.Linq;
using System;
using Utilities;
namespace EddiCompanionAppService.Endpoints
{
public class FleetCarrierEndpoint : Endpoint
{
private const string FLEETCARRIER_URL = "/fleetcarrier";
// We cache data to avoid spamming the ser... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GatewayEDI.Logging;
namespace LoggingTestConsole
{
class Program
{
private static ILog primaryLog = LogManager.GetLog(typeof(Program));
private static ILog secondaryLog = LogManager.GetLog(System.Reflec... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebApiBluesea.Utils;
namespace WebApiBluesea
{
public partial class WapCharging : System.Web.UI.Page
{
readonly log4... |
using System;
using System.Linq;
using MassEffect.Exceptions;
namespace MassEffect.Engine.Commands
{
using MassEffect.Interfaces;
public class AttackCommand : Command
{
public AttackCommand(IGameEngine gameEngine)
: base(gameEngine)
{
}
private string PrintMet... |
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 PPesoIdeal
{
public partial class Form1 : Form
{
public Form1()
... |
namespace P08MilitaryElite.Interfaces.Factories
{
public interface IEngineerFactory : IAbstractFactory<IEngineer>
{
}
} |
namespace gView.Framework.Symbology
{
[global::System.AttributeUsageAttribute(global::System.AttributeTargets.Property)]
public class UseLineSymbolPicker : global::System.Attribute
{
public UseLineSymbolPicker()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Web.UI.DataVisualization.Charting;
public partial class UserHistory : System.Web.UI.Page
{
string userId;... |
using System;
namespace OccuranceOfMaxNumbers
{
class Program
{
static void Main(string[] args)
{
int numberMax = 0;
int maxOccurances = 0;
bool cond = true;
do
{
Console.Write("Enter number : ");
int n... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rhino.Mocks;
using System.Collections.Generic;
using System.Linq;
using E_ShopDomainModel.Interfaces;
namespace E_ShopDomainModel.Tests
{
[TestClass]
public class DiscountPolicyTests
{
[TestMethod]
public void When_low... |
using System;
using Xunit;
namespace LoggingKata.Test
{
public class TacoParserTests
{
[Fact]
public void ShouldDoSomething()
{
// TODO: Complete Something, if anything
//Arrange
var tacoParser = new TacoParser();
//Act
... |
using DChild.Gameplay.Objects;
using DChild.Gameplay.Systems.Subroutine;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Combat
{
[System.Serializable]
public struct DPS
{
[SerializeField]
private DPSConfig m_config;
private float m_timer;
private... |
using DAL.Models;
using DTO.Convertors;
using System;
using System.Collections.Generic;
using System.Text;
namespace BLL
{
public interface IMenuLogic
{
List<MenuDto> GetAllMenus();
MenuDto GetMenuById(int id);
MenuDto GetMenuByName(string name);
MenuDto AddMenu(MenuDto u);
... |
using System.Collections.Generic;
namespace Microsoft.UnifiedRedisPlatform.Core.Services.Models
{
internal class ClusterConfiguration
{
public string ClusterName { get; set; }
public bool IsProductionCluster { get; set; }
public string SupportContact { get; set; }
public string... |
using MultiTenantKit.Core.Context;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using MultiTenantKit.MultiTenantClaimSample.Models;
using MultiTenantKit.MultiTenantClaimSample.Mu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Xamarin.Forms;
[assembly: Dependency(typeof(AnyTest.MobileClient.Droid.PopUp))]
namespa... |
using GFW;
namespace CodeX
{
public class GameStartUpCommand : ICommand
{
public void Execute(IMessage message)
{
if (!AppUtil.CheckEnvironment()) return;
//-----------------关联命令-----------------------
GameSystem.Instance.RegisterCommand(GameCommandDef.Sock... |
using System;
using DelftTools.Utils.Data;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
namespace GeoAPI.Extensions.Networks
{
/// <summary>
/// TODO: remove these classes and make it work without stubs
/// NHibernate requires concrete class implementation
/// to remove dependency of netwo... |
using AudioText.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AudioText.DAL
{
public class RepositoryManager : IDisposable
{
private AudioTextContext context = new AudioTextContext();
private Repository<InventoryItem> inventoryRepository... |
using System.Threading.Tasks;
using Airelax.Application.Orders.Request;
using Airelax.Application.Orders.Response;
using Airelax.Infrastructure.ThirdPartyPayment.ECPay.Request;
namespace Airelax.Application.Orders
{
public interface IOrderService
{
CreateOrderResponse CreateOrder(OrdersInput input);
... |
using Backend;
using Backend.Model.Enums;
using Backend.Model.PerformingExamination;
using Backend.Model.Users;
using Model.Manager;
using Model.PerformingExamination;
using Model.Users;
using System;
namespace PatientWebAppTests.CreateObjectsForTests
{
public class CreateTherapy
{
public Therapy Crea... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using Microsoft.AspNet.SignalR.Hubs;
using Sparda.Contracts;
using Microsoft.AspNet.SignalR;
using System.Data.Services;
using System.Reactive.Linq;
using System.Reactive.Disposables;
using System.Reactive.Sub... |
using Microsoft.VisualStudio.DebuggerVisualizers;
using System.IO;
using ExpressionTreeVisualizer.Serialization;
namespace ExpressionTreeVisualizer {
public class VisualizerDataObjectSource : VisualizerObjectSource {
static VisualizerDataObjectSource() => Periscope.Debuggee.SubfolderAssemblyResolver.Hook(... |
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 TableroComando.Dominio;
using TableroComando.GUIWrapper;
using Dominio;
using TableroComando.Clases;
namespace Tabl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeatherForecast.Models;
namespace WeatherForecast.Json
{
public interface IForecastService
{
Task<Forecast> GetJsonFromUrl(SearchCity city);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using SpriteCraft;
namespace Game
{
public class Character : IOnUpdate
{
private const double WALKING_SPEED = 250;
private const double WALKING_TOLERANCE = 8;
private const int DEFAULT_FRAME_NUMBER = 36;
private double m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Library.Interfaces;
using Library.Model;
using Microsoft.EntityFrameworkCore;
namespace Data.Repositories
{
public class UserRepository : IUserRepository
{
private readonly Entitie... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.F... |
namespace com.Sconit.Web.Controllers.WMS
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using com.Sconit.Entity.MD;
using com.Sconit.Entity.SYS;
using com.Sconit.Service;
using Telerik.Web... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Narcyzo_pomagacz
{
public class PdfExtraction
{
public List<ExtractionRecord> extractionList;
public string date;
public string targetName;
public PdfE... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace S3.AutoBatcher.UnitTests
{
public partial class BatchTests
{
private class TestContext:IBatchChunkProcessor<string>
{
public readonly AutoResetEvent ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BugTracker.DataAccessLayer;
namespace BugTracker.BusinessLayer
{
class PerfilService
{
PerfilDao oPerfilDao = new PerfilDao();
}
}
|
namespace TripDestination.Services.Data.Contracts
{
using System.Linq;
using TripDestination.Data.Models;
public interface IUserCommentServices
{
IQueryable<UserComment> GetAll();
UserComment Edit(int id, string text);
void Delete(int id);
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using StoreFront.Models;
using System.Web.Security;
namespace StoreFront.Controllers
{
public class UsersController : Controller
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomMovementSphere : MonoBehaviour
{
public Rigidbody rb;
public Vector3 direccionRandom;
public float speed = 4;
public float ultimoCambioDireccion = 0;
public float tiempoCambioDireccion = 1;
// Start ... |
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using OnlineClinic.Data.Entities;
using System.Threading.Tasks;
namespace OnlineClinic.Data.Repositories
{
public class Repository<T> : IRepository<T> where T : Entity
{
protected readonly OnlineCli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
using System.Xml;
using SanukoLib;
namespace WebGames
{
/// <summary>
/// Interface for Word... |
using Flux.src.Flux.Renderer;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace Flux.src.Platform.OpenGL
{
public class OpenGLTriangle : IShape
{
readonly float[] vertices =
{
//Position Texture coordinates
0.0f, 0.5f, 0.0f, 0.5f, 1.0f, // top right
0.5f, -0.5f, 0.0f, 1.0f, 0.0f, // bot... |
using BLL;
using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication2.controls
{
public partial class ctrl_registeration : System.Web.UI.UserControl
{
protect... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using birdepobenzin.dataaccess;
using birdepobenzin.web.Helper;
namespace birdepobenzin.web.Controllers
{
public class HomeController : Controller
{
public s... |
using System;
using System.ComponentModel.DataAnnotations;
namespace DgKMS.Cube
{
public class PartyCreateDto
{
/// <summary>
/// Id
/// </summary>
public new long? Id { get; set; }
/// <summary>
/// 操作人
/// </summary>
public long MemberId { get... |
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;
public partial class Admin_Suppliers_View : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using Sentry.Reflection;
namespace Sentry.Internal;
internal static class ApplicationVersionLocator
{
internal static string? GetCurrent(Assembly? asm)
{
if (asm is null)
{
return null;
}
var name = asm.GetName().Name;
var version = asm.GetVersion();
... |
//---------------------------------------------------------------------------------
// Copyright (c) December 2019, devMobile Software
//
// 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
//
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AngularSPAWebAPI.Models.DatabaseModels.General
{
public class Afbeelding
{
public int AfbeeldingID { get; set; }
public string URI { get; set; }
public DateTime Create { get; set; ... |
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace AutomatingBackgroundTasks.Interface
{
public partial class WindowAddPattern : Window
{
public WindowAddPattern()
{
InitializeComponent();
}
public... |
namespace _01_Regeh
{
using System;
using System.Text;
using System.Text.RegularExpressions;
public class Regeh
{
public static void Main()
{
var input = Console.ReadLine();
var len = input.Length;
var currentIndex = 0;
var builder =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Media.Imaging;
using System.Windows.Navigati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using enums;
namespace enums
{
public class ItemList
{
public enum ItemEnum
{
RustySword,
LongSword,
}
}
}
public class Item : MonoBehaviour
{
enum Type
{
equip... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace LP
{
public class SceneChange : MonoBehaviour
{
public float delay = 5f;
void Start()
{
StartCoroutine(LoadLevelAfterDelay(delay));
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace neptune.game {
public enum NGameState {
Running = 1,
Paused = 2
}
} |
using Autofac;
using ResolverDemo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoFacDemo
{
class Program
{
private static IContainer Container { get; set; }
static void Main(string[] args)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public struct PlayerInfos
{
public string characterName;
public float level;
public PlayableCharacter characterType;
public float health;
public float maxHealth;
public float mana;
public... |
namespace DemoScanner.DemoStuff.L4D2Branch.BitStreamUtil
{
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FadeIn : MonoBehaviour
{
float time = 0;
float currentTime = 0;
float fades = 0;
public float startTime;
public UnityEngine.UI.Image fade;
FadeOut fo;
public FadeOutSprite fos;
void Start()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GramInfo : MonoBehaviour {
public Text gramText;
public GameObject gramSelectedFill, gramDescription, GramToMole, MoleToGram;
public GameObject gramArrow;
public bool selected = false;
public void ... |
using System;
using Banking.entity;
using Banking.model;
namespace Banking.controller
{
public class GiaoDichBlockChain : GiaoDich
{
private static BlockchainAddressModel blockchainAccountModel = new BlockchainAddressModel();
public void ChuyenKhoan()
{
throw new NotImpleme... |
using Android.App;
using Barebone.Common.ViewModels;
using Barebone.Droid.Views.Base;
namespace Barebone.Droid.Views
{
[Activity(MainLauncher = true)]
public class MainActivity : BaseActivity<MainViewModel>
{
protected override int? ToolbarLayoutId => Resource.Layout.actionbar_home;
}
} |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Tools;
namespace _027
{
class Program
{
[MethodImplAttribute(MethodImplOptions.AggressiveInlining)]
private static int Next(int n)
{
if (n == 0)
{
return ... |
using Assets.Code.Actors;
using Assets.Code.Actors.Enums;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float speed = 6.0f;
public GameObject rightSide;
public GameObject frontSide;
public GameObject leftSide;
p... |
using LogicaNegocio;
using ProyectoLP2;
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 Formularios
{
public partial class agregarFac... |
using UnityEngine;
namespace Assets.Gamelogic.Utils
{
public static class UnityUtils
{
public static GameObject SearchForGameObject(GameObject[] gameobjectList, string nameToFind)
{
GameObject found = null;
foreach (GameObject go in gameobjectList)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MVC_ISS___
{
class Controller
{
FormMain view;
Model_ISS model;
private string validationError;
public ISS_Controller()
{
view = ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.OleDb;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace lms
{
public partial class Form2 : Fo... |
using System;
namespace Epic.Training.Project.Inventory.Text.Exceptions
{
class EscapeKeyPressedException : Exception
{
public EscapeKeyPressedException()
{ }
public EscapeKeyPressedException(string message)
: base(message)
{
}
}
}
|
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 Interfaz
{
public partial class Medico : Form
{
public Medico()
... |
namespace Orc.FileSystem;
using System;
using System.Runtime.Serialization;
[Serializable]
public class FileLockScopeException : Exception
{
public FileLockScopeException()
{
}
public FileLockScopeException(string message)
: base(message)
{
}
public FileLockScopeException(strin... |
using System;
using Autofac;
using GraphQL;
using GraphQL.Http;
using Ricky.Infrastructure.Core.ObjectContainer;
using Ricky.Infrastructure.Core.ObjectContainer.Autofac.DependencyManagement;
using Ricky.Services.GraphQl.Global;
using Ricky.Services.GraphQl.Types;
namespace Biz.WebInfratructure.Dependency
{
/// <... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Collections.Generic;
namespace PaymentSlipTest
{
/// <summary>
/// This test class is used to test reading and writing CSV files.
/// File location is hacked just for demo.
[TestClass]
public class CSVH... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EmployeManagment;
using System;
using System.Collections.Generic;
using System.Text;
namespace EmployeManagment.Tests
{
[TestClass()]
public class SalaryTests
{
[TestMethod()]
public void GivenSalaryDataAbleToUpdateSalaryDetails()
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ProgressBarSlider.ViewModels
{
public class ProgressBarSliderViewModel : BaseViewModel
{
public double SliderProgressValue { get; set; }
}
}
|
using Inventory.Models;
using Inventory.ViewModels;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Inventory.Views
{
public sealed partial class OrdersFilterPanel : UserControl
{
private readonly Converters.OrderStatusColorConverter _statusColorConverter... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Net.Http.Headers;
using Sentry.AspNetCore.Extensions;
using Sentry.Extensibility;
using Sentry.Internal.Extensions;
namespace Sentry.AspNetCore;
/// <summary>
/// Scope Extensions
/// <... |
using System;
using System.Collections.Generic;
using Fbtc.Domain.Entities;
using Fbtc.Domain.Interfaces.Services;
using Fbtc.Application.Interfaces;
using prmToolkit.Validation;
using Fbtc.Application.Helper;
namespace Fbtc.Application.Services
{
public class ColaboradorApplication : IColaboradorApplication
... |
using System;
namespace BlazorShared.Models.Patient
{
public class GetByIdPatientResponse : BaseResponse
{
public PatientDto Patient { get; set; } = new PatientDto();
public GetByIdPatientResponse(Guid correlationId) : base(correlationId)
{
}
public GetByIdPatientResponse()
{
}
}
} |
using System;
namespace DerivedFromArray
{
class MainApp
{
static void Main(string[] args)
{
int[] array = new int [] { 10, 30, 29, 7, 1};
Console.WriteLine(" 해당 어레이의 타입 : {0}", array.GetType());
Console.WriteLine(" 해당 어레이의 기반 : {0}", array.GetType().BaseType);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Dapper;
namespace Testr.Models.Queries
{
public class QuizByIdQuery : IQuery<Quiz>
{
public long Id { get; set; }
public QuizByIdQuery(int id)
{
Id = id;
... |
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Configuration;
using MediaBrowser.Model.LiveTv;
using System;
using System.Collections.Generic;
using System.Linq;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Model.Entities;
using MediaBrowser.Mod... |
using System.Windows.Forms;
using rpg;
public class Task
{
/* public static Player.Status player_last_status = Player.Status.WALK;
public static int p = 0;
public static void story(int i)
{
if (Player.status != Player.Status.TASK)
player_last_status = Player.status;
Player.st... |
using A4CoreBlog.Data.Services.Contracts;
using A4CoreBlog.Data.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace A4CoreBlog.Web.Areas.Admin.Controllers
{
public class UserController : BaseAdminController
{
private readonly IUserService _userService;
... |
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
public class ScoreManager : MonoBehaviour {
private static List<ScoreBoard> Boards = new List<ScoreBoard>();
public static void GenerateScoreBoards(int amount, bool reset = false) {
if (reset) {
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace FoodApp.Models
{
public class Tag
{
[Required]
[StringLength(30, MinimumLength = 3, ErrorMessage = "Must be between 3 and 30 characters")]
public string Name { get; set; }
public int Id { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVCPatternAPP.Data.DatabaseContext;
using MVCPatternAPP.Data.Repository.Interface;
using MVCPatternAPP.Entity.Models;
namespace MVCPatternAPP.Data.Repository
{
public class CategoryRepository:... |
using System;
namespace cSharpGPX
{
public struct GPX_PositionStruct
{
private string _latitude;
private string _longitude;
public GPX_PositionStruct(double latitude, double longitude)
{
this._latitude = latitude.ToString();
this._longitude = longitude.ToString();
}
public string ToXMLstring()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DistCWebSite.Core.ViewModel
{
public class EMNewExportViewModel
{
public string Province { get; set; }
/// <summary>
///文件上传时间
/// </summary>
p... |
using System.Collections.Generic;
using System.Threading.Tasks;
using BlazorShared.Models.Client;
using Microsoft.Extensions.Logging;
namespace FrontDesk.Blazor.Services
{
public class ClientService
{
private readonly HttpService _httpService;
private readonly ILogger<ClientService> _logger;
public C... |
using System;
using Uintra.Core.Activity.Entities;
using Uintra.Core.Member.Abstractions;
namespace Uintra.Features.Events
{
public class EventBase : IntranetActivity, IHaveCreator, IHaveOwner
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public DateTi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
public class PauseMenu : MonoBehaviour {
[SerializeField] private GameObject scriptPiggy;
[SerializeField] private GameObject pauseMenuPanel;
private UIHandler uiHandler;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Area
{
public class IArea : Area
{
}
/// <summary>
/// 区域
/// </summary>
public class Area
{
public string Code
{
get;
set;
}
/// ... |
using System;
using System.Collections.Generic;
using Android.Support.V4.App;
using Java.Lang;
namespace Groceries.MonoDroid
{
public class ViewPagerAdapter: FragmentPagerAdapter {
private List<Fragment> fragmentList;
private List<string> fragmentTitleList = new List<string> ();
public ViewPagerAdapter(Fragmen... |
using Backend.Model.Manager;
using Backend.Service.DrugAndTherapy;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using System;
namespace GraphicalEditorServer.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class DrugInRoomController : ControllerBase
{
private readonl... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Comon
{
///<summary>
///Module ID:
///Depiction: 公共处理SqlParameter的工具类
///</summary>
public class ParameterTools
{
... |
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebCore.Fileters
{
public class MyAsyncResourceFilterAttribute : IAsyncResourceFilter
{
public async Task OnResourceExecutionAsync(ResourceExecutingContext... |
using System.Collections.Generic;
namespace SsWkPdf.ServiceModel
{
public interface IPagedResponse<T>
{
IEnumerable<T> Data { get; set; }
IPagingMetadata Meta { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EstalagControl : MonoBehaviour
{
public GameObject Target;
public GameObject ShotEstalagPrefab;
// Use this for initialization
void Start ()
{
StartCoroutine (ShotEstalagRoutine())... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.