text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GroundEleBtn : MonoBehaviour
{
[HideInInspector] public GameObject Go;
public UnityEngine.UI.Text NameText, RequiredMatsText;
public void OnClick()
{
MarketManger.SelectBuilding(Go);
}
} |
using System.Collections.Generic; using System;
using System.Text;
using BrainDuelsLib.view.forms;
using BrainDuelsLib.model.entities;
using BrainDuelsLib.utils;
using BrainDuelsLib.web;
using BrainDuelsLib.web.exceptions;
using BrainDuelsLib.view;
using BrainDuelsLib.utils.pic;
using BrainDuelsLib.threads;
nam... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
namespace Degree.Models.Dto
{
public class WordSentiment
{
public string Word { get; set; }
public double AvgPositiveScore { get; set; }
public double AvgNeutralScore { get; set; }
public d... |
using AutoMapper;
using Contoso.Bsl.Business.Requests;
using Contoso.Bsl.Business.Responses;
using Contoso.Bsl.Utils;
using Contoso.Repositories;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Contoso.Bsl.Controllers
{
[Produces("application/json")]
[Route("api/Entity")]
public cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bullet : MonoBehaviour
{
public float speed = 20f;
public Rigidbody2D rb;
public float TimeToLive = 5f;
private Animator animator;
private AudioSource audio;
// Start is called before the first frame u... |
// C# Excel Writer library v2.0
// by Serhiy Perevoznyk, 2008-2018
namespace Export.XLS
{
internal class FormatInfo
{
private CellInfo cell;
private int formatIndex;
private int fontIndex;
public FormatInfo(CellInfo cell)
{
this.cell = cell;
if... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BASETOOL
{
public class EncoderConverter
{
public EncoderConverter()
{
}
public static string Convert(string content,Encoding formEncoding,Encoding toEncoding)
{
byte[] buff = form... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SiscomSoft.Models
{
[Table("Facturas")]
public class Factura
{
[Key]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class CommonVars {
public static bool selected1, selected2;
public enum Family {NoParent, Grandparent, Parent, Child, Leaf};
public enum axis {x,y,z};
public static Vector3 offset = new Vector3(0.1f,0.1f,0.1f);
public st... |
using MongoDB.Driver;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WishListLabs.Models;
namespace WishListLabs.Repository
{
public class WishesRepository : BaseRepository<Wishes>, IWishesRepository
{
private readonly I... |
using Newtonsoft.Json;
using NUnit.Framework;
using RestSharp;
using System.Net;
namespace BakeryTests
{
public sealed class Owner
{
private RestClient _client;
public Owner InitializeConnection(RestClient client)
{
_client = client ?? throw new System.ArgumentNullExceptio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace anagram
{
public class Anagram
{
public string W1 { get; set; }
public string W2{ get; set; }
}
}
|
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZUS.Zeus.Models.Validators
{
public class BikeValidator : AbstractValidator<Bike>
{
public BikeValidator()
{
RuleFor(p => p.Color)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DinosaurTailRotation : MonoBehaviour {
public GameObject Tail;
public GameObject aim;
public float aimSpeed;
public int rotationSpeed;
void OnTriggerStay (Collider other)
{
string playerName = other.gameObject.name... |
using FluentAssertions;
using HangmanGame.App.Services;
using HangmanGame.App.Services.Interfaces;
using Xunit;
namespace HangmanGame.UnitTests.Services
{
public class VectorProviderTests
{
private readonly IVectorProvider _vectorProvider;
private const string Vector1 = @"
------|
... |
using LuaInterface;
using SLua;
using System;
using System.Collections.Generic;
using UnityEngine;
public class Lua_UnityEngine_Component : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Component o = new Component();
LuaObject.pushVa... |
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Da... |
using System.Collections.Generic;
using System.Text;
using System;
namespace LinnworksAPI
{
public class WarehouseBinRack
{
public Int32 BinRackId;
public Int32 BinRackTypeId;
public String BinRack;
public GeoPosition GeoPosition;
public Dimension Dimension;
public Int32 RoutingSequence;
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MGK.Basecore.Xml.Data
{
// where to put this ?
public class Tarih_Date
{
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Currency")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Entity;
using System.Data.Entity.Validation;
using NBTM.Repository.Interfaces;
using NBTM.Repository.Models;
using System.Linq.Expressions;
using System.Reflection;
using log4net;
//using LinqKit;
namespace NBTM.Reposit... |
using UnityEngine;
public class WeaponController : MonoBehaviour{
[Header("Objects to Load")]
[SerializeField] private ObjectPooler _bulletPool;
[SerializeField] private Transform _muzzle;
[SerializeField] private AudioClip _shootSfx;
[Header("Ammo")]
[SerializeField] public int _maxAmmo;
... |
using System;
namespace RealEstate.BusinessObjects
{
public class Categorys
{
#region ***** Fields & Properties *****
private int _CategoryID;
public int CategoryID
{
get
{
return _CategoryID;
}
set
{
_CategoryID = value;
}
}
private string _Tag;
public string Tag
{
... |
namespace Faust.PetShopApp.MySecurity.Data
{
public interface ISecurityContextInitializer
{
void Initialize(SecurityContext context);
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pulse : MonoBehaviour
{
[SerializeField] float _current;
private void Start()
{
_current = 0.5f;
}
// Update is called once per frame
void Update()
{
_current = Mathf... |
using Prj.BusinessLogic.Interfaces;
using Prj.BusinessLogic.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Prj.Utilities;
namespace Prj.Web.Areas.Admin.Controllers
{
[Authorize]
public class AccountController : BaseController
... |
using System.Collections;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
public class SocketIoClientHandshake {
private string key1 = null;
private string key2 = null;
private byte[] key3 = null;
public byte[] expectedServerResponse ... |
// ----------------------------------------------------------------------------------------------------------------------------------------
// <copyright file="IConnectionMessageHandler.cs" company="David Eiwen">
// Copyright © 2016 by David Eiwen
// </copyright>
// <author>David Eiwen</author>
// <summary>
// This fi... |
namespace Bjerner.LoremIpsum.Providers {
public class UmbracoProvider : Provider {
public override string PreText {
get { return "Umbraco ipsum dolor sit amet"; }
}
public override string[] Words {
get {
return new[] {
"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Master.Contract;
namespace Master.Contract
{
public class Merchant : IContract
{
public Merchant() { }
public Int16 BranchID { get; set; }
public string MerchantCode { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HCL.Academy.Model;
using HCLAcademy.Controllers;
using System.Threading.Tasks;
using System.Net.Http;
using HCLAcademy.Util;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCL.Acad... |
// -----------------------------------------------------------------------
// <copyright file="CodegenTypeAttribute.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </c... |
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.L_ADD_T")]
public partial class AddressLocatorType
{
... |
using AppDuoXF.Interfaces;
using Xamarin.Forms;
namespace AppDuoXF.Views
{
public partial class RankingView : ContentPage, ITabPageIcons
{
public RankingView()
{
InitializeComponent();
}
public string GetIcon()
{
return "tab_ranking";
}
... |
#load "..\Shared\AirtableHandler.csx"
#load "MerchandiseItem.csx"
#load "..\Shared\NotificationManager.csx"
using AirtableApiClient;
using HtmlAgilityPack;
private static TraceWriter _logger;
private static AirtableHandler _airtableHandler;
private static NotificationManager _notificationManager;
public static async... |
using System.Collections.Generic;
namespace Bindable.Linq.Interfaces.Internal
{
internal interface IEditableBindableGrouping<TKey, TElement> : IBindableGrouping<TKey, TElement>
{
/// <summary>
/// Adds a range of elements to the collection.
/// </summary>
/// <param nam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scrPlayerGlobalCooldown : MonoBehaviour {
[Header("Cooldown")]
public float currentGlobalCooldown;
private void Update()
{
if(!GetComponent<scrPlayerPaused>().playerPaused)
GlobalCooldownU... |
using UnityEngine;
using System.Collections;
using uFrame.Attributes;
using Leap;
using System;
[ActionLibrary, uFrameCategory ("Hand")]
public static class HandUtils
{
public static void getLeftHandIfNotNull (out Hand left, Action success)
{
Frame frame = FrameUtils.getFrame ();
for (int i = 0; i < frame.Ha... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HaloHistory.Business.Entities;
using HaloHistory.Business.Entities.Metadata;
using HaloSharp;
using HaloSharp.Extension;
using HaloSharp.Model.Metadata;
using HaloSharp.Query.Metadata;
using Newtonsoft.Json;
namespa... |
namespace Bjerner.LoremIpsum {
public enum LoremIpsumType {
Words,
WordsAndFillers
}
}
|
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
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 liteCMS.Web.Contro... |
using System;
namespace JiraExport
{
public sealed class JiraAttachment : IEquatable<JiraAttachment>
{
public string Id { get; internal set; }
public string Filename { get; internal set; }
public string Url { get; internal set; }
public string ThumbUrl { get; internal set; }
... |
namespace Requestrr.WebApi.RequestrrBot.Movies
{
public class MovieUserRequester
{
public string UserId { get; }
public string Username { get; }
public MovieUserRequester(string userId, string username)
{
UserId = userId;
Username = username;
}
... |
using BPiaoBao.SystemSetting.Domain.Models.SMS;
using JoveZhao.Framework.SMS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JoveZhao.Framework.Expand;
using BPiaoBao.Common.Enums;
using JoveZhao.Framework;
using BPiaoBao.Common;
namespace BPiaoBao.SystemSetting.Domain.Mod... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ConsumableItemController : MonoBehaviour {
[SerializeField]
GameObject itemPrefab;
private List<GameObject> items;
int itemIndex;
[SerializeField]
GameObject itemSele... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test5._5andtest5._6
{
class Program
{
static void Main(string[] args)
{
///////////////////// 试题5.5 /////////////////////
///
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace IoTWebApi.Models
{
public class itemsIssuedModel
{
public int itemIssuedID { get; set; }
public personModel person { get; set; }
public itemModel item { get; set; }
public bool? ite... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BasketLogic : MonoBehaviour {
private PossessivesManager possessivesManager;
private Animator anime;
private List<string> fruitList;
private BoxCollider objectCollider;
void Start() {
... |
namespace HH.RulesEngine.Data.Enums
{
public enum ShippingMethod
{
FirstClass = 1,
SecondClass = 2,
Express = 3
}
} |
using System;
using HaloSharp.Model.Metadata;
namespace HaloHistory.Business.Entities.Metadata
{
public class SeasonData : BaseDataEntity<string, Season>
{
public SeasonData()
{
}
public SeasonData(Guid id, Season data) : base(id.ToString(), data)
{
}
}
}
|
using System.ComponentModel.DataAnnotations;
namespace Dentist.ViewModels
{
public class PersonListViewModel
{
public int Id { get; set; }
[Display(Name = "Frist Name")]
[Required]
public string FirstName { get; set; }
[Display(Name = "Last Name")]
[Required]
... |
namespace XMLApiProject.Services.Models.PaymentService.XML.RequestService.Responses
{
public class BINLookup
{
public string CardIdentifier { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Darek_kancelaria.Models
{
public class PersonModel
{
public string Id { get; set; }
[Required]
[Display(Name = "Imie")]
public string Name... |
namespace WebDataDemo.Dtos;
public class CreateAuthorRequest
{
public string Name { get; set; }
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBase : MonoBehaviour, ICollider
{
public SpriteRenderer SpriteRenderer;
public Color OneDamageColor;
public Color TwoDamageColor;
public Color ThreeDamageColor;
public List<EnemyShooter... |
using System;
namespace Shunxi.Business.Tables
{
public class TemperatureRecord
{
public int Id { get; set; }
public int CellCultivationId { get; set; }
public int DeviceId { get; set; }
public double HeaterTemperature { get; set; }
public double EnvTemperature { get; s... |
using Asp.netCoreMVCCRUD.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace AspnetCoreMVCCRUD.Models
{
public class LoginModel
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32.TaskScheduler;
namespace ListenRadioResvTool
{
class Reservation
{
private const string TaskFolderName = "ListenRadioReservationTool";
private static TaskFolder taskFolder
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Account
{
class Fixed : Account
{
private int tenureYear = 5;
private int year;
public int Year
{
get { return year; }
set { year = value; }
}
public Fixed()
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Newtonsoft.Json.Linq;
namespace Microsoft.CodeAnalysis.Sarif.Multitool
{
public class SarifValidationContext : IAnalysisCont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Framework.Remote.Mobile
{
[DataContract(Name = "CxExportToCsvInfo", Namespace = "http://schemas.datacontract.org/2004/07/FulcrumWeb")]
public class CxExportToCsvInfo
{
[DataMem... |
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using Win32FileIOBenchmarkDotNet.Benchmarks.Read;
using Win32FileIOBenchmarkDotNet.Configs.Common;
namespace Win32FileIOBenchmarkDotNet.Configs.Read
{
/// <summary>
/// Implement class with benchmark settings to tes... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class PlayerMoveTest : MonoBehaviour
{
public float speed = 0.4f;
Vector2 dest = Vector2.zero;
public static Vector2 currentDirection = Vector2.right;
Vector2 nextDirectionWhenAvailab... |
namespace otus_architecture_lab_8
{
public abstract class FileParcerBase : HandlerBase
{
#region Methods
protected abstract bool CanParce(string path);
protected abstract void Parce(string path);
public override void Handle(object request)
{
if (request... |
using UnityEngine;
using System.Collections;
public class PlayShip : PlayObject {
//ship's parts
public GameObject body, wing, booster;
//max rotations on x, y, and z axes, respectively
public int maxPitch = 15;
public int maxRoll = 15;
public int maxYaw = 30;
void Start(){
generateShip();
}
// Upda... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.ComponentModel.Composition; // Export[]; reqs ref to System.ComponentModel.Composition
using IWx_Client;
using Humidity_ViewModel;
namespace Wind_Client
{
/// <summary>
/// Interaction logic for HumidityClient.xam... |
using UnityEngine;
namespace syscrawl.Game.Models
{
public class LevelGeneratorConfiguration
{
public int MinimumNodes = 20;
public int MaximumNodes = 50;
public Vector3 NodeMinimumScale = new Vector3(1, 1, 1);
public Vector3 NodeMaximumScale = new Vector3(10, 30, 30);
... |
//Class Name: FormInput.cs
//Author:Kristina VanderBoog
//Purpose: This is the state Context part of the State pattern, it interacts with the client and the state
//Date : August 14, 2020
namespace Project_3_Starter
{
//this is the state context!
public class FormInput
{
//a form object... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Programming
{
public class VowelCount_Monktalkwalks
{
public static void Main()
{
//This Program will counts the Number of Vowels in a given ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using YoctoScheduler.Core.Database;
using System.Data.SqlClient;
namespace YoctoScheduler.UnitTest.Daatabase
{
[TestClass]
public class ExecutionQueueItem_Test
{
[TestMethod]
public void ExecutionQueueItem_InsertNotNull()
... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace RO
{
public class AreaTriggerManager<T, AT> : SingleTonGO<T> where T : SingleTonGO<T>, new() where AT : AreaTrigger
{
protected AT currentTrigger;
protected List<AT> triggers = new List<AT>();
public bool Add(AT at)
{
if (!this... |
using System;
using System.Collections.Generic;
namespace SceneGraphSync
{
public class Node : Syncables.Syncable, IEquatable<Node>
{
public string Name = string.Empty;
public List<Node> Children { get; set; }
public Node Parent { get; set; }
public List<Component> Components { get; set; }
public Node()... |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Grisaia.Categories {
/// <summary>
/// Sprite part groups and other information for a specific Grisaia character.
/// </summary>
public sealed class CharacterInfo {
#region Fields
/// <summary>
/// Gets ... |
namespace LogoHandler
{
public interface ILogoDesigner
{
bool[,] CreateLogo();
}
} |
using Payroll.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Payroll.Models
{
public class Employee : Addressable
{
[Required(ErrorMessageResourceType = typeof(Resource), ErrorMessageRes... |
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
namespace Dawnfall.Helper
{
public static class Helper
{
public static void Swap<T>(IList<T> array, int i1, int i2)
{
T temp1 = arra... |
using bot_backEnd.BL.Interfaces;
using bot_backEnd.DAL.Interfaces;
using bot_backEnd.Data;
using bot_backEnd.Models.DbModels;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.DAL
... |
#region 版本说明
/*****************************************************************************
*
* 项 目 :
* 作 者 : 冯兴彬
* 创建时间 : 2010-5-27 10:23:16
*
* Copyright (C) 2008 - 鹏业软件公司
*
*****************************************************************************/
#endregion
using System;
using System.Collec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.IO;
using System.Xml;
namespace JoveZhao.Framework.SMS
{
public class SMSDefaultService : ISMSService
{
public Tuple<int, bool> SMS(string to, string message)
... |
using System.Collections.Generic;
namespace Shared.Models
{
public class Cup
{
public ICollection<CupRound> Type { get; set; }
}
} |
using ClosedXML.Excel;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Spreadsheet;
namespace Kit.Services.Excel
{
public class ExcelService : IDisposable
{
public string FilePath { get; private set; }
public ClosedXML.Excel.XLWorkbook Document { get; private set; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading;
namespace JoveZhao.Framework.EFRepository.ContextStorage
{
public class ThreadDbContextStorageContainer<T>:IDbCo... |
// Accord Machine Learning Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Licens... |
namespace RealEstate.Web.Api.Models.RealEstates
{
using System;
using System.Collections.Generic;
using AutoMapper;
using Comments;
using Data.Models;
using Infrastructure.Mappings;
public class ListedRealEstateResponseModelForPublic : IMapFrom<RealEstate>, IHaveCustomMappings, IRealEstat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BarberShop.Domains
{
public abstract class Person
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public int Age { get;... |
namespace System.Collections.Immutable
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using Validation;
public static class ImmutableSortedDictionary
{
public static ImmutableSortedDictionary<TKey, TValue> Create<TKey, TV... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test5._7andtest5._8
{
class Program
{
static void Main(string[] args)
{
///////////////////// 试题5.7 /////////////////////
///
... |
using Assets.Scripts.Overlay.MainMenu;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UpdateAmountOfCharacters : MonoBehaviour
{
public Text amountText;
private int lastAmount = 0;
// Update is called once per frame
void Update()
... |
using System;
using System.Collections.Generic;
namespace NGrams.Extensions
{
public static class ICollectionExtensions
{
public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> toAdd){
foreach (var addition in toAdd){
collection.Add(addition);
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace GistManager.GistService
{
public abstract class AuthenticationHandlerBase : IAuthenticationHandler
{
private const str... |
namespace EventsKob.Dtos
{
public class FollowsDto
{
public string EventMakerId { get; set; }
}
} |
using Lib.Refactor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Refactor.Repository.Interface
{
/// <summary>
/// Interface ISupplierRepository
/// </summary>
public interface ISupplierRepository
{
/// <summa... |
using UnityEngine;
using System.Collections;
public class LevelChoose : MonoBehaviour {
public int level;
public Game gameClass;
private bool isActive;
// Use this for initialization
void Start () {
if (!gameClass)
gameClass = GameObject.FindGameObjectWithTag ("GameScript").GetComponent<Game>();
}
void... |
using Maverick.Xrm.DI.DataObjects;
using Maverick.Xrm.DI.Extensions;
using Maverick.XTB.DI.DataObjects;
using Maverick.XTB.DI.Extensions;
using Microsoft.Crm.Sdk.Messages;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Messages;
using Microsoft.Xrm.Sdk.Metadata;
using Microsoft.Xrm.Sdk.Query;
using Microsoft.Xrm.Too... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Hotelo.Pages.Hotels
{
public... |
using System;
using System.Threading.Tasks;
using GreenPipes;
using MassTransit;
namespace Sandbox.Blocks
{
public class TrackingSink : IBlock
{
public string Name => "TrackingSink";
public void Setup(IReceiveEndpointConfigurator x)
{
x.UseRateLimit(10);
... |
using CityReport.Services;
using CityReport.Services.Models;
using Moq;
using NUnit.Framework;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace CityReport.Tests.Unit
{
[TestFixture]
public class TestCityReportServ... |
using Caliburn.Micro;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TacticalMaddiAdminTool.ViewModels
{
public class MainViewModel : Conductor<IScreen>.Collection.OneActive
{
public MainViewModel(SetsViewModel setsViewModel, CollectionsViewModel collec... |
using UnityEngine;
public class ResetScript : MonoBehaviour {
void OnTriggerEnter(Collider coll) {
if(coll.gameObject.tag == "car") {
coll.gameObject.transform.position = new Vector3(0, 5, 0);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.