text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
namespace bellyful_proj.Models
{
public partial class MealInstock
{
public byte MealTypeId { get; set; }
public int InstockAmount { get; set; }
public MealType MealType { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace alg
{
public class Heap
{
public Heap(int[] values)
{
Values = values;
Nodes = new SortedSet<int>(Comparer<int>.Create((i, j) => Values[i] != Values[j] ? Values[i] - Values[j] : i - j));
... |
/* VelociWrap.cs
* Author: Agustin Rodriguez
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace DinoDiner.Menu
{
/// <summary>
/// This class implements the menu item velociwrap and it is constructed here
/// </summary>
public class VelociWra... |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.InteropServices;
using Jypeli.Rendering;
using Matrix = System.Numerics.Matrix4x4;
using Vector3 = System.Numerics.Vector3;
namespace Jypeli.Effects
{
/// <summary>
/// Sekoitusmoodi, kuinka päällekkäin olevat osittain... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Web;
using Imp.Web.Framework.Mvc;
namespace Imp.Admin.Models.Doc
{
public class UploadFileModel : BaseImpEntityModel
{
public string DirectoryId { get; set; }
[Display(Name = "文件名")]
public string FileName { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
class FruitShop
{
static void Main()
{
string fruit = Console.ReadLine().ToLower();
string day = Console.ReadLine().ToLower();
double quantity = double.Parse(Console.ReadLine());
... |
using System;
using System.Collections.Generic;
using TransactionRegistry.Core.Models;
namespace TransactionRegistry.Core
{
public class ServiceStateComparer : IComparer<ServiceState>
{
public int Compare(ServiceState x, ServiceState y)
{
{
var value = x.ProcessedTra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Welic.Dominio.Models.Menu.Enums
{
public enum MenuAppEnum
{
Browse,
About,
Galery,
Notifications,
Videos,
Settings,
SignUp,
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
using StardewValley.Menus;
namespace KN.CustomizableClock
{
/// <summary>An overlay menu which replaces the game's default clock.</summary>
internal class Clock : IClickableMenu
{
/*********
** Prop... |
namespace Ach.Fulfillment.Business.Impl
{
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using Ach.Fulfillment.Business.Impl.Validation;
using Ach.Fulfillment.Common.Transactions;
using Ach.Fulfillment.Data;
using Ach.Fulfillment.Data.Specification... |
using System.Collections.Generic;
using Assets.Common.Extensions;
using Assets.src.data;
using ViewModelFramework;
namespace Assets.src.models
{
public class MapModel : BaseModel
{
[Inject]
public IModelPool<BuildingModel> BuildingPool { get; set; }
private readonly HashSet<long> bus... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(fileName = "New UI Sound", menuName = "Game/Sound/UI Sound")]
public class UISound : ScriptableObject
{
[SerializeField]
private AudioClip audioClip;
public AudioClip Clip { get { return a... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Projeto.Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Projeto.Infra.Data.Mappings
{
public class ProfessorMap : IEntityTypeConfiguration<Professor>
{
public v... |
namespace Bolster.API.Status.Stateless
{
public class Success : Result, ISuccess
{
public string Reason { get; }
public Success(string successReason = null) {
Reason = successReason;
}
public Success Result(string successReason) =>
new S... |
namespace FlippoIO
{
public struct Move
{
public readonly int x;
public readonly int y;
public readonly bool white;
public Move(int x, int y, bool white)
{
this.x = x;
this.y = y;
this.white = white;
}
public override string ToString()
{
return Misc.GetCaiaString(x, y);
}
}
}
|
namespace Eda.Integrations.Delivery
{
/// <summary>
/// The data contract for delivery information.
/// </summary>
public interface IDeliveryInformation
{
/// <summary>
/// Gets the delivery request.
/// </summary>
IDeliveryRequest Request { get; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Szab.MetaheuristicsBase;
using Szab.Extensions;
namespace Szab.SimulatedAnnealing
{
public class SimulatedAnnealingSolver<T> : ISolver<T> where T : class, IAnnealingSolution<T>
{
p... |
using System;
using UnityEngine.Events;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// None generic Unity Event of type `StringPair`. Inherits from `UnityEvent<StringPair>`.
/// </summary>
[Serializable]
public sealed class StringPairUnityEvent : UnityEvent<StringPair> { }
}
|
using FarseerPhysics.Dynamics;
using Modulus2D.Core;
using Modulus2D.Entities;
using Modulus2D.Network;
using System;
using Lidgren.Network;
using Modulus2D.Math;
namespace Modulus2D.Physics
{
public delegate void RaycastCallback(bool hit, Vector2 point, Vector2 normal, float fraction);
public class PhysicsS... |
using System.Windows;
using System.Windows.Controls;
using Microsoft.Xna.Framework;
using Spritehand.FarseerHelper;
using Point = System.Windows.Point;
namespace slHackathonGame.UserControls
{
public partial class Branch : UserControl
{
public Point Location { get; set; }
public Bra... |
using BHLD.Model.Abstract;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BHLD.Model.Models
{
[Table("hu_org_title")]
public class hu_... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class TamperSignature
{
public string hash { get; set; }
public string content { get; set; }
}
}
|
using System;
using System.Linq;
using Tomelt.ContentManagement;
using Tomelt.Localization;
using Tomelt.Projections.FilterEditors.Forms;
using Tomelt.Services;
namespace Tomelt.Projections.FilterEditors {
public class DateTimeFilterEditor : IFilterEditor {
private readonly IClock _clock;
public ... |
using MyCollection.Context;
using MyCollection.Models;
using System.Linq;
namespace MyCollection.Repository
{
public class RepositoryItens : Repository<Itens>
{
public RepositoryItens(ContextCT context)
: base(context)
{}
}
} |
using LeadChina.CCDMonitor.Web.Filters;
using System.Web.Mvc;
namespace LeadChina.CCDMonitor.Web
{
/// <summary>
/// 过滤器设置
/// </summary>
public class FilterConfig
{
/// <summary>
/// 注册过滤器
/// </summary>
/// <param name="filters"></param>
public static void... |
using Rainbow.Enum;
using System.Text.RegularExpressions;
using RWCustom;
namespace Rainbow.CreatureOverhaul
{
public interface IRainbowState
{
CreatureTemplate.Type type { get; set; }
int boneLeft { get; set; }
bool malnourished { get; set; }
int curLoot { get; set; }
... |
using UnityEngine;
namespace Thesis {
public class RoofBase : DrawableObject
{
/*************** FIELDS ***************/
public readonly BuildingMesh parentMesh;
public float height;
/*************** CONSTRUCTORS ***************/
public RoofBase (BuildingMesh parent)
{
parentMesh = parent;
hei... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace SocketTraining.Server
{
/// <summary>
/// Стартовый класс приложения
/// </summary>
public static class Program
{
/// <summary>
/// Точка входа
/// </summary>
/// <param name="args"></param>
... |
using System;
using Tomelt.ContentManagement.FieldStorage;
using Tomelt.ContentManagement.MetaData.Models;
namespace Tomelt.ContentManagement.MetaData {
public class ContentFieldInfo {
public string FieldTypeName { get; set; }
public Func<ContentPartFieldDefinition, IFieldStorage, ContentField> Fa... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Configuration;
using DevExpress.XtraEditors;
using DevExpress.XtraTreeList.Nodes;
namespace IRAP.Client.Glo... |
using HotChocolate.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static IdentityServer4.IdentityServerConstants;
namespace HotChocolateAuthorizeBug.GraphQL
{
public class Query
{
public string Secured => "Secured";
public string U... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace GreedyMidgets
{
class GreedIsGood
{
static int coins;
static void Main()
{
string valley = Console.ReadLine();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
namespace radisutm.ViewModel
{
public class DashboardDataTable
{
public DataTable dt1 { get; set; }
public DataTable dt2 { get; set; }
public DataTable dt3 { get; set; }
}
} |
namespace TripDestination.Data.Models
{
using Common.Models;
using System.ComponentModel.DataAnnotations;
public class PassengerTrip : BaseModel<int>
{
public PassengerTrip()
{
this.Approved = false;
}
[Required]
public int TripId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace LauncherLib.Configs
{
interface IJsonConfig
{
JObject UpdateJsonObj();
bool WriteJsonObj();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems.LeetCode {
public class Problem007 : LeetCodeBase {
public override string ProblemName => "Leet Code 7: Reverse Integer";
public override string GetAn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTouristik.Data.Booking
{
public enum BookingProcessPartTyp : int
{
BookingInquiry = 1,
BookingConfirmation = 2,
BookingInvoice = 3,
Payments = 4,
... |
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Geometry;
using gView.Framework.system;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
namespace gView.Framework.Data
{
public class FeatureTable : IFeatureTa... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
using System.Threading.Tasks;
using Kulula.com.Helpers;
using Kulula.com.Models;
namespace Kulula.com.Services
{
class CartService
{
... |
using DamianTourBackend.Api.Controllers;
using DamianTourBackend.Application;
using DamianTourBackend.Application.Login;
using FluentAssertions;
using FluentValidation;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using NSubstitute.ReturnsExtensions;
using System.Threading.Ta... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.Linq;
using Microsoft.Office.Interop.Excel;
namespace KartLib.Views.AlcoDeclModel
{
public class ExcelWorker
{
private readonly AlcoDeclData alcoDeclData;
pu... |
// <copyright file="Login.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotat... |
using MQTTnet;
using System;
using System.Text;
using System.Threading;
using MQTTnet.Adapter;
using MQTTnet.Diagnostics;
using MQTTnet.Protocol;
using MQTTnet.Server;
using MQTTnet.Client.Receiving;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace SimpleMQTT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidationExtensions.Enums;
using System.Security.Cryptography.X509Certificates;
using ValidationExtensions.Service.ExpiryDate;
using ValidationExtensions.Service.ExpiryDate.Impl;
using ValidationExtensions.Service.CRLService;
... |
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.Linq;
namespace calc {
public static class Calculate {
/// Takes numbers and operator arrays and calculates based of BODMAS principles
public static double CalculateInput(double[] numbers, char[] operators) {
if (operators.Length == 0 && numbers.Length != 0... |
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.EventHubs;
using Azure.Messaging.EventHubs.Producer;
namespace EventHubsSender
{
class Program
{
private const string connectionString = "<tobefilled>";
private const string eventHubNam... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Drawing;
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;
us... |
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;
namespace Project_TouchCube
{
public partial class Login : Form
{
/**
* Login class
* Written by: T... |
using System;
namespace Тернарный_Оператор
{
class Program
{
static void Main(string[] args)
{
bool accessAllowed;
string storedPassword = "qwerty";
Console.WriteLine("Введите пароль");
string enteredPassword = Console.ReadLine();
//... |
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_SeorderListBG_LogService
{
JD_SeorderList... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using RWCustom;
using Rainbow.CreatureOverhaul;
namespace Rainbow.WorldOverhaul
{
public static class WorldPatch
{
public static void Patch()
{
On.WorldChecksumController.Contro... |
namespace Tutorial.Tests.LinqToEntities
{
#if NETFX
using System.Data.Entity.Infrastructure;
using System.Diagnostics;
using Tutorial.LinqToEntities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#else
using System.Diagnostics;
using Microsoft.EntityFrameworkCore;
using Microsoft.Vi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using MahApps.Metro.Controls;
namespace ScratchTutorial.Gui
{
/// <summary>
/// Interaction logic for TestViewer.xaml
/// </summary>
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hakase.Uchuu
{
public class ContentUtils
{
public static string ResolveContentPath(string contentSubPath)
{
string resolvedContentPath = String.Empty;
//contentSubPath = cont... |
namespace MovieRating.Data.Configurations
{
using Entities;
public class RoleConfiguration:EntityBaseConfiguration<Role>
{
public RoleConfiguration()
{
Property(ur => ur.Name).IsRequired().HasMaxLength(50);
}
}
}
|
namespace BettingSystem.Application.Competitions.Leagues.Queries.Countries
{
using Common.Mapping;
using Domain.Competitions.Models.Leagues;
public class GetCountriesResponseModel : IMapFrom<Country>
{
public int Id { get; private set; }
public string Name { get; private set; } = defa... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
int x = 10;
if (x <= 0)
{
return 0;
}
el... |
namespace gView.Plugins.MapTools
{
public enum QueryThemeMode { Default, Custom }
}
|
using Gruzer.Models.Consignments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Gruzer.WebAPI.ViewModels
{
public class TestCompanyViewModel
{
public string Name { get; set; }
public string Address { get; set; }
public string... |
using DLib.DAL;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BLL.DLib
{
public class CmsMenu
{
#region vars
private static DlibEntities Db
{
get
{
if (HttpContext.Current... |
// Copyright 2011-2013 Anodyne.
//
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... |
using System;
namespace JhinBot.Enums
{
[Flags]
public enum EventType
{
// safety net if the bitfield is 0
None = 0,
// DiscordSocketUser events
UserJoined = 1 << 0, // 1
UserLeft = 1 << 1, // 2
UserBanned = 1 << 2, // 4
UserU... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore;
using NetCore.Interface;
namespace NetCore.Service
{
pub... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Action of type `Vector2`. Inherits from `AtomAction<Vector2>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class Vector2Action : AtomAction<Vector2> { }
}
|
using System;
namespace SMC.Utilities.Queues
{
public class ActionErrorEventArgs<T> : EventArgs
{
public T Data { get; set; }
public string Message { get; set; }
public Exception Error { get; set; }
public string StackTrace => null != Error ? Error.StackTrace : string.Empty;
... |
using BusVenta;
using DatVentas;
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 Reportes;
using System.Drawing.Printing;
using Telerik.Reporting.P... |
using Microsoft.AspNet.Identity;
using RouteScheduler.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace RouteScheduler.Controllers
{
public class CustomersController : Controller
... |
using UnityEngine;
using System.Collections;
public class Moving : MonoBehaviour {
public bool isSlope = false;
public bool isAlive = true;
public float speed;
public Rigidbody2D rbody;
void Start()
{
}
public void moveBack(){
if (isAlive) {
speed *= -1;
bool check = GetComponent<SpriteRenderer> (... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Typewriter_Script : MonoBehaviour
{
private static Typewriter_Script instance;
List <TyperwriterSingle> typerwriterSingleList;
private AudioSource audioSource;
public AudioClip backkround... |
using System.Threading.Tasks;
using PipServices3.Commons.Config;
namespace PipServices.Sms.Client.Version1
{
public class SmsNullClientV1 : ISmsClientV1
{
public Task SendMessageAsync(string correlationId, SmsMessageV1 message, ConfigParams parameters)
{
return DoNothingAsync();
... |
using RSS_Reader_Applikation.Models.LinqData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.XPath;
namespace RSS_Reader_Applikation
{
public partial class nyheder : System.Web.UI.Page
{
DataLi... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Personality Chat based Dialogs for Bot Builder:
// https://github.com/Microsoft/BotBuilder-PersonalityChat
//
// Copyright (c) Microsoft Corporation
// All rights rese... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BottomCheck : MonoBehaviour
{
public Transform left_point;
public Transform right_point;
[Tooltip("地面所在层")]
public LayerMask groundLayer;
//人物底部与地面的垂直距离
private float distance;
private Vector3[] poi... |
using UnityEngine;
using System.Collections;
public class WindBolt : Spell
{
// Use this for initialization
void Start()
{
base.Start();
m_damage = 20;
m_type = SpellType.Offencive;
}
// Update is called once per frame
void Update()
{
base.Update();
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageDealer : MonoBehaviour {
[SerializeField] int damage = 100;
[SerializeField] GameObject hitVFX;
[SerializeField] float particleLifeTime = 3f;
public int GetDamage()
{
return damage;
}
... |
using ApiCatalagoDeJogos.InputModel;
using ApiCatalagoDeJogos.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiCatalagoDeJogos.Service
{
public interface IJogoService
{
Task<List<JogoViewModel>> Obter(int pagina, int quantidade);
... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Labyrinth
{
public class Life
{
private Vector2 lifePosA;
private Point lifePosR;
public Life(Vector2 lifePosA, Point lifePosR)
{
this.lifePosA = lifePosA;
... |
using NASTYADANYA;
using NUnit.Framework;
namespace NASTYADANYATest
{
[TestFixture]
public class MultiplicationTests
{
[TestCase(4, 7, 28)]
[TestCase(5, 9, 45)]
[TestCase(20, 5, 100)]
public void CalculateTest(double firstValue, double secondValue, double expected)
... |
namespace BettingSystem.Application.Games.Matches.Commands.Common
{
using System;
using Application.Common;
using Application.Common.Images;
public abstract class MatchCommand<TCommand> : EntityCommand<int>
where TCommand : EntityCommand<int>
{
public DateTime StartDate { get; set;... |
using System.Collections.Generic;
namespace Restaurant.DTO
{
public abstract class BaseDto
{
public DtoModel Model { get; set; }
public Dictionary<string, object> ExtendedProperties { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServerLibrary
{
public class UserHandler
{
private readonly string path = "usersCredentials";
private List<User> userList;
public List<User> Us... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Web;
using System.Xml;
namespace jaytwo.Common.Parse
{
public static partial class ParseUtility
{
private static re... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class PrefabEditor : Editor
{
private static void ProcessPrefabs(Action<GameObject> doProcess)
{
List<GameObject> prefabs = new List<GameObject>();
var resourcesPath = Applica... |
namespace Sales.chatCellUI
{
using Sales.Models;
using Xamarin.Forms;
public class ChatBotDataTemplateSelector : DataTemplateSelector
{
private readonly DataTemplate botDataTemplate;
private readonly DataTemplate userDataTemplate;
public ChatBotDataTemplateSelector()
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class PopupSetting : Popup {
public Button btnSound, btnMusic;
public Sprite Music_off, Music_on, Sound_on, Sound_off;
// Use this for initialization
void OnEnable () {
changeSprite ();... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.Text.Json.Serialization;
using AnyTest.ResourceLibrary;
namespace AnyTest.Model
{
public class Person
{
[Key]
... |
using System;
using System.Collections.Generic;
using Profiling2.Domain.Prf.Persons;
namespace Profiling2.Domain.Contracts.Queries.Procs
{
public interface IModifiedProfilesStoredProcQuery
{
IList<ModifiedProfilesAuditDTO> GetRows(DateTime startDate, DateTime endDate);
}
}
|
using Newtonsoft.Json;
namespace Database
{
public class LocationBuildingRecord
{
[JsonProperty("position")]
public int Position;
[JsonProperty("id")]
public int Id;
[JsonProperty("level")]
public int Level;
[JsonProperty("coords")]
public Poi... |
using UnityEngine;
using System.Collections;
public class TriggerNpcRemoveCtrl : MonoBehaviour {
public GameObject[] RemoveSpawnPointNpc;
Transform TriggerTran;
float TimeVal;
void Start()
{
TriggerTran = transform;
}
void Update()
{
if (GlobalData.GetInstance().gameMode == GameMode.OnlineMode && Netw... |
using PL.Integritas.Domain.Interfaces.Repositories;
using PL.Integritas.Infra.Data.Context;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
namespace PL.Integritas.Infra.Data.Repository
{
public class Repository<TEntity> : IRep... |
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 PdfPatcher
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using TMPro;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
public class RoundsManager : MonoBehaviour
{
public static RoundsManager instance;
[Header("Rounds Settings")]
publi... |
using CRMSecurityProvider.Sources.Attribute;
namespace AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Sources.Repository.V5.Attribute
{
internal class CrmNamingAttributeAdapterFactory : CrmAttributeAdapterFactory
{
public CrmNamingAttributeAdapterFactory(CrmAttributeCollectionAdapter crmAttributeColle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeWorkOOP3
{
class Printer
{
//цвет вывода в консоле
protected ConsoleColor color;
//создаем пользовательский конструктор
public Printer(ConsoleColor ... |
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using Microsoft.AspNetCore.Mvc.Testing;
using TennisBookings.Web.Data;
namespace TennisBookings.Web.IntegrationTests.Pages
{
public static class WebApplicationFactoryExtensions
{
public static HttpClient CreateClientWithMemberAndDbSet... |
namespace Model.EF
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("TinhTrangHocPhi")]
public partial class TinhTrangHocPhi
{
[System.Diagn... |
using System.Collections.Generic;
using System.Linq;
namespace LegacyApp.Core.Models
{
public class User
{
public string Name { get; set; }
public List<User> Friends { get; set; }
public List<Trip> Trips { get; set; }
public User()
{
Name = "";
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Drawing.Imaging;
namespace LibwebpSharp
{
public class WebPDecoder
{
private enum decodeType
{
RGB,
RGBA,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade8
{
class _5
{
public static Random RandNum = new Random();
static void Main241(string[] args)
{
int a = RandNum.Next(0,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.