text stringlengths 13 6.01M |
|---|
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
namespace LighterApi
{
[Route("api/[controller]")]
[ApiController]
public class LogController : ControllerBase
{
private readonly ILogger<LogController> _logger;
//private readonly ILogger _myLogger;
... |
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace CustomXamarinControls
{
public class CheckBox : View
{
/// <summary>
/// The checked state property.
/// </summary>
public static readonly BindableProperty CheckedPrope... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace FolderBackup.Server
{
public class User
{
public String username { get; set; }
public DirectoryInfo rootDirectory { get; set; }
static public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTB.Database.Views
{
public class qryAuftraggeberAction : tblAuftraggeberAktionRel
{
#region Property Declaration tblAktenIntActionType
private string _aktIntActionTypeCaption;
publ... |
using fileCrawlerWPF.Events;
using fileCrawlerWPF.Media;
using System;
using System.Windows.Controls;
namespace fileCrawlerWPF.Controls
{
/// <summary>
/// Interaction logic for FileImport.xaml
/// </summary>
public partial class FileImport : UserControl
{
private readonly string lastCheck... |
using System.ComponentModel.DataAnnotations.Schema;
using Etherama.DAL.Models.Base;
namespace Etherama.DAL.Models {
[Table("er_user_options")]
public class UserOptions : DbBaseUserEntity {
[Column("init_tfa_quest")]
public bool InitialTfaQuest { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Text.RegularExpressions;
public partial class qyrightnb : System.Web.UI.P... |
using System.Threading.Tasks;
using Abp.Application.Services;
using Dg.fifth.Sessions.Dto;
namespace Dg.fifth.Sessions
{
public interface ISessionAppService : IApplicationService
{
Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations();
}
}
|
namespace ServiceQuotes.Application.Filters
{
public class GetCustomersFilter : SearchStringFilter
{
public string CompanyName { get; set; }
public string VatNumber { get; set; }
}
}
|
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using BizApplication.http;
using ServerCommonLibrary;
namespace BizApplication.Http
{
/// <summary>
/// Generic helper functions for HTTP
/// </summary>
public class HttpHelper
{
/// <summary>
... |
using Dao;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Control
{
public class ClienteCtrl
{
public Boolean SalvarClienteNoArquivo(Cliente _cliente)
{
try
{
Cli... |
using PMO2EXAMEN3;
using Examen3PMO2.controller;
using Examen3PMO2.Models;
using Examen3PMO2.ViewModel;
using SQLite;
using System;
using System.Windows.Input;
using Xamarin.Forms;
namespace Examen3PMO2.ViewModel
{
public class ViewModelPersonas : BaseViewModel
{
conexion conn = new conexion();
... |
namespace CheckMkProxy
{
using JetBrains.Annotations;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
[UsedImplicitly]
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace WebAppAdvocacia.Models
{
public class Processo
{
public int ProcessoID { get; set; }
[Required(ErrorMessage = "Descrição do Processo é Obrigatório")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataService_BpmOnline_CRUD
{
public class Id
{
public int dataValueType { get; set; }
}
public class Name
{
public int dataValueType { get; set; }
}
... |
namespace XH.Commands.Catalogs
{
public class CreateRegionCommand : CreateOrUpdateRegionCommandBase
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpriteSelecting : BuildData, IBuildMode
{
Block block;
public SpriteSelecting(Block block)
{
this.block = block;
}
public void Begin()
{
BlockType type = block.GetBlockType();
i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeeFarm
{
class Worker : Bee
{
private Honey honey = new();
public Worker() : base() { }
public Worker(Hive hv) : base(hv) { }
public int Quantity
... |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace gView.Framework.Symbology.UI.Controls
{
public class ToolStripLineWidthPicker : ToolStripDropDownButton
{
private Control _parentControl = null;
private OfficeLineWidthPicker _lineWidthePicker;
public event Event... |
namespace TestProject.Classes
{
public class Author
{
public int AuthorIdentifier { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class climb : MonoBehaviour
{
//init vars
Transform player;
GameObject playerObj;
bool canClimb = true;
float speed = 30;
//entering the trigger collider
void OnTriggerEnter(Collider other)
{
... |
using System;
namespace Uintra.Features.Permissions.Models
{
public class PermissionModel
{
public Guid Id { get; }
public IntranetMemberGroup Group { get; }
public PermissionSettingValues SettingValues { get; }
public PermissionSettingIdentity SettingIdentity { get; }
... |
namespace Zesty.Core.Entities
{
public class HistoryItem
{
public User User { get; set; }
public string Resource { get; set; }
public string Text { get; set; }
public string Actor { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
namespace DAL
{
public class DataAccess
{
/// <summary>
/// This method returns the number of objects in the database as an integer.
/// </summary>
/// <returns><... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ItemShop : MonoBehaviour
{
public List<BaseShopItem> itemShopList = new List<BaseShopItem>();
public bool inShop;
Text goldText;
Text numOwned;
Transform cursor;
ItemShopMouseEv... |
using PhobiaX.Graphics;
using PhobiaX.Physics;
using PhobiaX.SDL2;
using System;
using System.Collections.Generic;
using System.Text;
namespace PhobiaX.Game.GameObjects
{
public class MapGameObject : StaticGameObject
{
public MapGameObject(IRenderableObject renderableObject, ICollidableObject collidableObjet) : b... |
using System;
namespace Algorithms.LeetCode
{
public class MaxAreaOfIslandTask
{
public int MaxAreaOfIsland(int[][] grid)
{
int n = grid.Length;
int m = grid[0].Length;
var visited = new bool[n][];
for (int i = 0; i < n; ++i)
visi... |
using System.Linq;
using static TriangleCollector.Models.Triangle;
namespace TriangleCollector.Models
{
public static class ProfitPercentCalculator
{
public static decimal GetProfitPercent(Triangle triangle)
{
//use the direction list to understand what trades to make at each step
... |
using System;
using System.IO;
using System.Net;
using System.Data.Services.Client;
namespace DataService_BpmOnline_CRUD
{
class LoginClass
{
private readonly static Uri serverUri = new Uri("http://178.206.68.64:82/0/ServiceModel/EntityDataService.svc/");
private const string baseUri = "http:/... |
using System;
using System.Xml.Linq;
using System.Globalization;
namespace DesignMaterial
{
class Movimentacao
{
XElement Cadastro = XElement.Load(@"Cadastro.xml");
public string Codigo { get;}
public double Valor { get; set; }
public string Descricao { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Drawing.Printing;
using System.Data.SqlClient;
using System.IO;
using Restuarnt.Bl;
using Sy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrimeNumberTest.Common
{
public class PrimeNumberProvider
{
public static long[] GetPrimeNumbers()
{
return new long[] { 2, 3, 5, 7, 11,13, 17, 19, 23, 29, ... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.Distribute
{
public class BorrowFileEntity
{
/// <summary>
/// 编号
/// </su... |
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
namespace BO
{
public class Competitor : Personne
{
[XmlIgnore]
[Display(Name = "Inscrit à la course")]
public Race Race { get; set; }
}
} |
using IWorkFlow.DataBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_OA_Email_Mark", "id")]
public class B_OA_Email_Mark : QueryInfo
{
#region Model
priv... |
using System;
namespace TrainAPI
{
public class API
{
}
}
|
using NUnit.Framework;
using OpenQA.Selenium;
using System;
namespace Training
{
public class Task7 : Base
{
[Test]
public void Task_7()
{
driver.Navigate().GoToUrl("http://localhost/litecart/admin/");
driver.FindElement(By.Name("username")).SendKeys("admin");
driver.FindElement(By.Name("password")).... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using FSDP.DATA.EF;
namespace FSDP.UI.MVC.Controllers
{
[Authorize]
public class CourseCompletionsController : Controller
{
//pr... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
namespace PW.InternalMoney.Tests
{
public sealed class LinkCliker : ILinkCliker
{
private readonly IBrowserNavigator _browser;
public LinkCliker(IBrows... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Caserraria.Items.Accessories
{
public class GraniteCore : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Granite Core");
Tooltip.SetDefault("+5 defense if under 50% HP");
... |
// ReSharper disable MemberCanBePrivate.Global
using System;
using System.Collections.Generic;
using System.Linq;
namespace iSukces.Code.Interfaces
{
public interface ICsCodeWriter : ICodeWriter
{
}
public static class CsCodeWriterExtensions
{
public static void AddNamespaces(this ICsCode... |
using Core;
using System;
namespace Tms_18_UnixTests
{
class Program
{
static void Main(string[] args)
{
// Название - [тестируемый метод] [сценарий] [ожидаемое поведение]
// Стиль ARRANGE(данные для входа), ACT(действие), ASSERT(проверка и взаимодействие)
/... |
namespace CarDealer.Data.Models
{
using System.Data.Entity;
using CarDealer.Models;
using Interfaces;
public class CustomerRepository : Repository<Customer>, ICustomerRepository
{
public CustomerRepository(DbContext context) : base(context)
{
}
}
} |
using System.Drawing;
using System.Windows.Forms;
using DelftTools.TestUtils;
using NUnit.Framework;
using SharpMap.UI.Tools;
namespace SharpMap.UI.Tests
{
[TestFixture]
public class ScaleBarTest
{
/// <summary>
/// This image shows a short bit of text with all 9 different alignment combin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Model.APIModels.Parameter
{
/// <summary>
/// 获取 销货单数据列表
/// </summary>
public class E_getSaleOutList
{
/// <summary>
/// 开始时间
/// </summary>
public DateTime? beginDate { ... |
using JetBrains.Annotations;
using Microsoft.Extensions.Configuration;
namespace Thinktecture.Extensions.Configuration.Legacy
{
/// <summary>
/// Configuration source for App.config and Web.config.
/// </summary>
public class LegacyConfigurationSource : FileConfigurationSource
{
/// <inh... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DiscoBall : MonoBehaviour
{
public float rotationSpeed = 15.0f;
public MeshRenderer mesh;
private Material material;
private static string IntensityOccStr = "_IntensityOcc";
private int maxDisco;
priv... |
using System;
using UnityEngine;
public interface IMouseService
{
event Action<Vector3> OnEnvironmentClick;
event Action<Vector3> OnEnvironmentRightClick;
event Action<GameObject> OnAttackableClick;
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinQ_Operation_Using_collections
{
class StateCollection
{
public int stateId { get; set; }
public string stateName { get; set; }
public double stateArea { ge... |
using IconCreator.Core.Domain.Enums;
using IconCreator.Core.Models;
using IconCreator.WPF.UI.Models;
using IconCreator.WPF.UI.ViewModel;
using Microsoft.Practices.ServiceLocation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Configuration;
using System.Windows;
usi... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using Mio.TileMaster;
namespace Achievement {
public class AchievementManager {
// activation rules
public const string ACTIVE_IF_GREATER_THAN = ">";
public const string ACTIVE_IF_LESS_THAN = "<";
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class AddAlbum : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["user"] == null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data;
using System.ComponentModel.DataAnnotations;
using MiniProjectMVC.Models;
using System.Dynamic;
using System.Text.RegularExpressions;
namespace MiniProjectMVC.Controllers
{
pu... |
namespace Profiling2.Domain.Prf.Sources
{
using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Envers.Configuration.Attributes;
using Profiling2.Domain.Prf.Events;
using Profiling2.Domain.Prf.Organizations;
using Profiling2.Domain.Prf.Persons;
using Profil... |
namespace Thingy.WebServerLite
{
public interface IKnownUser
{
string IpAddress { get; set; }
string Password { get; }
string[] Roles { get; }
string UserId { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Big_Bank_Inc
{
public static class Validator
{
private static bool IsInputGivenNumeric(string userInput)
{
bool intInString = Int32.TryParse(userInput, out int result);
return intInString;
... |
using Library.DataTransferObjects.Enum;
using System;
using System.Collections.Generic;
using System.Text;
namespace Library.DataTransferObjects.Dto
{
public class BookDto : BaseDto
{
public string Name { get; set; }
public int GenreId { get; set; }
public string GenreName { get; set; ... |
using System;
using Compent.CommandBus;
using Uintra.Core;
using Uintra.Core.Activity;
using Uintra.Features.Likes.CommandBus.Commands;
using Uintra.Features.Likes.Services;
using Uintra.Infrastructure.Extensions;
namespace Uintra.Features.Likes.CommandBus
{
public class LikeHandle : IHandle<AddLikeCommand>, IHan... |
namespace CheckIt.Tests.CheckSources
{
using Xunit;
public class CheckClassHaveInterface
{
[Fact]
public void Should_class_have_interface_When_when()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace LMS.App_Code
{
public class CommonFunctions
{
string connection_string = ConfigurationManager.ConnectionStrings["db_connectionstring"].ConnectionStrin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using strange.extensions.mediation.impl;
namespace Ghostpunch.OnlyDown.Common.Views
{
public abstract class ViewBase : View
{
internal virtual void Initialize() { }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace GDS.Comon
{
public class HttpRuntimeCache
{
private const int DefaultExpireTime = 30;
public static void Add(string key, object value, bool isExpire... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SynchronizationPrimitive
{
class SpinLockTest
{
private const string s = "";
private int _participantNumber = Environment.ProcessorCount;
... |
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Rexxar.Chat.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rexxar.Chat.Ex... |
using UBaseline.Core.Node;
using Uintra.Features.Groups.Helpers;
using Uintra.Features.Groups.Models;
namespace Uintra.Features.Groups.Converters
{
public class UintraMyGroupsPageViewModelConverter : INodeViewModelConverter<UintraMyGroupsPageModel, UintraMyGroupsPageViewModel>
{
private readonly IGro... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice.Edit;
namespace SFA.DAS.ProviderCommitments.Web.Validators.Apprentice
{
public class ChangeVersionViewModelValidator : AbstractValidator<ChangeVersionViewModel>
{
public ChangeVersionViewModelValidator()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Audio;
namespace DevEngine.Sound {
public class SoundHandler {
public SoundHandler() {
}
public void Tick() {
}
}
} |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Senparc.Areas.Admin.Models.VD;
using Senparc.Areas.Admin.NopiUtil;
using Senparc.CO2NET.Extensions;
using Senparc.Core.Enums;
using Senparc.Core.Models;
using Senparc.Mvc;
using Senparc.Mvc.Filter;
using Senparc.Service;
using Senparc.Utility;
usin... |
using PhobiaX.Assets.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace PhobiaX.Physics
{
class CollidableObject : ICollidableObject
{
public CollissionMetadata Metadata { get; }
public int X { get; set; }
public int Y { get; set; }
public int MiddleX => X + Width / 2;
... |
/// <summary>
/// Ben Redahan, redahanb@gmail.com, 2015
/// </summary>
using UnityEngine;
using System.Collections;
public class EnemySight : MonoBehaviour {
public float fieldOfView = 90f;
public bool playerInSight;
public float visionRange = 12.0f;
public bool patrolling;
public bool alerted;
public Vect... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Terminal.Gui.ViewTests {
public class PanelViewTests {
readonly ITestOutputHelper output;
public PanelViewTests (ITestOutputHelper output)
{
t... |
using System;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem01 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2017: 1"; }
}
public override string GetAnswer2() {
return Answer2(Input()[0]);
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace DiagramDesigner
{
public class FullyCreatedConnectorInfo : ConnectorInfoBase
{
private bool showConnectors = false;
public FullyCreatedConnectorInfo(DesignerItemViewModelBase ... |
// Loads the next level
using UnityEngine;
using System.Collections;
public class NextLevel : MonoBehaviour {
public GameScript load;
// Use this for initialization
void Start () {
// Finds the game manager object
load = GameObject.Find ("GameManager").GetComponent<GameScript>();
}
void OnMouseDown () {
... |
using System.Threading.Tasks;
using KitStarter.Server.Library.Configuration;
using KitStarter.Server.Models;
namespace KitStarter.Server.Tools.EmailSender
{
public abstract class EmailSender
{
protected STMPConnection settings;
public EmailSender(STMPConnection settings)
{
t... |
using Allyn.Domain.Models.Basic;
using System;
using System.Collections.Generic;
namespace Allyn.Domain.Models.Basic
{
/// <summary>
/// 表示"角色"聚合根类型.
/// </summary>
public class Role : AggregateRoot
{
/// <summary>
/// 获取或设置父级.
/// </summary>
public Role Parent { ge... |
namespace IdentityServer3.Shaolinq
{
public class ShaolinqServiceOptions
{
/// <summary>
/// The name of the config section to use for this data model (if null or empty defaults to the type name of the data access model)
/// </summary>
public string DataAccessModelConfigSection { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum MarkerType {
In,
Up,
Down,
Out
}
public class SingleMarker : OnRailRechargeMarker {
MarkerType MarkerType;
private SpriteRenderer spriteRenderer;
private static Sprite InMarkerSprite;
private static Sprite DownMarkerS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio14
{
class Xis
{
static void Main(string[] args)
{
{
const char Caract = 'X';
const char Ponto = '.';
... |
using System.Collections.Generic;
namespace TechnicalSupport
{
public class SettingsJSON
{
public DB DataBase { get; set; }
}
public class DB
{
public problem Problem { get; set; }
public tarif Tarif { get; set; }
public communication Communication { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using WCFServiceWebRole1.Database;
using WCFServiceWebRole1.Help... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using Alabo.Extensions;
using Alabo.Framework.Basic.Relations.Domain.Entities;
using Alabo.Framework.Basic.Relations.Domain.Repositories;
using Alabo.Framework.Core.Reflections.Interfaces;
using... |
using UnityEngine;
using UnityEditor;
using Thesis;
using System.Collections.Generic;
using System;
using Object = UnityEngine.Object;
public class Builder : EditorWindow
{
// dimensions stuff
private Vector2 _p1 = Vector2.zero;
private Vector2 _p2 = Vector2.zero;
private Vector2 _p3 = Vector2.zero;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MerchantRPG.Simulation
{
public enum BuildPurpose
{
MinHpLoss,
MinTurns,
MaxDefense,
MaxEffectiveHp
}
}
|
namespace Senparc.Core.Models
{
/// <summary>
/// 软删除接口
/// </summary>
public interface ISoftDelete
{
/// <summary>
/// 是否删除
/// </summary>
bool Flag { get; set; }
}
}
|
using System;
using System.Net.Http;
using System.Net.Http.Headers;
namespace CPlanner.Client
{
public class BaseWebClient
{
public HttpClient Client = new HttpClient();
public BaseWebClient()
{
Client.BaseAddress = new Uri("https://plannersp.azurewebsites.net/api/");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CommonFunctions;
namespace AggregatorAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AggregateController : ControllerBase
{
// PUT api/ag... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text.RegularExpressions;
using Epic.Training.Project.Inventory;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Epic.Training.Project.UnitTest
{
/// <summary>
/// Verifies Epic naming conventions
/// </summary>
[Te... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bag : MonoBehaviour {
private List<Product> listItem;
private float total=0;
void Start () {
listItem = new List<Product>();
}
public void addProToBag(Product pro)
{
total += pro.Price;
... |
using BDTest.Test;
namespace BDTest.Interfaces.Internal;
internal interface IScenarioRetryManager
{
Task CheckIfAlreadyExecuted(Scenario scenario);
} |
using Lab2.Properties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lab2.Generating;
using Lab2.Services.Filter;
using Lab2.Services;
using Lab2.Areas;
using Lab2.Services.TurnAgent;
using Lab2.Services.Sensor;
using Lab2.Services.Statistic;
... |
using System;
namespace FeriaVirtual.Application.Services.Users.Commands.Update
{
public class UpdateUserCommandBuilder
{
private readonly UpdateUserCommand _command;
private UpdateUserCommandBuilder() =>
_command = new UpdateUserCommand();
public static UpdateUserComman... |
using AutoMapper;
using DAL.Context;
using Models;
using ServiceLayer.Contracts;
using ServiceLayer.Translations;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ServiceLayer.DB
{
public class DbCatalogService : ICatalogService, IDisposable
{
private readonly IDalUnitOfWor... |
namespace Blackjack21.Game.Model
{
/// <summary>
/// Card Symbol Enumerate
/// </summary>
public enum CardSymbol : int
{
CLUBS = 1,
SPADES = 2,
HEARTS = 3,
DIAMONDS = 4
}
}
|
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
namespace AlmenaraGames
{
public class MLPASAboutWindow : EditorWindow
{
private Texture logoTex;
#if UNITY_EDITOR
[MenuItem("Almenara Games/MLPAS/About", false, +4)]
public static void ShowWindow... |
using NUnit.Framework;
using BugunNeYesem.Logic;
namespace BugunNeYesem.Test
{
[TestFixture]
public class LocationServiceTests
{
[Test]
public void LocationService_GetLocation_ReturnsLocationResponse()
{
//arrange
const string argesetLatitude = "41.010305"... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Bolletta
{
public class Bolletta
{
public double Kwh { get; set; }
public Utente Utente { get; set; }
public decimal Conto { get; set; }
const decimal quotaFissa= 40;
public Bolletta()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Otiport.API.Contract.Models;
using Otiport.API.Contract.Response.Medicines;
using Otiport.API.Data.Entities.Medicine;
namespace Otiport.API.Repositories
{
public interface IMedicineRepository
{
Task<... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace DBDiff.Schema.Sybase.Model
{
public class Tables:List<Table>
{
private Hashtable hash = new Hashtable();
private Database parent;
private string sqlScript;
public Tables(Data... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade8.ExercicioSlides
{
class _3forWhile
{
static void Main111(string[] args)
{
int x = 1;
do
{
if (x % 3 != 0)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.