text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
// Main game and player logic
public class Player : MonoBehaviour
{
public int points;
public int currPackageIndex;
public GameObject currPackage;
public GameObject[] availablePackages;
public Game... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.PlayerLoop;
public class GameOverTracker : MonoBehaviour
{
[SerializeField] private SOGameObjectRef _RoadChunksRef;
[SerializeField] private SOGameOverEvent _GameOverEventRef;
[Serializ... |
using System;
using System.Data;
using Microsoft.EntityFrameworkCore;
namespace RunSqlScripts
{
public class ScriptsContext : DbContext
{
public IDbConnection Connection { get; set; }
public ScriptsContext(DbContextOptions<ScriptsContext> options)
: base(options)
... |
using AspNetCoreSample.Data;
using AspNetCoreSample.Services;
using Hangfire;
using Hangfire.MySql.Core;
using Hybrid.Quartz.Dashboard;
using Hybrid.Swagger;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace Sandstorm
{
class CameraController
{
private Camera _camera;
private bool _mlb = false;
private bool _mrb = false;
private Vector2 _currentMousePos;
private bool _msw = false;
private ... |
using NodeGraph.Model;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
namespace NodeGraph.ViewModel {
public class ViewModelBase : INotifyPropertyChanged {
#region Overrides InotifyPropertyChanged
public event... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Information_System_MVC.Models
{
public class Equipment
{
[HiddenInput(DisplayValue = false)]
public int Id { get; set; }
[Re... |
namespace Triton.Common.Math
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct Sphere
{
public Vector3 Center;
public float Radius;
public Sphere(Vector3 center, float radius)
{
this.Center = center... |
public class AppSettings
{
public string ClientUrl { get; set; }
public string MSConnectionString { get; set; }
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TableManagerData.Interfaces;
using TableManagerData.QueryLogic;
namespace TableManagerData
{
public class Queries : IQueries
{
public event Action<IEnumerable<st... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DebugMenu : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void OnPushDebugInvincible()
... |
using System;
using System.Net;
using System.Text;
using System.Web;
using log4net;
using System.Configuration;
using System.Threading;
namespace ICOMSProvisioningService
{
public class CRM4cInterfaceAccessManager
{
private static readonly ILog logger = LogManager.GetLogger(typeof(CRM4cInterfaceAcces... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MVCApplication.Models;
using MVCApplication.ViewModels;
namespace MVCApplication.Controllers
{
public class HomeController : Controller
{
st... |
using System;
using System.Runtime.Serialization;
namespace PDTech.OA.Model
{
/// <summary>
/// 风险防控点定义维护表
/// </summary>
[Serializable]
public partial class RISK_POINT_INFO
{
public RISK_POINT_INFO()
{ }
#region Model
private decimal _risk_point_id;
pri... |
using PDV.CONTROLER.Funcoes;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
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 PDV.UTIL.FORMS.F... |
#region usings
using Zengo.WP8.FAS.Helpers;
using System;
using System.ComponentModel;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Linq;
#endregion
namespace Zengo.WP8.FAS.Models
{
[Table]
public class ZoneRecord : INotifyPropertyChanged, INotifyPropertyChanging
{
// D... |
using System.Collections;
using UnityEngine;
namespace OpenKnife.Actors
{
[RequireComponent(typeof(Rotator))]
public class CurveRotator : MonoBehaviour
{
private Rotator rotator;
private float timer = 0;
private float m_TimeToResetCurve = 1f;
private AnimationCurve m_SpeedCu... |
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using PegaSmokeTests.Util.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TechTalk.SpecFlow;
namespace DotCom.Specs.StepDefinitions
{
/// <summary>
... |
using ProWritingAid.SDK.Model.Async;
namespace ProWritingAid.SDK.Model
{
public partial class AsyncResponseContextualThesaurusResponse : IAsyncResponse<ContextualThesaurusResponse>
{
}
public partial class AsyncResponseHtmlAnalysisResponse : IAsyncResponse<HtmlAnalysisResponse>
{
}
public... |
using System;
namespace APIHealthChecker.Models
{
public class EndPoint
{
public string Name { get; set; }
public string Description { get; set; }
public string Url { get; set; }
public bool IsPost { get; set; }
public EndPoint()
{
}
}
}
|
namespace PhotoShare.Client.Core.Commands
{
using Models;
using System;
using System.Linq;
using Utilities;
public class CreateAlbumCommand
{
// CreateAlbum <username> <albumTitle> <BgColor> <tag1> <tag2>...<tagN>
public string Execute(string[] data)
{
strin... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
/// <summary>
/// Handles the movement and properties of the detective.
/// </summary>
public class Detective : MonoBehaviour {
/// <summary>
/// The z coordinate the detective should be forced to have,... |
using EasyConsole;
using Newtonsoft.Json;
using Serilog;
using System;
using System.IO;
using System.Net.WebSockets;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Websocket.Client;
namespace DiscordClients.Helpers
{
public class ClientManager
{
public ManualRe... |
namespace aspnet3.Models
{
public class ReponseMsg
{
public bool State { get; set; }
public string Msg { get; set; }
public string ExceptionMsg { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeclareStack : MonoBehaviour
{
// Use this for initialization
void OnCollisionEnter2D(Collision2D other)
{
if (other.gameObject.tag == "Book")
{
other.gameObject.tag = "StackedBook";
... |
namespace OmniGui
{
using System;
using System.Linq;
using System.Reactive.Linq;
using Geometry;
using OmniXaml.Attributes;
using Zafiro.PropertySystem.Standard;
public abstract class Layout : ExtendedObject, IChild
{
public Platform Platform { get; }
public static reado... |
using Microsoft.Reporting.WebForms;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ProyectoASPEmenic.Paginas.Servicios
{
public partial class ActualizarCartaPorte : System.Web.UI.Page
{
... |
using System.Drawing;
using System.Text.Json.Serialization;
using PlatformRacing3.Common.Customization;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
internal sealed class JsonSetAccountSettingsMessage : JsonPacket
{
[JsonPropertyName("hat")]
public Hat Hat { get; set; }
[JsonPropert... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TheSharkGame.Monsters
{
abstract class Sharks
{
private string name;
private int hp;
private string firstAtk;
private int firstDmg;
private string secondAtk;
private int secondDmg;
... |
namespace KekManager.Domain
{
public enum Level
{
Inzynierske = 1,
Licencjackie = 2,
Magisterskie = 3
}
} |
/* 5. Declare a character variable and assign it with the symbol that has Unicode code 72.
* Hint: first use the Windows Calculator to find the hexadecimal representation of 72. */
using System;
class UnicodeChar
{
static void Main()
{
char unicodeChar = '\u0072';
Console.WriteLine(unicodeC... |
using System.Drawing;
namespace WindowsFormsApp1.Properties.GameObjects {
public class Money: IGameObject {
private int x;
private int y;
private int id = 5;
private Image img = Resource1.мешок_с_монетами;
public int X {
get { return x; }
set { x = ... |
using FluentNHibernate.Mapping;
namespace ImmedisHCM.Data.Entities.Mappings
{
public class SalaryTypeMapping : ClassMap<SalaryType>
{
public SalaryTypeMapping()
{
Table("salary_type");
Id(x => x.Id)
.Column("id")
.GeneratedBy.Increment()... |
using System;
public class Ref
{
private int mDepth;
public int depth
{
get
{
return this.mDepth;
}
set
{
this.mDepth = value;
}
}
}
|
//using Microsoft.Xna.Framework;
//using Microsoft.Xna.Framework.Graphics;
//using MonoGame.Extended.Sprites;
//using MonoGame.Extended.TextureAtlases;
//using NSubstitute;
//using Xunit;
//namespace MonoGame.Extended.Tests.Sprites
//{
//
// public class SpriteTests
// {
// [Fact]
// public vo... |
namespace ContactsManager.Data.Models
{
public partial class ContactInformation
{
/// <summary>
/// UserId
/// </summary>
public System.Guid UserId { get; set; }
/// <summary>
/// FirstName
/// </summary>
public string FirstName { get; set; }
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using Telerik.Web.UI;
#endregion
namespace DotNetNuke.Web.UI.WebControls
{
public class DnnTagCloudItem : RadTagCloudItem
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Proyek_Informatika.Models;
namespace Proyek_Informatika.Controllers.Utilities
{
public class QueryController : Controller
{
private SkripsiAutoContainer db = new SkripsiAutoContainer();
... |
using Hayalpc.Library.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Hayalpc.Fatura.Data.Models
{
[Table("dealers")]
public class Dealer : HpModel
{
[Required]... |
namespace Contoso.XPlatform.Directives
{
public class ReloadIf<T> : ConditionBase<T>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Doozy.Engine.UI;
public class InventoryManager : MonoBehaviour
{
private UIView SpawnKeyView;
private UIView Key1View;
private UIView Key4View;
private UIView Key6View;
private UIView KeyExitView;
private UIVi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Discovery.Core.Enums
{
/// <summary>
/// 表示一个主题
/// </summary>
public enum Theme
{
/// <summary>
/// 默认蓝色主题
/// </summary>
Default,
/// <summary>
/// 紫色主题
/// </summ... |
using UnityEngine;
using System.Collections;
public class Vehicle14 : MonoBehaviour {
public GameObject player;
public Transform exitPoint;
private CityManager manager;
public LayerMask playerLayer;
public float playerRange ;
public bool inPlayerRange = false;
public GameObject carCam14;
void Start ()... |
using LowLevelNetworking.Shared;
using System.IO;
using System.Text;
using WUIShared.Objects;
using WUIShared.Packets;
namespace WUIServer {
public class WUIGGameSaver {
private GameObject world;
public WUIGGameSaver(GameObject world) {
this.world = world;
}
public vo... |
using RestSharp.Deserializers;
namespace Jira.NET.Models
{
public class JiraIssue
{
[DeserializeAs(Name = "expand")]
public string Expand { get; set; }
[DeserializeAs(Name = "id")]
public string Id { get; set; }
[DeserializeAs(Name = "self")]
public string Sel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication4
{
class Square
{
public static void Squared(ref int tree)
{
tree = tree * tree;
Console.WriteLine(tree); ;
}
static void Main(string[] arg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BackgroundScroller : MonoBehaviour
{
[SerializeField] float scrollSpeed = 0.1f;
Material material;
Vector2 offset;
void Start()
{
material = GetComponent<MeshRenderer>().material;
offset =... |
using System;
using Xamarin.Forms;
namespace BHSApplication
{
public partial class NotRelevant : ContentPage
{
public NotRelevant()
{
InitializeComponent();
}
async void OnHomePage(object sender, EventArgs e)
{
await Navigation.Pus... |
using System;
using Ganss.Excel.Exceptions;
using NUnit.Framework;
namespace ExcelMapper.Tests.ExceptionsTests
{
public class ExcelMapperConvertExceptionTests
{
[Test]
public void EmptyConstructorTest()
{
var ex = new ExcelMapperConvertException();
A... |
namespace UserVoiceSystem.Web.ViewModels.Account
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class CaptchaResponseViewModel
{
[JsonProperty("success")]
public string Success { get; set; }
[JsonProperty("error-codes")]
public List<string> ErrorCode... |
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 CsvHelper;
using System.IO;
using HáziKöltségNyilvántartó.ViewModels;
namespace HáziKöltségNyilván... |
using Core.Sources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test.Sources
{
[TestClass]
public class KingDomTest
{
Kingdom kingdom;
public KingDomTest()
{
kingdom = new Kingdom("LAND", "Panda");
}
[TestMethod]
public void Shou... |
namespace CloneDeploy_Entities.DTOs
{
public class DpFreeSpaceDTO
{
public string dPPath { get; set; }
public int freePercent { get; set; }
public ulong freespace { get; set; }
public ulong total { get; set; }
public int usedPercent { get; set; }
}
} |
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 RSMS
{
public partial class FrmRewritePwd : MyFrmBase
{
public FrmRewritePwd()
{
Initial... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
public class HealthDisplay : MonoBehaviour
{
[Header("Data")]
public EntityData EntityData;
public ColorVariable HealthColor;
public ColorVariable GraceColor;
public ColorVariable Grit... |
// AForge Neural Net Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2012
// contacts@aforgenet.com
//
namespace Accord.Neuro
{
using System;
/// <summary>
/// Distance network.
/// </summary>
///
/// <remarks>Distance network is a neur... |
namespace System.Linq
{
using System.Collections;
using System.Collections.Generic;
public static partial class FastLinq
{
public static IReadOnlyList<T> Empty<T>()
{
return new T[] { };
}
}
} |
using System;
using System.Collections.Generic;
using System.Net;
using System.Security;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Authorisation;
using BlockChain;
using UserInterface.Command;
using UserInterface.View;
namespace UserInterface.ViewMod... |
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 userManager;
using System.Net;
using System.IO;
using System.Runtime.Serialization.Json;
using Newt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test3._1._1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("欢迎使用XXX登录系统");
Console.Write("请输入您的年龄:");
int age... |
using System;
using System.Linq;
using System.Runtime.CompilerServices;
namespace PizzaLibrary
{
public class Pizza
{
public IngridientType[][] Pieces { get; }
public int Width { get; }
public int Height { get; }
public int CountTomatoes { get; protected set; }
public i... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class FinishGame:MonoBehaviour
{
void Awake()
{
GetComponent<Collider2D>().isTrigger = true;
}
void OnTriggerEnter2D(Collider2D player)
{
if(player.C... |
namespace Voronov.Nsudotnet.BuildingCompanyIS.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class changeResourceResult : DbMigration
{
public override void Up()
{
AddColumn("bcis.ResourceResults", "ResourcePlanId", c => c.Int(nullable: false));
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using HardcoreHistoryBlog.Models;
using HardcoreHistoryBlog.Models.Blog_Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using static... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JT7SKU.Lib.Twitch
{
public class Broadcaster
{
public string Id { get; set; }
public User User { get; set; }
public BadgeInfo BadgeInfo { get; set; } = BadgeInfo.Broadcaster;
public BroadcasterTyp... |
using System.IO;
using VsmacHelper.Shared;
using Xunit;
namespace VsmacHelper.Tests {
public class PathHelperTests {
[Fact]
public void TestGetHomeDirectory() {
string homeFolder = new PathHelper().GetHomeFolder();
Assert.NotEmpty(homeFolder);
Assert.True(Direc... |
using MediaOrganiser.Convertor;
using MediaOrganiser.Media.Movies.Details;
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Linq;
namespace MediaOrganiser.Media.Movies
{
public class Movie : IMovie
{
private IFileSystem _fileSystem = null;
private static string Organised... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.ServiceProcess;
namespace Sunny.Lib
{
/// <summary>
/// 提供windows服务的注册、反注册功能
/// </summary>
public class Register
{
// declare APIs for service
[DllImport("advapi32... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project_1.classes
{
/// <summary>
/// Simple object to increase readability.
/// </summary>
class variable
{
public double value { get; set; }
public ch... |
// <copyright file="OrderedSetTTest.cs"></copyright>
using System;
using System.Collections.Generic;
using Dsa.DataStructures;
using Microsoft.Pex.Framework;
using Microsoft.Pex.Framework.Validation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dsa.DataStructures
{
[PexClass(typeof(OrderedSet<>))]... |
using UnityEngine;
using System.Collections;
public class NPC_1 : NPC {
public override void OnSetUpDialogue() {
Speech.AddDialogue("0", "Hello, comrade!", "1");
Speech.AddDialogue("1", "Welcome to this lonely desert.", "2");
Speech.AddDialogue("2", "You need to help us.", "3");
Sp... |
namespace ModelAndroidApp.ModelAndroid
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Cliente")]
public partial class Cliente
{
[Key]
... |
using System;
using System.Collections.Generic;
namespace ImmedisHCM.Services.Models.Core
{
public class CompanyServiceModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public string LegalName { get; set; }
public IList<DepartmentServiceModel> Departments { ... |
using System;
class CompareCharArrays
{
static void Main()
{
//Write a program that compares two char arrays lexicographically (letter by letter).
Console.Write("Enter the first array: ");
string firstText = Console.ReadLine();
Console.Write("... |
using System;
using System.Diagnostics;
using System.IO;
namespace Blatella.Common
{
/// <summary>
/// Log creation functionality
/// </summary>
public static class Log
{
#region static
/// <summary>
/// Writes information in a log file.
/// </summary>
/// ... |
using Net.Communication.Attributes;
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Managers;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Packets.Handshake;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming.Handlers.Handshake;
[Packe... |
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using testDemo.Data;
using testDemo.Models;
[assembly: HostingSt... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YoctoScheduler.Core.Database
{
[System.Runtime.Serialization.D... |
using EntityFrameworkCoreExample.BasicEntityFrameworkExamples;
using System;
namespace EntityFrameworkCoreExample
{
class Program
{
static void Main(string[] args)
{
var exampleToRun = ExamplesEnumeration.GetDependentDataWithLazyLoading;
switch (exampleToRu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using System.Collections.Specialized;
using RequirementOne.Core.Json;
using RequirementOne.Core.Helpers;
using RequirementOne.SoapApiWrapper.RequirementOneApi;
using umbraco.NodeFactory;
using Requirement... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Identity;
using Promact.Oauth.Server.Models;
using Promact.Oauth.Server.Models.ApplicationClasses;
using Promact.Oauth.Server.Constants;
using System.Threading.Tasks;
namespace Promact.Oauth.Server.Controllers
{
public class HomeController : Controller
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TesteCSharp.BLL.Models;
using TesteCSharp.DAL;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwli... |
using Enrollment.Forms.Configuration.Navigation;
using System;
using System.Collections.ObjectModel;
namespace Enrollment.XPlatform.ViewModels
{
public class MainPageViewModel : ViewModelBase
{
private ObservableCollection<FlyoutMenuItem> _menuItems = new();
public ObservableCollection<FlyoutM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoLibrary
{
public class Emailer : IMessageSender
{
public void SendMessage(IPerson owner, string v)
{
Console.WriteLine($"Simulating sending an email to {owner.EmailAddres... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CT.Data
{
public abstract class BuildingData : ScriptableObject
{
new public string name;
//public Sprite icon;
public Faction.Type faction;
public Faction Faction => Faction.GetFaction(fac... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using VocabularyApi.Models;
namespace VocabularyApi.Infrastructure.DataAccess
{
public class VocabularyContext : DbContext
{
public DbSet<UserVocabularyWord> UserVocabu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitedPigeonAirlines.Data.Entities.CartAggregate
{
public class CartLine
{
public int PigeonId { get; set; }
public int Quantity { get; set; }
}
} |
using System;
namespace SKT.WMS.WMSBasicfile.Model
{
[Serializable]
public class WMSBatchGroupInfo
{
private Int32 id;
private String ruleName;
private String cinvName;
private String cinvCode;
private Int32 cinvType;
private String cnumber;
private ... |
using OrderService.Data;
using OrderService.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OrderService.Repositories
{
public class OrderRepository : IOrderRepository
{
private readonly OrderDbContext _context;
public OrderRe... |
using System;
namespace NopSolutions.NopCommerce.DataAccess.Orders
{
/// <summary>
/// Acts as a base class for deriving custom shopping cart provider
/// </summary>
[DBProviderSectionName("nopDataProviders/ViewedItemProvider")]
public abstract partial class DBViewedItemProvider : BaseDBProvider
... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Text;
namespace EWF.Util.Config
{
public class ConfigCommon
{
public ... |
using umbraco;
using Umbraco.Core.IO;
using Umbraco.Web.Composing;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
{
/// <summary>
/// Tree for displaying partial views in the settings app
/// </... |
using bot_backEnd.BL.Interfaces;
using bot_backEnd.Models.AppModels;
using bot_backEnd.Models.DbModels;
using bot_backEnd.UI.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.UI
{
public class InstitutionUI : IInstitutionUI
{
... |
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using Odmnet.Application.ViewModel;
using Omdnet.Business;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Se... |
using System;
using System.Collections.Generic;
namespace PersonsLibrary
{
public class Person
{
public string Name { get; set; }
public string SurName { get; set; }
public int Age { get; set; }
public Person(string name, string surname, int age)
{
Name = n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallHouseManagerDAL;
using SmallHouseManagerModel;
namespace SmallHouseManagerBLL
{
public class UsersBLL
{
UsersDAL dal = new UsersDAL();
public List<UserModel> UserLogin(string userName, ... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using FluentValidation;
using MediatR;
using Npgsql;
namespace DDDSouthWest.Domain.Features.Account.Admin.ManagePages.UpdateExistingPage
{
public class UpdateExistingPage
{
public class Command : IRequest
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QLBH.Object
{
class ChiTietHDobj
{
string mahd, mahh;
public string MaHangHoa
{
get { return mahh; }
set { mahh = value;... |
using KRF.Core.DTO.Master;
using KRF.Core.Entities.AccessControl;
using KRF.Core.Entities.MISC;
using KRF.Core.Enums;
using KRF.Core.Repository;
using KRF.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace KRF.Web.Controllers
{
public class RolePermissio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cappta.Gp.Api.Com.Sample.Model
{
internal enum TipoInformacaoPinpad
{
Cpf = 1,
Telefone = 2,
Senha = 3
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.