text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SecurityCamera : MonoBehaviour {
public float speed = 2f;
public float maxRotation = 45f;
void Update()
{
transform.rotation = Quaternion.Euler(0f, maxRotation * Mathf.Sin(Time.time * speed), 0f);
... |
using System;
using Mvc.JQuery.Datatables;
namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels
{
public class SourceDataTablesParam : DataTablesParam
{
public int? searchAdminSourceSearchId { get; set; }
public string searchText { get; set; }
public int? searchId { get;... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CIPMSBC;
public partial class Enrollment_Habonim_Su... |
using cyrka.api.common.projections;
using cyrka.api.common.projections.results;
using cyrka.api.domain.customers.commands.registerTitle;
using cyrka.api.domain.customers.projections.viewModels;
namespace cyrka.api.domain.customers.projections.eventProjections
{
public class TitleRegisteredProjection : BaseEventProjec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8Mi_MCAriaPlus._Mi_Utils
{
public class MiArray
{
public static MiArray miArray = new MiArray();
public static MiArray CreateInstance()
{
return mi... |
using System;
namespace CutieBox.Core.Attributes
{
[AttributeUsage(AttributeTargets.Class)]
public class PreInitialize : Attribute
{
}
}
|
using AutoMapper;
using GardenControlApi.Models;
using GardenControlCore.Enums;
using GardenControlCore.Scheduler;
using GardenControlServices.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JDWinService.Dal;
using JDWinService.Model;
using JDWinService.Utils;
using System.Data;
namespace JDWinService.Services
{
public class JD_IcItemPrjBGApply_LogService
{
JD_IcItemPr... |
using System.Collections.ObjectModel;
using OpenQA.Selenium;
using Selenium.Support;
namespace Selenium.Pages
{
public class Home : TestPage
{
public Home(IWebDriver webDriver)
{
Setup(webDriver);
Name = PageName.Home;
Url = "http://automationpractice.com/in... |
namespace Ofl.Atlassian.Jira.V3
{
public class IssueReference
{
public string? Id { get; set; }
public string? Key { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;
using System.Net;
using Newtonsoft.Json;
namespace MineSweeper
{
class Server
{
private static int _cliendID = 0;
private static List<int> _activePlayers = new List<int>();
private static Lis... |
using Allyn.Domain.Models.Front;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Domain.Specifications.Definite
{
public class ProductShopKeyEqualSpecification: SpecificationEqualMember<Guid, Product... |
namespace Funding.Services.Models.MailViewModels
{
using Funding.Data.Models;
using Funding.Services.Mapping;
using System;
public class AllMessagesViewModel : IMapFrom<Message>
{
public int Id { get; set; }
public string Title { get; set; }
public string Cont... |
using DemoConsumerDesktopApp.Models;
using DemoConsumerDesktopApp.ViewModels;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace DemoConsumerDesktopApp
{
/// <summary>
/// Interaction l... |
using System;
/*The gravitational field of the Moon is approximately 17% of that on the Earth.
Write a program that calculates the weight of a man on the moon by a given weight on the Earth.*/
class GravitationOnTheMoon
{
static void Main()
{
Console.Write("weight = ");
double weight = Conv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Collisision : MonoBehaviour {
FoodScr foodScr;
public Events events;
private void Start()
{
events = GameObject.Find("EventSystem").GetComponent<Events>();
}
private void OnTriggerStay(Collid... |
namespace MySurveys.Web.Areas.Surveys.ViewModels.Filling
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using AutoMapper;
using MvcTemplate.Web.Infrastructure.Mapping;
using MySurveys.Models;
public class ResponseViewModel : IMapFrom<Response>, IHaveCustomMapp... |
using System;
using System.Collections.Generic;
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.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _09.MostFrequentNumber
{
class FindMostFrequent
{
static void Main()
{
int[] array = new int[] { 4, 1, 1, 4, 2, 3, 4, 4, 1, 2, 4, 9, 3};
int co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LightController : MonoBehaviour
{
// Start is called before the first frame update
public List<GameObject> children;
IEnumerator Start()
{
float f = 0;
while (children.Count > 0)
... |
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp;
namespace Lcn.Cli.CoreBase.Args
{
public class CommandLineOptions : Dictionary<string, string>//该类作为一个字典,保存选项
{
public string GetOrNull([NotNull] string name, params string[] alternativeName... |
using System;
using System.Collections.Generic;
using System.Globalization;
namespace Infrastructure.ApplicationSettings
{
public interface IApplicationSettings
{
int CoolOffPeriod { get; }
int ExpirationPeriodNewPasswordrequest { get; }
int MaxLoginAttempts { get; }
string Pas... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace FIMMonitoring.Domain
{
public class Invoice : EntityBase
{
[StringLength(50)]
public string InvoiceNumber { get; set; }
public decimal NetAmount { get; set; }
public decimal ValidatedNetA... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
public class Machine : BodyPart
{
[Header("Machine Max Stats")]
public int maxAtk;
public int maxDef;
public int maxDex;
public int maxMana;
public int MaxAtk { get { return maxAtk + GameManager.I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace TypeInThai
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "LanguageApi",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using log4net;
namespace DentistClinic.Infrastructure.Services
{
public interface ILogService : IDependency
{
void Debug(string msg);
}
public class Log... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace missile_patriot
{
class Program
{
static void Main(string[] args)
{
double errore_troncamento=0.000000095;
double errore_tempo;
err... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MonsterStateMachine : MonoBehaviour
{
private BattleManager BSM;
public BaseMonster monster;
public enum TurnState
{
PROCESSING,
CHOOSEACTION,
WAITING,
ACTION,
DEAD
... |
using System.Configuration;
using System.IO;
using System.Web.Optimization;
using dotless.Core;
using dotless.Core.Input;
using dotless.Core.configuration;
namespace TestMvc4
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
var lessBundl... |
using System;
using System.Collections.Generic;
public class BinaryHeap<T> where T : IComparable<T>
{
private readonly List<T> heap;
public BinaryHeap()
{
this.heap = new List<T>();
}
public int Count => this.heap.Count;
public void Insert(T item)
{
this.heap.Add(item);
... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using DataLayer.Entities;
namespace DataLayer.Repositories
{
public interface ICrudRepository<TModel, TData> : IDisposable
where TModel : SimpleModel
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RecipeHolder : Singleton<RecipeHolder> {
public List<Recipe> recipeList;
public Recipe GetRandomRecipe()
{
return recipeList[Random.Range(0,recipeList.Count)];
}
/// <summary>
/// returns a r... |
using System;
using System.Windows.Input;
namespace Polaris.ViewModels {
/// <summary>
/// デリゲートコマンド
/// </summary>
public class DelegateCommand : ICommand {
/// <summary>
/// ctor
/// </summary>
public DelegateCommand( Action execute ) : this( execute, () => true ) { }
/// <summary>
/// ctor
///... |
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Interacciones : MonoBehaviour
{
public GameObject todasLasMonedas;
public GameObject victoriaUI;
public Text textoMonedas;
int maxMonedas;
int monedas;
void Start()
{
maxMonedas = todasLasMone... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace SimpleCrawler.Crawler
{
public class CrawlerBase : ICrawler
... |
using System.Collections.Generic;
using Witsml.Data;
using Witsml.Data.Measures;
using Witsml.Extensions;
namespace WitsmlExplorer.Api.Query
{
public static class TrajectoryQueries
{
public static WitsmlTrajectories GetWitsmlTrajectoryByWellbore(string wellUid, string wellboreUid)
{
... |
using Backend.Service.RoomAndEquipment;
using GraphicalEditorServer.Controllers;
using GraphicalEditorServerTests.DataFactory;
using Microsoft.AspNetCore.Mvc;
using Model.Manager;
using Service.RoomAndEquipment;
using Xunit;
namespace GraphicalEditorServerTests.UnitTest
{
public class EquipmentControllerTest
... |
namespace _06._MemoryStreams
{
using System;
using System.IO;
using System.Text;
public class Startup
{
public static void Main()
{
string text = "Hello this is course of CSharp Advanced!";
byte[] bytes = Encoding.UTF8.GetBytes(text);
MemoryStre... |
using System;
public static class MathHelper {
public static int toNearestPowerOf2(int x) {
return (int) Math.Pow(2, Math.Round(Math.Log(x) / Math.Log(2)));
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CEMAPI.Models
{
public class DetailSOADTO
{
public DetailSOADTO()
{
OfferId = 0;
UnitId = 0;
SumOfOfferPriceElements = 0;
Customization = 0;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRAP.WebAPI.Enums;
namespace IRAP.WebAPI.Exchange.SCES
{
public class TGetDeliveryOrdersOnRoad : TCustomWebAPICall
{
public TGetDeliveryOrdersOnRoad(
string webAPIUrl,
TCon... |
namespace Allyn.Infrastructure.Api.WeChat.Menu
{
public class MenuApi
{
public static string Get() {
string url = string.Format("https://api.weixin.qq.com/cgi-bin/menu/get?access_token={0}", ComApi.GetAccessToken().access_token);
string result = HttpHelper.Get(url);
... |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using System.Text;
using System.Xml.Linq;
using System.Linq;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace jsonlistview
{
... |
using NUnit.Framework;
using NUnit.Framework.Internal;
using UniversityIot.VitocontrolApi;
using Adam;
namespace UniversityIot.VitocontrolApi.Tests
{
[TestFixture]
public class Class1
{
[Test]
public void StringExtensionIsBlueAPrimaryColorTest()
{
// Arrange
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HotspotHandler : MonoBehaviour {
public GameObject itemOnHotspot;
GameObject prompt, spawner,client;
GameObject spawned;
bool readInput;
// Use this for initialization
void Start ()
{
prompt = ... |
namespace InoDrive.Domain.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Years : DbMigration
{
public override void Up()
{
AddColumn("dbo.AspNetUsers", "YearOfBirth", c => c.Int());
AddColumn("dbo.AspNetUsers", "YearOfSta... |
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text.RegularExpression... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.IO;
using MySql.Data.MySqlClient;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.SSO
{
public class PortalLink
{
public int Ordinal { get; set; }
public int PortalID { get; set; }
public string PortalName { get; set; }
public bool Is... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace FinalExamNew.Dal
{
public class Slika
{
[Key,Column(Order =0)]
public string SlikaId { get... |
using System;
using System.Collections.Generic;
using System.IO;
namespace CC.Utilities.Configuration
{
public class ConfigurationException:Exception
{
public ConfigurationException(string message):base(message)
{
}
public ConfigurationException(string message, Exception inner):base(message, inner)
{
}
... |
using System;
using System.Linq;
namespace Algorithms.Lib.GraphsAlghorithms.Trees
{
public class PartSortedTree<T> where T : IComparable<T>
{
readonly int ChildLimit = 3;
bool IsFree(Node<T> node) => node.Children.Count < ChildLimit;
Node<T> NextLast() => LastFree.Children.First();
... |
using Fbtc.Domain.Entities;
using System.Collections.Generic;
namespace Fbtc.Application.Interfaces
{
public interface IAssinaturaAnuidadeApplication
{
IEnumerable<AssinaturaAnuidade> GetAll();
AssinaturaAnuidadeDao GetAssinaturaAnuidadeById(int id);
string Save(AssinaturaAnuidadeDao... |
using System.Linq;
using AKCore.DataModel;
using AKCore.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AKCore.Controllers
{
[Route("Log")]
[Authorize(Roles = "SuperNintendo")]
public class LogController : Controller
{
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using UploadFiles.Models;
namespace UploadFiles.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
... |
using System.ComponentModel.DataAnnotations;
using Pobs.Domain.Entities;
namespace Pobs.Web.Models.Watching
{
public class WatchingQuestionListItemModel
{
public WatchingQuestionListItemModel() { }
public WatchingQuestionListItemModel(Watch watch)
{
this.WatchId = ... |
using System;
using UnityEngine;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// IPair of type `<CollisionGameObject>`. Inherits from `IPair<CollisionGameObject>`.
/// </summary>
[Serializable]
public struct CollisionGameObjectPair : IPair<CollisionGameObje... |
using FluentAssertions;
using Simple.Expressions;
using Simple.Statements;
using Xunit;
namespace Simple.Tests
{
public class MachineTests
{
[Fact]
public void GivenAReducibleStatement_WhenRunIsCalled_TheStatementIsReduced()
{
var environment = Environment.Empty;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace DMS.Account
{
public partial class Login : System.Web.UI.Page
{
Transaction tran = new Transaction();
protected void page_PreInit(object sender, ... |
using System;
namespace Rectangle
{
class Program
{
static void Main(string[] args)
{
double a = double.Parse(Console.ReadLine());
double b = double.Parse(Console.ReadLine());
double sum = (double)(a * b);
Console.WriteLine(sum);
}
}
... |
using Flunt.Notifications;
using Flunt.Validations;
namespace Seguim.Netcore.Store.Domain.StoreContext.ValueObjects
{
public class Name : Notifiable
{
public Name(string firstName, string lastName)
{
FirstName = firstName;
LastName = lastName;
Ad... |
public class DestructibleWall : GameItem
{
public override void OnHit()
{
Destroy(gameObject);
}
}
|
using System.Windows.Media;
namespace Crystal.Plot2D.Common
{
/// <summary>
/// Contains some predefined linear palettes.
/// </summary>
public static class LinearPalettes
{
private const double geoHeight = 8845 + 400;
/// <summary>
/// Gets the palette for geo height map visualization.
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abhs.Common.Enums
{
public enum EnumWeek
{
周日 = 0,
周一 = 1,
周二 = 2,
周三 = 3,
周四 = 4,
周五 = 5,
周六 = 6
}
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Airelax.Application.Account;
using Airelax.Application.Account.Dtos.Request;
using Airelax.Application.Account.Dtos.Response;
using Airelax.Defines;
using Airelax.Domain.Members.Defines;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspN... |
using CellsSimulation.Abstact;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CellsSimulation
{
public delegate bool KeyDelegate(ref int x,ref int y, PressEvent press);
public class PressEvent: EventArgs
{
... |
using Alabo.Extensions;
using Newtonsoft.Json;
using StackExchange.Redis;
using System;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Alabo.Cache.Redis {
/// <summary>
/// Class RedisObjectCache.
/// </summary>
internal class RedisObjectCache : IOb... |
using ParrisConnection.ServiceLayer.Models;
namespace ParrisConnection.ServiceLayer.Services.Wall
{
public interface IWallService
{
WallViewModel GetWallData();
}
} |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Models;
using FiiiCoin.Wallet.Win.Biz.Services;
using System.Collections.Generic;
namespace FiiiCoin.Wallet.Win.Biz.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tower : MonoBehaviour
{
[SerializeField]
private float range;
// [SerializeField]
// private float damage;
[SerializeField]
private float cooldown; // time between shots;
private float nextTimeTo... |
using Discord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestCommons.DiscordImpls {
public class MockUserMessage : IUserMessage {
public IUser Author { get; set; }
public IMessageChannel Channel { get; set; }
... |
using System.Collections.Generic;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace DealOrNoDeal.View.UpdateGUI
{
/// <summary>
/// Holds the GUI behavior for a briefcase button click
///
/// Author: Alex DeCesare
/// Version: 05-September-2021
/// </summary>
public static c... |
using System.Collections.Generic;
using System.IO;
using ICSharpCode.SharpZipLib.Zip;
namespace DelftTools.Utils.IO
{
public static class ZipFileUtils
{
//todo add callback function to report when extraction is finished. use separate thread?
public static void Extract(string zipFile, string de... |
using System;
namespace LearnLifeConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
/// <summary>
/// 异步和多线程学习,测试
/// </summary>
static void AsyncDemo()
{
Console.WriteLine("请... |
using System;
using Infrostructure.Enums;
namespace DomainModel.StatePattern.OrderState
{
/// <summary>
/// خریداری شده
/// </summary>
public class Bought:StateBase
{
public Bought()
{
OrderStateEnum = OrderStateEnum.Bought;
}
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using SimpleJSON;
public class SceneLoader : MonoBehaviour {
private bool loadScene = false;
public string device_id = "";
[SerializeField]
private string scene;
[SerializeField]
private string version;
[SerializeField]
private GameOb... |
using Lucene.Net.Documents;
using Newtonsoft.Json;
using System;
using System.ComponentModel;
using System.Globalization;
namespace Masuit.LuceneEFCore.SearchEngine.Extensions
{
public static class DocumentExtension
{
/// <summary>
/// 获取文档的值
/// </summary>
/// <param name="doc... |
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace TripLog
{
using Ninject.Modules;
using Xamarin.Forms;
public partial class App : Application
{
public App(params INinjectModule[] platformModules)
{
var factory = new TripLogFa... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
namespace EasyDev.PL
{
/// <summary>
/// 数据源对象接口
/// </summary>
public interface IDataSourceObject
{
DbConnection GetDBConnection();
DbParameter GetDBParameter();
D... |
namespace ClientSimulator
{
class Constants
{
public static int clientSize = 14000;
public static bool keepRunning = true;
public static string loadBLNCIP = "10.105.26.185";
public static string owner = "Rafay";
//public static string owner = "Danish";
//public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kuromori
{
public class EBEvent
{
//specific event with event id
//https://www.eventbriteapi.com/v3/events/33114905574/?token=XVYY3RQCP54ZJKZ2UF2L
public strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Dynamic_Programming
{
class LongestPalindromicSubsequence
{
/// <summary>
/// We need to find the longest subsequence in the string str which is a pal... |
namespace SubC.Attachments {
using UnityEngine.Events;
public enum AttachEventType {
// attachment events
OnWillAttach,
OnAttached,
OnWillDetach,
OnDetached,
OnConnected,
OnDisconnected,
// per-object events
OnObjectWillJoin,
OnObje... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SimpleSpace.UI
{
[RequireComponent(typeof(Animator),typeof(Canvas))]
public class UIWindow : MonoBehaviour
{
[SerializeField]
private Animator _animator = null;
[SerializeField]
privat... |
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace test.Models.Identity
{
public class AppUser : IdentityUser
{
public string Name { ... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTO.DataCollect
{
public class DB_Machine
{
SqlConnectionStringBuilder _strbuild = new SqlConnectionStringBuilder();
public SqlConnection... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using GameSparks.Api.Responses;
using GameSparks.Core;
using GameSparks.NetworkFramework.Extention;
using GameSparks.RT;
using NetworkFramework.Attributes;
using ... |
using System;
using System.Runtime.Serialization;
using Aquamonix.Mobile.Lib.Extensions;
namespace Aquamonix.Mobile.Lib.Domain
{
[DataContract]
public class Pump : IDomainObjectWithId, ICloneable<Pump>, IMergeable<Pump>
{
[DataMember(Name = PropertyNames.Id)]
public string Id { get; set; }
[DataMember(Name ... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using Foundation;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Binding.iOS.Views;
using MvvmCross.iOS.Views;
using ResidentAppCross.iOS.Extensions;
using ResidentAppCross.iOS.Views;
using ResidentAppCros... |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Share... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
public class MyContext:DbContext
{
public DbSet<Product> Products;
public DbSet<Vendor> Vendors { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.Entity;
namespace DataAccessLayer
{
public class UnitOfWork: IDisposable
{
private SchoolDBEntities context = new SchoolDBEntities();
private... |
using Framework.Core.Common;
namespace Tests.Data.Oberon
{
public class Individual : Contact
{
public override ContactType Type
{
get { return ContactType.Individual; }
}
public string AssistantName { get; set; }
//internal NewYorkIndividualComp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bridge
{
class Telefono
{
public virtual void Llamar(int numero)
{
Console.WriteLine("Llamando al número {0}", numero);
}
}
}
|
using Mirror;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.SceneManagement;
public class NetworkManagerGhostGame : NetworkManager
{
[SerializeField] private int minPlayers = 1;
[Scene] [SerializeField] private string menuScene = str... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Windows.Input;
using PlanMGMT.Utility;
//----------------------------------------------------------------*/
// 版权所有:
// 文 件 名:ConfigViewModel.cs
// 功能描述:
// 修改描述:
//--------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BMPFilter
{
class BitmapHeader
{
public ushort bfType;
public uint bfSize;
public ushort bfReserved1;
public ushort bfReserved2;
public uint bfOffBits;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class ResultsScript : MonoBehaviour {
public TMPro.TextMeshProUGUI text;
public Missions missionSystem;
public GameObject food;
public GameObject water;
public GameObject tools;
void Start() {
int po... |
using System.Collections.Generic;
using System.Linq;
using Taggart.Data.Models;
namespace Taggart.Data
{
public class DataAccess
{
public static ICollection<LibraryInfo> GetLibrariesInfo()
{
using (var db = new TrackLibraryContext())
{
var q = from l in ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
public class HealthPickup1 : MonoBehaviour
{
public int healAmount;
public GameObject heart;
PhotonView heartPhoton;
public GameObject sound;
void Start()
{
heart =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.