text stringlengths 13 6.01M |
|---|
namespace YouScan.Sale
{
public class DiscountSettings
{
public double MinAmount { get; set; }
public double? MaxAmount { get; set; }
public double Percentage { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ORM.ResourceParameters;
using ORM.Models;
namespace ORM.Services
{
public interface IORM
{
List<Exception> ExceptionLogging { get; set; }
Task<Customer> Authenticate(string email, string ... |
using System;
namespace Bridge
{
class Program
{
static void Main(string[] args)
{
var iPhoneFramework = new XamarinButtonControl(new IphoneKit());
iPhoneFramework.AddButton();
var androidFramework = new XamarinButtonControl(new AndroidKit());
... |
using System;
namespace HelloWorld
{
class MainClass
{
public static void Main(string[] args)
{
if (254 < 255)
{ //this is going to print "Hello World!"
//I also added an if statement and a couple of extra lines
// of text just for fun... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AlmenaraGames.Demo
{
public class SurfaceSound : MonoBehaviour
{
private void Update()
{
//Plays the Audio Object assigned to the Runtime Identifier "surfaceSound"
if (Input.GetKe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ToggledObjects : MonoBehaviour
{
public List<GameObject> activate;
public List<GameObject> deactivate;
public void Toggle()
{
}
}
|
using System;
using System.Collections.Generic;
using DataAccess;
using DataAccess.Repositories;
using log4net;
using Nest;
namespace FirstMvcApp.Elastic
{
public class ElasticProvider
{
private const string c_indexName = "products";
private readonly ElasticClient m_client;
private rea... |
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 Mercadinho.Model;
using MySql.Data.MySqlClient;
namespace Mercadinho.View
{
public partial cla... |
using UnityEngine;
using UnityEngine.Serialization;
using System.Collections.Generic;
using Fungus;
// TODO(elliot): jump to different target blocks depending on question result
// TODO(elliot): output quest results into variables
[CommandInfo("Narrative",
"Objective",
"Starts an objectiv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.SceneManagement;
public class GiftPanel : MonoBehaviour
{
public Text ancientText;
public Text gemsText;
public Text coinsText;
public TextMeshProUGUI Massage;
pu... |
/******************************************************************************\
* Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StudyManagement.Admin
{
public partial class AddCourse : System.Web.UI.Page
{
p... |
/*****************************************************
* 作者:Allyn
* 创建日期:2015年2月6日, PM 11:20:04
* 描述:仓储上下文接口
* ***************************************************/
using Allyn.Domain.Models;
using Allyn.Domain.Models.Basic;
using Allyn.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Livet;
namespace MIV.Models
{
public interface INode
{
// 本(=本棚)、ページのインターフェイス
string Name { get; set; }
INode Parent { get; set; }
ObservableSynchronizedCollection<INode> Children { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebTest
{
public partial class ExportAndImport : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ZC_IT_TimeTracking.Models
{
public class Utilities
{
public static int RecordPerPage = 5;
public static int GetQuarter()
{
DateTime date = DateTime.Now;
if (date.Month... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using X1PL_Backend;
namespace X1PL_Console_UI
{
public class StringArray
{
public string[] Connections { ... |
using System;
using System.Collections.Generic;
using System.Windows;
using CODE.Framework.Core.Utilities;
namespace CODE.Framework.Wpf.TestBench
{
/// <summary>
/// Interaction logic for ObjectHelper.xaml
/// </summary>
public partial class ObjectHelperTest : Window
{
public ObjectHelperT... |
using AutoFixture;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests.Cohorts;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi;
using SFA.DAS.ProviderCommitments.Web.Models;
using System.Threading.Tasks;
using System.Linq;
using SFA.DAS.ProviderCommitments.We... |
using UnityEngine;
public class AimFollow : MonoBehaviour
{
public Texture2D cursorTexture;
public CursorMode cursorMode = CursorMode.Auto;
public Vector2 hotSpot = Vector2.zero;
private void Start()
{
// hotSpot = new Vector2(cursorTexture.width / 2f, cursorTexture.height / 2f);
// ... |
namespace PizzaBox.Domain
{
public class Crust : PizzaComponent
{
public Crust(string _name, decimal _cost) : base (_name, _cost) {}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.WorkFlow;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.VFX;
public class BoidsVFXTestScript : MonoBehaviour {
public VisualEffect BoidsVFX;
private Vector3 oldPos;
void Start() {
if(!BoidsVFX){
enabled = false;
Debug.LogWarning("no vfx assigned!");
return;
}... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ReactMusicStore.Core.Data.Context.Utilities.Hooks;
using ReactMusicStore.Core.Domain.Entities.F... |
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using CC.Utilities.Services;
namespace CC.Mobile.Services
{
public interface ISyncEnabledRepositoryService<T>:IRepositoryService<T>
{
Task<List<T>> GetDirty();
Task SetPristine (List<T> items);
Task Sync(List<T> items);
}
}
|
using System.Collections.Generic;
using L._52ABP.Application.Dtos;
using DgKMS.Cube.CubeCore.Dtos;
namespace DgKMS.Cube.CubeCore.Exporting
{
public interface IEvernoteTagListExcelExporter
{
/// <summary>
/// 导出为Excel文件
/// </summary>
/// <param name="evernoteTagListDtos">传入的数据集... |
namespace PizzaBox.Domain.Library
{
public class Addressing
{
public int Id { get; set; }
public string City { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public string Street { get; set; }
public string PhoneNumber { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MemberRegistrationMicroservice.Business.Abstract;
using MemberRegistrationMicroservice.Business.ServiceAdapters;
using MemberRegistrationMicroservice.Business.ValidationRules.FluentValidation;
usin... |
using System;
using System.Linq;
using System.Text;
namespace Book_Worm
{
class Program
{
static void Main(string[] args)
{
var initString = new StringBuilder(Console.ReadLine());
var size = int.Parse(Console.ReadLine());
var matrix = new char[size,size];
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace electrika
{
public partial class Pannes : Form
{
pri... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using ReactMusicStore.Core.Utilities.Extensions;
namespace ReactMusicStore.Core.Utilities.ComponentModel.TypeConversion
{
[SuppressMessage("ReSharper", "CanBeReplacedWithTryCastAndCheckForNull")]
public class TimeSpanConverter : TypeCo... |
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 CipherSuiteTest
{
public partial class Form1 : Form
{
public Form1()
{... |
using System.Collections.Generic;
using DataAccess.Model;
namespace DataAccess.Repository
{
public interface IShowtimeRepository
{
List<Showtime> Showtimes { get; }
void Refresh();
}
} |
using gView.Framework.Data;
using gView.Framework.Geometry;
using System.Collections;
using System.Collections.Generic;
namespace gView.Framework.Network.Build
{
public class NetworkEdge
{
private int _id;
private IPath _path;
private double _length = 0.0, _geoLength = 0.0;
pri... |
namespace Ejercicio
{
public class Abuelos : Adultos
{
public override int seAsusta(Niño niño){
AdultosComunes adultoComun = new AdultosComunes();
return adultoComun.seAsusta(niño) / 2;
}
}
} |
using BulkBook.DataAccess.Data;
using BulkBook.DataAccess.Repository;
using BulkBook.DataAccess.Repository.IRepository;
using BulkyBook.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BulkBook.DataAccess
{
public class CoverTypeRepository: Repository<CoverTyp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Drawing;
namespace Курсач.Models
{
public class Order
{
public int OrderID { get; set; }
//Водитель, обслуживающий заказ
public Driver Driver { get; set; }
public int? DriverID { g... |
// 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 Repo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Caching;
using System.Web;
using System.Web.Mvc;
namespace Fina
{
public class DataCache
{
private static ObjectCache cache = MemoryCache.Default;
static IRepository repo = new Repository();
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
namespace VéloMax.bdd
{
public class Programme
{
/* Attributs */
public readonly int numProg;
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FIVIL.Litentity
{
class SessionBase
{
internal SessionBase(LitentityUsers user)
{
User = user;
LastSeen = DateTime.Now;
Sessions = new Dictionary<string, object>();
}
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ApplicationRepository;
using System.Collections.Generic;
namespace Application.Tests
{
[TestClass]
public class ProductsBusinessLayerTests
{
[TestMethod]
public void CanGetAllProducts()
{
var mockRe... |
using Engine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
namespace Mario__.Modules
{
class Menu : Drawable
{
static SpriteFont font;
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MVC
{
public class PlayerController
{
private PlayerView _view;
private PlayerModel _model;
public Transform heal;
public Transform dmg;
public PlayerController(PlayerView view)
{
_view = view;
_view.OnPosi... |
using Microsoft.Xna.Framework;
using StardewValley;
using System;
using System.Collections.Generic;
using static LivelyPets.ModUtil;
namespace LivelyPets
{
class ModUtil
{
//
// ====== RNG =====
//
public static int PickRandom(int[] options)
{
Random r = new Random();
int rand = r.N... |
using DevsoftSDK.Extensions;
using log4net;
using SAPbouiCOM.Framework;
using System;
namespace Devsoft.AddonBase
{
class Program
{
static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
/// <summary>
/// The main entry point for... |
namespace Batcher.Tests.TestsData
{
using System.Collections;
using System.Collections.Generic;
internal class CheckAndFillBatchIndexTestData : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
yield return new object[]
{
2,
... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
namespace Crystal.Plot2D.DataSources
{
/// <summary>
/// Empty data source - for testing purposes, represents data source with 0 points inside.
/// </summary>
public class EmptyDataSource : IPointDataSource
{
#region IPointData... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MoneyExchangerApp.Domain.Models
{
public class CurrencyRate
{
public string Base { get; set; }
public DateTime Date { get; set; }
public Dictionary<string, double> Rates { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_IssPrefeitura.Dominio.Entities
{
public class Configuracoes
{
public int ConfiguracoesId { get; set; }
public string Titular { get; set; }
public string Su... |
namespace Inventory.Models.Enums
{
public enum DishUnitEnum
{
/// <summary>
/// Грамм
/// </summary>
Gram = 1,
/// <summary>
/// Штука
/// </summary>
Piece = 2,
/// <summary>
/// Миллилитры
/// </summary>
Millilit... |
using System.Windows;
using System.Windows.Controls;
using System.ComponentModel;
using System.Windows.Data;
using TraceWizard.Entities;
namespace TraceWizard.TwApp {
public partial class TimeFramePanel : UserControl {
public Events Events;
public TimeFramePanel() {
InitializeCompone... |
using System;
using Microsoft.Xna.Framework;
namespace VoxelSpace {
// returns orientations consistent with CubicGravityField
public class CubicVoxelOrientationField : IVoxelOrientationField {
public Orientation GetVoxelOrientation(Coords c) {
// we have to base things off the ce... |
using DIPS.Samsnakk.Server.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DIPS.Samsnakk.Server.Interfaces
{
public interface IUsers
{
public void AddUser(User user);
public List<User> GetUsers();
public User GetCurr... |
using System.Collections;
using UnityEngine;
public class EnemyShootingController : MonoBehaviour
{
#region Variables
#region Components
private Animator m_animator;
private EnemyMovement m_movement;
#endregion
#region Public Variables
#endregion
#region Private Variables
#regi... |
using System;
using System.Linq;
using System.Text;
namespace PangyaFileCore
{
public enum PriceTypeEnum
{
Pang = 0x22,
Pang_Purchase_Only_WithIcon = 0x60,
Cookie = 0x21,
}
public class Part : PangyaFile<Part>
{
public bool Enabled { get; set; }
public int... |
using FtpProxy.Core.Commands;
using FtpProxy.Entity;
namespace FtpProxy.Core.Factory
{
public interface IRemoteCommandFactory : ICommandFactory
{
}
} |
using ApiSGCOlimpiada.Models;
using Microsoft.Extensions.Configuration;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace ApiSGCOlimpiada.Data.ResponsavelDAO
{
public class ResponsavelDAO : IResponsavelDAO
... |
using CoreTest1.Data;
using CoreTest1.Models;
using CoreTest1.Models.MyViewModel;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoreTest1.Controllers
{
public class StocksController : Controller
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using DatabaseHelper;
using System.Data;
namespace BusinessObjects
{
public class PostList : Event
{
#region Private Members
private BindingList<Post> _List;
... |
namespace Nca.Valdr.Tests
{
using Console;
using NUnit.Framework;
using System.IO;
[TestFixture]
public class CliRunnerTests
{
[Test]
public void CliRunnerBuildJavaScriptTest()
{
// Arrange
var runner = new CliRunner(new CliOptions(new[] { "-i:x"... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PadBehaviour : MonoBehaviour
{
#region Variables
[Header("Movement Limit")]
[SerializeField] private float minX;
[SerializeField] private float maxX;
private Transform ballTransform;
#endregion
... |
namespace Sentry.Tests.Extensibility;
public class DisabledHubTests
{
[Fact]
public void IsEnabled_False() => Assert.False(DisabledHub.Instance.IsEnabled);
[Fact]
public void LastEventId_EmptyGuid() => Assert.Equal(default, DisabledHub.Instance.LastEventId);
[Fact]
public void ConfigureScopeA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace ContestsPortal.Domain.Models
{
public partial class UserProfile: IDisposable
... |
using UnityEngine;
using System.Collections;
public class PlatformOperator : MonoBehaviour
{
[Header("Main Properties")]
public GameObject mainCamera;
private Camera mainCamera_cam;
private Collider2D _collider2D;
private bool Launch;
[Header("Ball Properties")]
public float ballForce;... |
using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.ProviderCommitments.Web.Mappers;
using SFA.DAS.ProviderCommitments.Web.Mappers.Apprentice;
using SFA.DAS.Prov... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "ListObject", menuName = "TransferData/ListObject")]
public class ListObject : ScriptableObject {
public List<GameObject> monsters;
public List<GameObject> tower;
public List<GameObject> crystals;
... |
namespace PatientsRegistry.Search
{
public sealed class ContactDto
{
public string Type { get; set; }
public string Kind { get; set; }
public string Value { get; set; }
}
}
|
using System;
using TY.SPIMS.Utilities;
using TY.SPIMS.Entities;
using System.Collections.Generic;
using TY.SPIMS.POCOs;
using System.Linq;
namespace TY.SPIMS.Controllers.Interfaces
{
public interface ISaleController
{
bool CheckIfInvoiceHasDuplicate(string codeToCheck, int id);
void DeleteSal... |
namespace Jedi_Code_X
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void ... |
using UmbracoIdentity.Models;
namespace Uintra.Models.UmbracoIdentity
{
public class UmbracoApplicationRole : UmbracoIdentityRole
{
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Word = Microsoft.Office.Interop.Word;
... |
namespace Sentry.Tests;
[UsesVerify]
public class EventProcessorTests
{
private readonly TestOutputDiagnosticLogger _logger;
public EventProcessorTests(ITestOutputHelper output)
{
_logger = new TestOutputDiagnosticLogger(output);
}
[Fact]
public async Task Simple()
{
var t... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebAppMedOffices.Models;
namespace WebAppMedOffices.Controllers
{
public class TurnosController : Controller... |
using Microsoft.master2.model;
using Microsoft.master2.rules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TinyMessenger;
namespace Microsoft.master2.messagebus
{
class MethodMessage : ITinyMessage
{
private CSha... |
using System;
using System.Threading;
using System.Threading.Tasks;
using M220N.Models.Responses;
using M220N.Repositories;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace M220N.Controllers
{
public class MovieController : Controller
{
private readonly MoviesRepository _movieRepository;
... |
using UnityEngine;
/// <summary>
/// A GUI toggle button for controlling whether or not a field player
/// is controlled by human user input or computer AI.
/// </summary>
public class PlayerControlToggleButton : MonoBehaviour
{
#region Public Fields
/// <summary>
/// Whether or not the toggle button is r... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
... |
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
public class camera_control : MonoBehaviour {
public GameObject ship;
public byte rotation_speed=70;
public byte zoom_speed=50;
public bool special=false;
public Transform satellite;
public GameObject cam;
// Use this for initialization... |
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 Автошкола
{
public partial class MainForm : Form
{
public MainForm()
{... |
using KeepTeamAutotests.Pages;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeepTeamAutotests.Menues
{
public class SettingMenu : Bas... |
namespace ClounceMathExamples.Helper {
using System.IO;
using System.Collections.Generic;
sealed class SampleDataLoader {
private static string path = "../../sample_data";
public static IEnumerable<IEnumerable<dynamic>> GetSamplesFromFile() {
string line;
... |
using System;
using System.Data;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Docller.Core.Common;
using Docller.Core.Common.DataStructures;
using Docller.Core.Models;
using Docller.Core.Repository;
using Docller.Core.Services;
using Docller.Core.Storage;
using Docller.Serialization;
usi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace MoneyWeb.Models
{
public class CarteiraModel
{
public int IdCarteira { get; set; }
public... |
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SFA.DAS.ProviderCommitments.Configuration;
using StackExchange.Redis;
namespace SFA.DAS.ProviderCommitments... |
using System;
namespace PasswordValidator
{
class Program
{
static void Main(string[] args)
{
string password = Console.ReadLine();
bool IsBetween6and10symbols = CheckLengthOfPassword(password);
if(IsBetween6and10symbols==false)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20200621_계산기_만들어보기
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("============... |
using CyberSoldierServer.Models.BaseModels;
namespace CyberSoldierServer.Dtos.EjectDtos {
public class SlotDefenceItemDto {
public int Id { get; set; }
public int BaseDefenceItemId { get; set; }
public int PrefabId { get; set; }
public int Level { get; set; }
public DefenceType DefenceType { get; set; }
}... |
using System;
using Utilities;
namespace EddiDataDefinitions
{
public class Statistics
{
public BankAccountStats bankaccount { get; set; } = new BankAccountStats();
public CombatStats combat { get; set; } = new CombatStats();
public CrimeStats crime { get; set; } = new CrimeStats();
... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using System.Web.UI.WebControls;
using BusinessLogic;
using DataAccess;
namespace FirstWebStore.Pages
{
public partial class OrderPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Kitchen : Room
{
KitchenTileset tileSet;
int pantryBreadth;
int pantryLength;
IntRange pantryBreadthRange = new IntRange(3, 4);
IntRange pantryLengthRange = new IntRange(5, 8);
Direction pantryDirection;
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class DragOut : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
Vector3 origin;
RectTransform inventoryPanel;
public List<RectTransform> instantiatedPanels = new List<Rec... |
using System.Diagnostics.CodeAnalysis;
using Atc.Resources;
// ReSharper disable once CheckNamespace
namespace Atc
{
/// <summary>
/// Enumeration: DateTimeDiffCompareType.
/// </summary>
public enum DateTimeDiffCompareType
{
/// <summary>
/// Ticks.
/// </summary>
... |
using System;
using System.Runtime.InteropServices;
namespace NetVlc
{
public class Media : IDisposable
{
#region DLL Calls
[DllImport("libvlc", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr libvlc_media_new(IntPtr p_instance,
[MarshalAs(Unmanag... |
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace WebPrueba.Models
{
public class PersonContext : DbContext
{
public PersonContext(DbContextOptions<PersonContext> options)
: base(options)
{}
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PlayerController03 : MonoBehaviour
{
public float Speed;
public Text scoreText;
public Text timeText;
//public Text winText;
public Text uIText;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft.Json;
using System.Net.Http.Headers;
namespace WindowsFormsAppli... |
using System;
namespace Decorator
{
class Program
{
static void Main(string[] args)
{
var messenger1 = new MessengerService(new MsmqMessage());
messenger1.SendMessage("Hello MSMQ");
var messenger2 = new MessengerService(new RabbitmqMessage());
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Unity;
using Unity.Interception.ContainerIntegration;
using Unity.Interception.InterceptionBehaviors;
using Unity.Interception.Interceptors.InstanceInterceptors.InterfaceInterception;
using Unity.I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio18
{
class LeituraMatriz3D
{
static void Main(string[] args)
{
{
Console.Write("Tamanho 1. dimensão ");
int T = C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.