text stringlengths 13 6.01M |
|---|
using System;
using System.Linq;
using System.Reflection;
namespace TRPO_labe_9
{
class Program
{
static void Main(string[] args)
{
var type = typeof(Animal);
Console.WriteLine("\nИнформация о конструкторах: ");
Console.WriteLine(String.Join(Environment.NewL... |
using Crossroads.Web.Common.MinistryPlatform;
using Newtonsoft.Json;
namespace MinistryPlatform.Translation.Models.DTO
{
[MpRestApiTable(Name = "cr_Printer_Maps")]
public class MpPrinterMapDto
{
[JsonProperty(PropertyName = "Printer_Map_ID")]
public int PrinterMapId { get; set; }
... |
using System;
using System.Collections.Generic;
namespace HospitalSystem.Models
{
public partial class medicine_detail
{
public long MedicineDetailID { get; set; }
public Nullable<long> MedicineID { get; set; }
public Nullable<long> PrescriptionID { get; set; }
public ... |
using System;
namespace AutoTests.Framework.Web.Attributes
{
public class FromLocatorAttribute : Attribute
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Results
{
class ActionStabHit : IWeaponHit
{
public ICurio Origin { get; set; }
public ICurio Target { get; set; }
public ActionSwordStab Stab;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Press : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler
{
public ButtonSide bSide;
static bool isKeyPressed;
Maze mazer;
// St... |
using System;
using Phenix.Core.Data;
namespace Phenix.Test.使用指南._21._5
{
/// <summary>
///
/// </summary>
[Serializable]
[Phenix.Core.Mapping.Class("Phenix.Test.使用指南._21._5.Business.AssemblyCriteria2", FriendlyName = "")]
public class AssemblyCriteria2 : CriteriaBase
{
[Phenix.Core.Mapping.Criteria... |
<Query Kind="Expression">
<Connection>
<ID>e076134a-52b5-423d-8e02-29a44a57cdc8</ID>
<Persist>true</Persist>
<Server>.</Server>
<Database>WestWind</Database>
</Connection>
</Query>
from company in Suppliers
select new
{
Supplier = company.CompanyName,
Contact = company.ContactName,
Phone = co... |
/*
******************************************************************************
* @file : Program.cs
* @Copyright: ViewTool
* @Revision : ver 1.0
* @Date : 2015/02/09 17:33
* @brief : Program demo
******************************************************************************
* @attentio... |
using fNbt;
using System;
using UnityEngine;
public static class NbtExtension {
#region setters:
public static void setTag(this NbtCompound tag, string name, bool value) {
tag.setTag(name, value ? (byte)1 : (byte)0);
}
public static void setTag(this NbtCompound tag, string name, byte value)... |
using System;
using System.Globalization;
using System.Threading;
using Atc.Helpers;
using Atc.Tests.XUnitTestData;
using FluentAssertions;
using Xunit;
namespace Atc.Tests.Helpers.Enums
{
public class EnumHelperTests
{
[Theory]
[InlineData("On", OnOffType.On)]
[InlineData("Off", OnOffT... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace CODE.Framework.Wpf.Mvvm
{
/// <summary>
/// Interface IViewActionPolicy
/// </summary>
public interface IViewActionPolicy
{
/// <summary>
/// Provides a way to impact a collection o... |
using System;
namespace SchemaChanger
{
public class Note
{
public Note(string text)
{
Id = Guid.NewGuid();
Text = text;
Date = DateTime.Now;
}
public Guid Id { get; set; }
public string Text { get; set; }
public DateTime Da... |
using System.Linq;
using Teste_CRUD_CiaTecnica.Domain.Entities;
using Teste_CRUD_CiaTecnica.Domain.Interfaces.Repositories;
using Teste_CRUD_CiaTecnica.Domain.Interfaces.Services;
namespace Teste_CRUD_CiaTecnica.Domain.Services
{
public class PessoaFisicaService : ServiceBase<PessoaFisica>, IPessoaFisicaService
... |
using System.Diagnostics;
using System.Reflection;
using BDTest.Attributes;
namespace BDTest.Helpers;
public static class TestInformationAttributeHelper
{
public static TestInformationAttribute[] GetTestInformationAttributes()
{
var stackFrame = StackFramesHelper.GetStackFrames().FirstOrDefault(it =>
... |
using GraphQL;
namespace app
{
public class Query
{
[GraphQLMetadata("hello")]
public string GetHello()
{
return "World";
}
}
} |
using System;
using System.Text.RegularExpressions;
class ReplaceaTag
{
static void Main()
{
string text = System.IO.File.ReadAllText(@"..\..\html.htm");
Regex myRegex = new Regex(@"<a (?s)(?<rest>.*?)<\/a>");
var replaced = myRegex.Replace(text, "[URL ${rest}[/URL]");
Console.WriteLine(replaced);
... |
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 Oracle.ManagedDataAccess.Client;
namespace EESSP
{
public partial class FormAfisare : Form
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Uintra.Core.Controls.LightboxGallery;
using Uintra.Core.Member.Models;
using Uintra.Features.Links.Models;
using Uintra.Features.Location.Models;
namespace Uintra.Core.Activity.Models
{
public class IntranetActivityDetailsViewModel : IHaveLi... |
namespace EmptyFlow.ConsolePresentation.Enumerators {
public class ScrollViewer : Panel {
}
} |
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 Negocio;
using Globales;
using Configuracion;
namespace AerolineaFrba.Compra
{
public partial ... |
using CRUD_With_CF.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
//
// GET: /Emp/
public class CRUDController : Controller
{
private Emp_Context db = new Emp_Context();
... |
using System;
using System.Collections.ObjectModel;
using Framework.Core.Common;
using Framework.Core.Config;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tests.Pages.Oberon.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Contribution
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HyperbolicTriangle : MonoBehaviour
{
//Set vertices in spherical coordinates
public float rho1 = 1.0f; // radius, <=1
public float ntheta1 = 0.0f; // azimuthal angle/pi
public float nphi1 = 0.0f; // an... |
using DomainModel.Contracts;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using Dapper;
using DapperExtensions;
namespace DataAccess
{
public class Repository<T> : IRepository<T> where T : class
... |
namespace TripDestination.Data.Models
{
public enum NotificationKey
{
// Code 2 - Trip related
JoinTripRequest = 21,
JoinTripApproved = 22,
JoinTripDisApproved = 23,
FinishTripDriverRequest = 24,
TripFinished = 25,
TripChanged = 26,
DriverRemovePa... |
using BelindaWrightCPA.Content.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace BelindaWrightCPA.Models
{
public class LoanCalculatorModel : PageModel
{
public List<LoanCalculatorItemModel> LoanCalcul... |
using System;
using UnityEngine.Events;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// None generic Unity Event of type `Void`. Inherits from `UnityEvent<Void>`.
/// </summary>
[Serializable]
public sealed class VoidUnityEvent : UnityEvent<Void> { }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataService_BpmOnline_CRUD
{
public static class ReqestMethod
{
public const string Patch = "PATCH";
public const string Put = "PUT";
public const string Merge ... |
using ClassLibrary;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsForms
{
public partial class showu... |
using System.Collections.Generic;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Parts;
using Newtonsoft.Json.Linq;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Parts.AutoroutePartGraphSyncerTests
{
public class AutoroutePartGraphSyncerAddSyncComponen... |
namespace DifferentNumbers
{
using System;
public class StartUp
{
public static void Main()
{
int firstNumber = int.Parse(Console.ReadLine());
int secondNumber = int.Parse(Console.ReadLine());
if ((secondNumber - firstNumber) < 5)
Consol... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AIHomework3ProgrammingAssignment
{
class Program
{
static void addConnectingCitiesToEachOther(City c1, City c2, int milesBetween)
{
// Connecting two cities... |
using System;
namespace UBIProve.VirtualID
{
public class UBIVirtualID
{
public string StudentId { get; set; }
public string StudentName { get; set; }
public string StudentCourse { get; set; }
public DateTime TokenValidity { get; set; }
public string SerializedToken { g... |
/******************************************************************************
* File : pLab_KJPOCEndDialog.cs
* Lisence : BSD 3-Clause License
* Copyright : Lapland University of Applied Sciences
* Authors : Arto Söderström
* BSD 3-Clause License
*
* Copyright (c) 2019, Lapland University of App... |
using UnityEngine;
using System.Collections;
public class GameManager : MonoBehaviour {
public static bool level_1_complete = false;
public static bool level_2_complete = false;
public static bool level_3_complete = false;
public static bool level_4_complete = false;
public static bool level_5_complete = false;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MyForum.Infrastructure.Exceptions
{
public class DeactivateDbException : ForumBaseException
{
private const string DeactivateDbExceptionMessage = GlobalConstants.DeactivateDbExceptionMessage;
private readonly string e... |
namespace TripDestination.Services.Web.Providers.Contracts
{
using System;
using System.Collections.Generic;
using TripDestination.Web.Infrastructure.Models;
using System.Linq;
public interface IDateProvider
{
IQueryable<WeekDay> GetWeekAhedDays(DateTime chosenDay);
DateTime C... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Vjezba2
{
public partial class Form1 : Form
{
... |
using IWshRuntimeLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaletteInstaller.utils
{
class ShortCutTool
{
public void CreateShortcut(string shortcutName, string shortcutPath, string targetF... |
using Discord.Commands;
using JhinBot.Utils;
using System.Threading.Tasks;
using Discord.WebSocket;
using JhinBot.Services;
using JhinBot.Preconditions;
using JhinBot.Enums;
using JhinBot.DiscordObjects;
namespace JhinBot.Modules
{
[RequireContext(ContextType.Guild), RequireChannel(BotChannelType.BotSpam)]
pu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Runtime.Serialization;
namespace PPO1
{
[DataContractAttribute]
public class Routes
{
#region Fields
[DataMemberAttribute]
private IList<Route>... |
using System;
namespace ServiceDesk.Ticketing.Domain.UserAggregate
{
public class UserRefreshModel
{
public Guid Id { set; get; }
public string SID { set; get; }
public string LoginName { set; get; }
public string DisplayName { set; get; }
public string Department { set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace SMAPIMod3
{
class PointCreate : Point
{
}
}
|
using Microsoft.EntityFrameworkCore.Migrations;
namespace Pobs.Web.Migrations
{
public partial class GetQuestionNotificationsToPush : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(@"
CREATE PROCEDURE GetQuestionNotificatio... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event of type `GameObjectPair`. Inherits from `AtomEvent<GameObjectPair>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/GameObjectPair", fileName = "GameObjectPairEvent")]
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using FISCA.DSAUtil;
using System.Xml;
using Aspose.Cells;
using System.IO;
using DevComponents.DotNetBar;
using System.Diagnostics;
using SmartSchool.Comm... |
using UnityEngine;
using System.Collections;
[System.Serializable]
public class Shield
{
/// <summary>
/// Enumarador dos tipos de escudos
/// </summary>
/// <summary>
/// Tipo de Escudo que tem
/// </summary>
[SerializeField]
private ShieldsType ShieldType;
/// <summary>
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JsonCompare
{
internal class CompareReportBuilder
{
private IEnumerable<CompareResult> _missedOnTheRight;
private IEnumerable<CompareResult> _missedOnTheLeft;
private IEnumerable<CompareResu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using System.Data;
namespace JustRipeFarm
{
public sealed class MysqlDbc
{
private static MysqlDbc instance = null;
private static MySqlConnection ... |
#if DEBUG
using AsyncClasses;
using Contracts.Callback;
using Entity;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Contracts.MPD
{
[ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(IAsyncServiceCallback),
Namespac... |
/*
* Created by: Andrew Kuekam
* Created on: 2020-02-18
* Created for: ICS3U Programming
* Daily Assignment – Day #7 - Name of Program
* This program when you click on the menu item, the sport and Team changes accordingly.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Syste... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading;
using AcceptanceTests.Common.Api.Helpers;
using AcceptanceTests.Common.Configuration.Users;
using AcceptanceTests.Common.Driver.Drivers;
using AcceptanceTests.Common.Driver.Helpers;
using AcceptanceTests.Commo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Småstad.Models;
using Småstad.Infrastructure;
using Microsoft.VisualBasic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
// For more information on enabli... |
using Grpc.Core;
using Grpc.Core.Interceptors;
using Microsoft.Extensions.Options;
using Sentry.Extensibility;
namespace Sentry.AspNetCore.Grpc;
/// <summary>
/// Sentry interceptor for ASP.NET Core gRPC
/// </summary>
public class SentryGrpcInterceptor : Interceptor
{
private readonly Func<IHub> _hubAccessor;
... |
using System;
using System.Collections.Generic;
using System.Globalization;
class DifferenceBetweenDates
{
static void Main()
{
Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!");
while (true)
{
DateTime dStartDate, dEndDate;
dStartDate = D... |
using System.Windows;
using System.Windows.Controls;
namespace Crystal.Plot2D.Charts
{
/// <summary>
/// Represents a horizontal scroll bar on the borrom of <see cref="PlotterBase"/>.
/// Uses Plotter.Plotter.Viewport.DataDomain property as a source of data about current position and position limits.
/// </su... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class BrokenObjectController : MonoBehaviourIgnoreGui
{
//主体对象
public Transform mainObject = null;
//喷射的粒子列表
public ParticleSystem[] particleList = null;
[HideInInspector]
public SenceObjectModControl.PropParticleStruct[]... |
using Sentry.Extensibility;
using Sentry.Internal.Http;
namespace Sentry.Internal;
internal class SdkComposer
{
private readonly SentryOptions _options;
public SdkComposer(SentryOptions options)
{
_options = options ?? throw new ArgumentNullException(nameof(options));
if (options.Dsn is n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TRPO_labe_5.States
{
interface IState
{
void DoAction();
}
}
|
namespace DataAccess.Model
{
public class Seat
{
public int SeatNumber { get; set; }
public int RowNumber { get; set; }
public string SeatString
{
get { return string.Format(Resources.SeatText, RowNumber, SeatNumber); }
}
}
} |
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading;
using KartObjects;
using KartObjects.Entities.Documents;
namespace AxisEq.Printers
{
public class Axiohm : AbstractPrinter
{
#region Commands
protected virtual ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bash : Push
{
public Bash()
{
skillName = "배쉬";
description = "적을 멀리 밀쳐낸다.";
range = 2;
damage = 30;
Cost cost = new Cost(0, 10);
}
/// <summary>
/// 스킬을 사용한다.
... |
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 Gnote.Dialog;
using Gnote.Controller;
using MySql.Data.MySqlClient;
using MySql.Data;
using System.IO;
namespace Gnote
{
pub... |
using UnityEngine;
using UnityEngine.UI;
namespace Com.LavaEagle.RangerSteve
{
public class AlertMessageController : Photon.MonoBehaviour
{
Text alertMessageText;
void Start()
{
alertMessageText = GetComponent<Text>();
}
[PunRPC]
public void Ha... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using iSukces.Code.Interfaces;
namespace iSukces.Code.AutoCode
{
public partial class Generators
{
public class BuilderGenerator : SingleClassGenerator<Auto.BuilderAttribute>, IAutoCodeGenerator
{
... |
using System.Collections.ObjectModel;
namespace DigitalFormsSteamLeak.SteamLeakAPI.Areas.HelpPage.ModelDescriptions
{
public class ComplexTypeModelDescription : ModelDescription
{
public ComplexTypeModelDescription()
{
Properties = new Collection<ParameterDescription>();
}
... |
namespace MySurveys.Services.Contracts
{
using System.Linq;
using Models;
public interface IQuestionService : IService
{
IQueryable<Question> GetAll();
Question GetById(object id);
Question Add(Question question);
Question Update(Question question);
Question... |
using System.Collections;
namespace DelftTools.Functions.Filters
{
public interface IVariableValueFilter : IVariableFilter
{
IList Values { get; set; }
}
} |
namespace Sentry;
/// <summary>
/// Defines the logic for applying state onto a scope.
/// </summary>
public interface ISentryScopeStateProcessor
{
/// <summary>
/// Applies state onto a scope.
/// </summary>
void Apply(Scope scope, object state);
}
|
using System;
using System.Collections.Generic;
using System.Reflection;
using Phenix.Core.Log;
using Phenix.Core.Security;
using Phenix.Core.Workflow;
using Phenix.Services.Host.Core;
namespace Phenix.Services.Host.Service
{
public sealed class Workflow : MarshalByRefObject, IWorkflow
{
#region 属性
publi... |
using System;
using StardewModdingAPI;
using StardewValley;
namespace BirthdayMail
{
public class ModEntry : Mod
{
private bool firstUpdate = true;
private NPC birthdayNPC; // NPC object of the villager who has a birthday
private string birthdayMail; // birthday mail item tha... |
using System.Collections.Generic;
using System.ServiceModel;
using DataAccess.WCFmodels;
namespace FirstWcfService
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
[ServiceContract]
public interface IService1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ManageDomain.DAL
{
public class WorkDailyDal
{
public Models.WorkDaily Add(CCF.DB.DbConn dbconn, Models.WorkDaily model)
{
string sql = "insert into workdaily(managerid,summary,createti... |
using JMusic.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Windows.Storage;
namespace JMusic.Helper
{
class CredentialManager
{
private const string T_TOKEN_FILE_NAME = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XH.Infrastructure.Query;
namespace XH.Infrastructure.Bus
{
/// <summary>
///
/// </summary>
public interface IQueryBus : IBus
{
TQueryResult Send<TQuery, TQueryResult>(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace pract.Models
{
public class CompContext : DbContext
{
public CompContext(DbContextOptions<CompContext> options)
: base(options)
{
... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace Com.Google.Gson {
// Metadata.xml XPath class reference: path="/api/package[@name='com.google.gson']/class[@name='TypeAdapter']"
[global::Android.Runtime.Register ("com/google/gson/TypeAdapter", DoNotGenerateAcw=true)]
[global::Java.I... |
using Sentry.Protocol;
namespace Sentry.Android.Extensions;
internal static class DeviceExtensions
{
public static void ApplyFromAndroidRuntime(this Device device)
{
device.Manufacturer ??= AndroidBuild.Manufacturer;
device.Brand ??= AndroidBuild.Brand;
device.Model ??= AndroidBuild.Mo... |
using System;
using HealthAngels.SignedSessions.Cache;
using HealthAngels.SignedSessions.Helpers;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Session;
using Microsoft.Extensions.DependencyInjection;
using HealthAngels.SignedSessions.Session;
namespace HealthAngels.SignedSessions
{
public static cl... |
using StreetFighter.Dominio;
using StreetFighter.Repositorio;
using StreetFighter.RepositorioEF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StreetFighter.aplicativo
{
public class PersonagemAplicativo
{
private readonly... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Moulinette
{
class Rendu
{
//FIX ME
private string folder;
private List<Exo> listExo;
public Rendu(string folderName)
{
//FIX ME
fo... |
namespace QStore.Core.Interfaces
{
using System.Collections.Generic;
public interface ISequenceSet<T>
{
int Count { get; }
IComparer<T> Comparer { get; }
bool Contains(IEnumerable<T> sequence);
IEnumerable<T[]> Enumerate();
IEnumerable<T[]> EnumerateByPrefix(IEn... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyAggro : MonoBehaviour {
public int chain;
// Use this for initialization
void Start() {
chain = 0;
}
// Update is called once per frame
void chainAggro(Collider2D other)
{
if (!gam... |
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace StainlessTree.Models.JsonModel
{
public class TreeNodeJson
{
public int id { get; set; }
public string text { get; set; }
public string state { get; set; }
public List<T... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinsCollision : MonoBehaviour
{
[Header("Collision properties")]
public float radius;
public LayerMask boundaryLayer;
private void Update()
{
if (Physics2D.OverlapCircle(this.transform.position, r... |
namespace TestApplication.Classes
{
public class SuggestRequest
{
public string Query { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Web.Script.Serialization;
using System.Linq;
using System.Globalization;
using System.IO;
using System.Net;
using log4net;
namespace MarketingCloud.AutomationStudio.FeedReader.Core.Services
{
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GodMorgon.VisualEffect
{
/**
* Manage one visual effect that can use one or several particle system
*/
public class ParticleSystemScript : MonoBehaviour
{
[SerializeField]
private... |
using Microsoft.AspNet.DataProtection;
using Microsoft.AspNet.Identity;
namespace SciVacancies.WebApp.Infrastructure.Identity
{
public class SciVacUserManager : UserManager<SciVacUser>
{
public SciVacUserManager(IUserStore<SciVacUser> store) : base(store)
{
UserValidator = new User... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GrubTime.ViewModels
{
public class DirectionsVM
{
public decimal Longitude { get; set; }
public decimal Latitude { get; set; }
public string Location
{
get
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AxisPosCore.Common;
using KartObjects;
using System.IO;
namespace AxisPosCore
{
/// <summary>
/// Выполняем отмену чека
/// </summary>
public class CancelReceiptActionExecutor:POSActionExecutor
{
pu... |
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.Client;
using MQTTnet.Client.Receiving;
using MQTTnet.Formatter;
using MQTTnet.Protocol;
using MQTTnet.Server;
namespace MQTTnet.Tests.Server
{
[TestClass]
public sealed class Events_Tests : BaseTestC... |
using System.Linq;
using MediatR;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
using SciVacancies.ReadModel.Core;
using SciVacancies.WebApp.Infrastructure.Identity;
using SciVacancies.WebApp.Models;
using SciVacancies.WebApp.Queries;
using SciVacancies.WebApp.ViewModels;
using System;
using SciVacanci... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.EventSystems;
public class HandleMenuInteraction : MonoBehaviour {
private Text text;
public GameObject img;
void Start()
{
text = GetComponent<Text>();
}
... |
using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
public int speed = 1000;
public int damageOnHit = 35;
// Objects with this tag can be hit/damaged by the bullet
public string hostileTag;
// Fires horizontally. Used by player.
public void Fire(bool isFacingR... |
namespace SignalRSimples.Web.Modelo
{
public class Mensagem
{
public string Nome { get; set; }
public string Msg { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entities.Asimco
{
public class WaitConfirmPrint
{
/// <summary>
/// 序号
/// </summary>
public int Ordinal { get; set; }
/// <summary>
/// 事实号
... |
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using AKCore.DataModel;
namespace AKCore.Models
{
public class JoinUsModel
{
[Display(Name = "Förnamn")]
[Required]
public string FirstName { get; set; }
... |
using System;
namespace CC.Mobile.Services
{
public class ReachabilityService : IReachabilityService
{
public bool IsOnline { get { return true; } }
readonly string servicePingAddress;
public ReachabilityService(IBasicConfig factory)
{
var sh = new Uri(factory.ServiceUrl);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.