text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Domain.Entity;
using LiteDB;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
namespace BackEndJCDV.Controllers
{
[Authorize("B... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
Vector vector1 = new Vector { 29, 50 };
Vector vector2 = new Vector { 47, 91 };
Vector... |
using BP12.Events;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Objects
{
public interface ISpawnable
{
event EventAction<SpawnableEventArgs> Pool;
void SpawnAt(Vector2 position, Quaternion rotation);
void ForceP... |
namespace FamilyAccounting.Web.Models
{
public class CategoryViewModel
{
public int Id { get; set; }
public string Description { get; set; }
public bool Type { get; set; } //0 - income, 1 - expense
public decimal Amount { get; set; }
}
}
|
using System.Collections.Generic;
using KellermanSoftware.CompareNetObjects;
using NHibernate.Envers;
using NHibernate.Envers.Query;
using Profiling2.Domain.Contracts.Queries.Audit;
using Profiling2.Domain.Prf.Persons;
using Profiling2.Domain.Prf.Responsibility;
namespace Profiling2.Infrastructure.Queries.Audit
{
... |
using ConnelHooley.DirectoryBackupService.S3.Models;
using DirectoryBackupService.Shared.Models;
using Topshelf.HostConfigurators;
namespace ConnelHooley.DirectoryBackupService.S3
{
internal static class S3SettingsParser
{
public static (SourceSettings, AwsDestinationSettings) Parse(HostConfigurator x... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtomArea : MonoBehaviour
{
RectTransform grid;
public static ButtomArea instance;
private void Awake()
{
instance = this;
}
// Start is called before the first frame ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Dynamic_Programming
{
/// <summary>
/// Find the longest substring of even size with the sum of digits on the right and left as equal
/// </summary>
public cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Data;
using System.Data.SqlClient;
/// <summary>
/// FileUtil 的摘要说明
/// </summary>
public class FileUtil : System.Web.UI.Page
{
SqlServerDataBase... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class EditorsController : DemoController {
[HttpGet]
public ActionResult RadioButtonList() {
ViewData["Options"] = new CheckListDem... |
using GatewayEDI.Logging.Resolver;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using GatewayEDI.Logging;
namespace GatewayEDI.Logging.UnitTests
{
/// <summary>
///This is a test class for NamedFactoryResolverTest and is intended
///to contain all NamedFactoryResolverTest Un... |
using System.Collections.Generic;
namespace Tests.Data.Van.Input
{
public class Event
{
#region Name Tab Input
public string EventType = "";
public bool EventTypeIsRepeating = true;
public string LongName = "";
public string ShortName = "";
public s... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Day3
{
class Program
{
static void Main()
{
var lines = File.ReadAllLines("Sample.txt");
var route1 = BuildLines(lines[0].Split(','));
var route2 = BuildLines(lines... |
using System;
using System.Collections.Generic;
namespace Piovra;
public class Batch<T> : IDisposable where T : IDisposable {
public IEnumerable<T> Items { get; }
Batch(IEnumerable<T> items) => Items = items;
public static Batch<T> New(IEnumerable<T> items) => new(items);
public void Dispose() {
... |
using NeuralNetLibrary.components;
using System;
using System.Collections;
using System.IO;
namespace DigitRecognition
{
class SemeionDataHolder : DataHolder
{
private string path = "data/semeion.data";
public SemeionDataHolder() : base(16, 16)
{
}
public ove... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.PrintModel.INV;
namespace com.Sconit.Utility.Report.Operator
{
public class RepBarCodePurchase2DOperator : RepTemplate2
{
public RepBarCodePurchase2DOperator()
{
//明细部分的行数
... |
using System;
using Elrond.Dotnet.Sdk.Manager;
using Elrond.Dotnet.Sdk.Provider;
using Microsoft.Extensions.DependencyInjection;
namespace Elrond.Dotnet.Sdk
{
public static class Extension
{
public enum Network
{
MainNet,
TestNet,
DevNet
}
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActivateFireworks : MonoBehaviour
{
[SerializeField] private GameObject fireworks;
private void OnTriggerEnter(Collider other)
{
fireworks.SetActive(true);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.OpenAccess;
namespace Sparda.Core.Services
{
public class Table
{
private const string ITrackingGroup = "ITracking";
private static readonly List<string> ITrackingM... |
using DamianTourBackend.Api.Helpers;
using DamianTourBackend.Application.Payment;
using DamianTourBackend.Application;
using DamianTourBackend.Application.RouteRegistration;
using DamianTourBackend.Core.Interfaces;
using FluentValidation;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.... |
using System.Data.Entity.ModelConfiguration;
using ReactMusicStore.Core.Domain.Entities;
namespace ReactMusicStore.Core.Data.Context.Mapping
{
public class CartMap : EntityTypeConfiguration<Cart>
{
public CartMap()
{
// Primary Key
HasKey(t => t.RecordId);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DatabaseLoader : MonoBehaviour
{
public static CarriageImageDatabase Database = null;
[RuntimeInitializeOnLoadMethod]
private static void LoadAssets()
{
Database = CarriageImageDatabase.Inst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MessageBox : MonoBehaviour
{
public GameObject messageBg;
public Text messageBox;
private Image bg;
public float messageTime = 3f;
private float clearTimer = 0f;
privat... |
using System.Threading.Tasks;
namespace Union.Gateway.Abstractions
{
public interface IUnionMsgProducer
{
/// <summary>
///
/// </summary>
/// <param name="terminalNo">设备终端号</param>
/// <param name="data">808 hex data</param>
ValueTask ProduceAsync(string termi... |
using Sentry.Extensibility;
using Sentry.Internal.Extensions;
namespace Sentry;
/// <summary>
/// Instruction Address Adjustments
/// </summary>
public enum InstructionAddressAdjustment
{
/// <summary>
/// Symbolicator will use the `"all_but_first"` strategy **unless** the event has a crashing `signal`
//... |
// **************************************************
//
// Copyright (c) 2020 Shinichi Hasebe
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
// **************************************************
using UnityEngine;
using UnityEngine.Events;
publ... |
namespace MassEffect.GameObjects.Projectiles
{
class PenetrationShell : Projectile
{
public PenetrationShell(int damage) : base(damage)
{
}
public override void Hit(Interfaces.IStarship targetShip)
{
targetShip.Shields -= this.Damage;
}
}
}
|
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using testMonogame.Interfaces;
namespace testMonogame
{
class ItemSelectionScreen
{
const int menuX = 130;
const int menuY = 0;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PauseMenu : MonoBehaviour
{
private static bool m_gameIsPaused = false;
private static bool m_gameIsEnded = false;
public GameObject pauseMenuUi;
// St... |
using System;
using KeepTeamAutotests;
using KeepTeamAutotests.Model;
using NUnit.Framework;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.IO;
using KeepTeamAutotests.AppLogic;
namespace KeepTeamTests
{
[TestFixture()]
public class EditKPITests : InternalPageTests
{
[SetUp]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryProject
{
abstract class UserInterface
{
public static void ManageOrganisation(Organisation company)
{
bool exit = false;
do
... |
namespace VehicleInventory.Services
{
internal class VehicleInstock
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facade
{
class Program
{
static void Main(string[] args)
{
Factura f = new Factura() {Destinatario = DestinoFactura.Contabilidad};
... |
using System.Collections.Generic;
namespace Union.Gateway.Traffic
{
/// <summary>
/// 流量统计服务
/// </summary>
public interface IUnionTraffic
{
long Get(string key);
long Increment(string terminalNo, string field, int len);
List<(string, long)> GetAll();
}
}
|
using ParrisConnection.ServiceLayer.Data;
using System.Collections.Generic;
namespace ParrisConnection.ServiceLayer.Models
{
public class WallViewModel
{
public int Id { get; set; }
public IEnumerable<StatusData> Statuses { get; set; }
}
} |
using NGeoNames.Entities;
namespace NGeoNames.Parsers
{
/// <summary>
/// Provides methods for parsing an <see cref="AlternateName"/> object from a string-array.
/// </summary>
public class AlternateNameParser : BaseParser<AlternateName>
{
/// <summary>
/// Gets wether the file/str... |
using System.Windows.Input;
using ApartmentApps.Client;
using ApartmentApps.Client.Models;
namespace ResidentAppCross.ViewModels.Screens
{
public enum CreditCardType
{
Visa = 0,
MasterCard = 1,
Discovery = 2,
AmericanExpress = 3,
}
public class AddCreditCardPaymentOptio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour
{
public float speed;
public float distanse;
public LayerMask whatIsCollision;
public bool deathTrigger = false;
public GameObject deathAnim;
private bool movingRight = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.MDM
{
/// <summary>
/// 工序生产防错规则
/// </summary>
public class PokaYokeRule
{
/// <summary>
/// 序号
/// </summary>
public int Ordinal { get; set; ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Runtime.Serialization;
namespace JenkinsBuildNotifier.Entities
{
[DataContract]
internal sealed class ProjectModel
{
[DataMember]
public string description
{
get;
set;
}
[DataMember]
public string displayName
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CollectionHierarchy
{
class MyList : AddRemoveCollection
{
public int Used => BaseList.Count;
public override string Remove()
{
var first = BaseList[0];
BaseList.RemoveAt(0);
... |
using UnityEngine;
public class BallController : MonoBehaviour
{
private GameObject player1;
[SerializeField]
private float ballSpeed = 5f;
[SerializeField]
private float ballMaxSpeed = 10f;
[SerializeField]
private float ballAccelaration = 1f;
private Rigidbody2D rb;
// Prop... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.CustomRangeException
{
class MainProgram
{
static void Main()
{
//int example
Console.WriteLine("Enter a number between [1..100].");
... |
using System;
namespace Uintra.Features.Comments.Models
{
public class CommentEditDto
{
public Guid Id { get; }
public string Text { get; }
public int? LinkPreviewId { get; }
public CommentEditDto(Guid id, string text, int? linkPreviewId)
{
Id = id;
... |
using System;
using Uintra.Features.Comments.Models;
namespace Uintra.Features.Comments.CommandBus.Commands
{
public class AddCommentCommand : CommentCommand
{
public CommentCreateDto CreateDto { get; }
public AddCommentCommand(Guid targetId, Enum targetType, CommentCreateDto createDto) : bas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TestTutorial101
{
public partial class ContactUs : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using System;
class Module{
public const int third = 15;
public static int four = 99;
public int five = 100;
public int Sum(int first, int second, int argThird){
//third = argThird;
four = argThird;
return first + second + third + four;
}
}
class StaticModule{
public static int ten = 10;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AxisPosCore;
using KartObjects;
using AxisPosCore;
namespace AxisPosUtil
{
public partial class frmMain : Form,IDateView
... |
using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace LucaasBetterBot
{
internal class Global
{
public static string Token { get; internal set; }
public static char Prefix { get; set; }
public static ulong ModeratorRoleID { get; internal set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace pjank.BossaAPI
{
public class BosPapers : IEnumerable<BosPaper>
{
/// <summary>
/// Rachunek, na którym znajdują się te papiery.
/// </summary>
public readonly BosAccount Ac... |
/******************************************************************************\
* 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.Linq;
using System.Threading.Tasks;
namespace Wee.Common.Contracts
{
public interface IMenuCategory
{
string Title { get; }
int Order { get; }
}
}
|
using CEMAPI.DAL;
using CEMAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CEMAPI.BAL
{
public class NotificationHistoryBAL
{
TETechuvaDBContext context = new TETechuvaDBContext();
RecordExceptions exception = new RecordExceptions();
... |
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;... |
// Name: Colin Campbell
// Class: Graded Unit
// Project description: A stock system to be used within the clothing department of Sainsburys (Tu Clothing)
// Version: 1.00
// Date: 07/02/2018
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
u... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace AngularSPAWebAPI.Models.DatabaseModels.Inventory
{
public abstract class BaseSubProduct : IProduct
{
[Key]
... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
using UnityEngine.SceneManagement;
public class PlayerInScene : MonoBehaviour
{
private string sceneToTest = "Game";
[UnityTest]
public IEnumerator Playe... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CQCM
{
public class CmProducer
{
/// <summary>
/// 输出扩容结果
/// </summary>
/// <param name="cmSite"></param>
/// <param name="d... |
using PrismTest1.Business;
using PrismTest1.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrismTest1.People.ViewModels
{
public interface IPersonViewModel: IViewModel
{
Person Person { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
public class UIAutoLayout : MonoBehaviour {
const int kIconSize = 100;
const int kOffset = 2;
public GameObject gameFieldView;
public GameObject sidePanel;
public GameObject bottomPanel;
// Use this for initialization
void Start ()
{
this.CalculateBounds ();
... |
namespace ThaiTable.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
using System.Linq;
public partial class Order
{
public int OrderID { g... |
using System;using Alabo.Domains.Repositories.EFCore;using Alabo.Domains.Repositories.Model;
using System.Linq;
using Alabo.Domains.Entities;
using Microsoft.AspNetCore.Mvc;
using Alabo.Framework.Core.WebApis.Filter;
using MongoDB.Bson;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.RestfulApi;using ZKClou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Integer.Domain.Acesso.Exceptions;
using Integer.Infrastructure.Email.TemplateModels;
using Integer.Infrastructure.Tasks;
namespace Integer.Domain.Acesso
{
public class TrocaSenhaService
{
private Usuarios usuar... |
using System;
using Framework.Core.Common;
using Tests.Data.Oberon;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.GivingRecipient
{
public class GivingRecipientCreate : GivingRecipientBasePage
{
#region Page Objects
public const strin... |
namespace Tutorial.Introduction
{
using System;
using System.IO;
internal static partial class Functional
{
internal static FileInfo DownloadHtml(Uri uri)
{
return default;
}
internal static FileInfo ConvertToWord(FileInfo htmlDocument, FileInfo template)
... |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using RabbitMQ.Client;
namespace RabbitMQ.Async
{
public class RabbitAsyncPublisher : IDisposable
{
private readonly BlockingCollection<EnqueuedMessage> _queue;
private readonly IConfirmStrategy _... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication1
{
public partial class WebForm2 : System.Web.UI.Page
{
protected void Page_Load(object se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Restaurant.Models
{
public class NMViewModel
{
public int MessageID { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
public NewMessage ne... |
using Conjure.Security;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Example.Server.Controllers
{
[ApiController]
[Route("api/security")]
public class AppS... |
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using Atc.Tests.XUnitTestData;
using FluentAssertions;
using Xunit;
namespace Atc.Tests
{
public class EnumTranslationTests
{
[Theory]
[MemberData(nameof(TestMemberDataForEnumTranslation.BooleanOperatorTypeDat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeBehaviorScript : MonoBehaviour
{
public GameObject SomeObject;
Rigidbody SomeRigidbody;
Vector3 PositionOffset;
private bool correct = true;
private bool My_Play;
AudioSource My_Audio... |
/* Copyright 2019 Sannel Software, L.L.C.
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 applicable law or agreed to i... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AnyTest.IDataRepository
{
public interface IRepository<T>:IGetter<T>, IPoster<T>, IEditor<T>, IDeleter<T>
{
}
}
|
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 TowerDefence.Buttons
{
class SellTowerButton : Button
{
public static int SellCost = 0;
... |
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 Core.BIZ;
using Core.DAL;
namespace WinForm.Views
{
public partial class frmDanhMucHoaDonDaiLy... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class HitboxManager : MonoBehaviour {
private const string PATH = "Hitboxes/Player"; //Carpeta contenedora (Separar con subcarpetas como "Player" o "Enemy... |
using Common;
using Common.Business;
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using Contracts.ContentOps;
using Entity;
using LFP.Common.DataAccess;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.ServiceModel;
using System.Text;
using Syst... |
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Share.HuDong.Domain.Enums
{
public enum HuDongEnums
{
/// <summary>
/// 大转盘
/// </summary>
[Display(Name = "大转盘")] BigWheel = 1,
/// <summary>
/// 超级扭蛋机
/// </summary>
[Dis... |
using System;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using CODE.Framework.Wpf.Mvvm;
namespace CODE.Framework.Wpf.TestBench
{
/// <summary>
/// Interaction logic for RibbonTest.xaml
/// </s... |
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 System.Data.SqlClient;
using Microsoft.VisualBasic;
namespace WindowsFormsApplication1
{
publi... |
using System.Windows.Input;
namespace SqlServerRunnerNet.Commands
{
public static class ScriptsCommands
{
public static readonly ICommand AddCommand = new RoutedUICommand(
"Add", "Add", typeof(ScriptsCommands));
public static readonly ICommand RemoveCommand = new RoutedUICommand(
"Remove", "Remove", type... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LobbyTeamUI : SingletonObject<LobbyTeamUI>
{
void Awake()
{
CreateInstance(this);
}
// Use this for initialization
void Start ()
{
m_buttonMakeTeam.onClick.AddListener(delegate () { LoginControler.Instance().MakeTeam... |
namespace MusicStore.Models.DataModels {
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
[CustomValidation(typeof(Album), "ValiderAlbum")]
public class ... |
using System;
using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
namespace Exemplo.Api.Config
{
public static class ConfigSwagger
{
public static void Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BradescoPGP.Web.Models.Graficos
{
public class TedGraficos
{
public GraficoQuantidadeTed GraficoQuantidadeTed { get; set; }
public GraficoValorTed GraficoValorTed { get; set; }
public Grafico... |
namespace E11
{
public class Aplicacion
{
private int tiempoDeUso;
public int TiempoDeUso { get => tiempoDeUso; }
private int cantidadDeToquesEnLaPantalla;
public int CantidadDeToquesEnLaPantalla { get => cantidadDeToquesEnLaPantalla; }
private int tiempoDeUsoDelTeclado;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Strategy.Cars
{
public interface ICar
{
int GetMaxSpeed();
}
public enum CarModel { Porsche, Ferrari, Lamborgini}
}
|
using System;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Input;
using BSMU_Schedule.Commands;
using BSMU_Schedule.Entities;
using BSMU_Schedule.Exceptions;
using BSMU_Schedule.Interfaces;
using BSMU_Schedule.Services;
using Xamarin.Forms;
namespace BSMU_Schedule.ViewModels
{
p... |
using UnityEngine;
using System.Collections;
public class LifeBar : MonoBehaviour
{
[SerializeField]
private Sprite m_sprite = null;
public SpriteRenderer m_rend;
[SerializeField]
Musician m_me = null;
float m_barLen = -1.0f;
float m_barFull = 0.425f;//Magic number for scale
int m_hea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Final_Project
{
class CommodityPrices
{
private static double goatMilkPrice;
private static double cowMilkPrice;
private static double sheepWoolPrice;
p... |
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int val=0, TreeNode left=null, TreeNode right=null) {
* this.val = val;
* this.left = left;
* this.right = right;
* ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ClassLibraryIofly
{
/// <summary>
/// GeoRecordset类
/// </summary>
public class GeoRecordset
{//todo: 判断record里面的值的类型是否和字段匹配
public Fields fields;
public Records records;
... |
/**
* Author: János de Vries
* Date: Sep. 2014
* Student Number: 208418
**/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.ComponentModel;
using System.Windows.Forms;
namespace ThreadCol... |
using System;
using UnityEngine;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text;
using LitJson;
using UnityEditor;
using Object = UnityEngine.Object;
namespace BattleEditor
{
/// <summary>
/// <para>Class Introduce</para>
/// <para>Author: zhengnan</p... |
using HotelReservationSystem.Models;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace HotelReservationSystem.DAL
{
public class HotelContext : DbContext
{
public HotelContext() : base("HotelContext")
{
Database.SetInitializer<HotelContex... |
// <copyright file="DownloadProgressArgs.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2019 Firoozeh Technology LTD. All Rights Reserved.
//
// 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... |
using System.Diagnostics;
using System.IO;
using System.Web.Http;
using API.Host.Console.Providers;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using Owin;
using Service.AppStart;
namespace API.Host.Console
{
public class Startup
{
private static readonly ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClotheOurKids.Model.Repository
{
public interface IRegisterFormRepository
{
IList<OfficeType> GetAllOfficeTypes();
IList<Position> GetAllPositions();
IList<Offi... |
using Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Repository.Base;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
u... |
namespace MazeApp
{
public interface IMazeSolver
{
void Run(string[,] maze);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.