text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ASTV.Services;
using ASTV.Models.Generic;
namespace ASTV.WebApi.Controllers {
[Route("api/[controller]")]
public class EducationController : Controller
{
private ... |
///////////////////////////////////////////////////////////////////////////
// BuildServer.cs - Mother builder server for code federation //
// Ver 1.0 //
// Kaiqi Zhang, Jim Fawcett //
// CSE681 S... |
using AspNetCore.IServiceCollection.AddIUrlHelper;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.Extensions.Configuration;
using Mi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AxisPosCore
{
public class AXLGiftCardAcquiring : AXLAcquiring
{
public override string Mnemonic
{
get
{
return "AXLGiftCard";
}
}
}
}... |
using System;
using System.Diagnostics;
using System.Windows;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace LogOut {
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window {
private EventHandler keyboardEventHand... |
using DemoF.Core.Domain;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DemoF.Core.Contracts
{
public interface IUserService
{
Task<List<User>> AllAsync();
Task<User> GetUserAsync(int id);
Task AddAsync(User user);
Task<User> UpdateAsync(int id, User ... |
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Web.Mvc;
namespace CurriculumManagement.Models
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MainUI : MonoBehaviour {
private static MainUI _instance;
public static MainUI Instance
{
get
{
return _instance;
}
}
public int score = 0;
p... |
namespace ApartmentApps.Api.Modules
{
public enum CardType : int
{
VISA = 0,
MAST = 1,
DISC = 2,
AMER = 3,
DINE = 4,
JCB = 5,
}
} |
namespace Samples.Lambda.HelloWorld
{
public class Program
{
public static void Main(string[] args)
{
}
}
}
|
using UnityEngine;
using Bullet;
using System.Collections;
[RequireComponent(typeof(SwitchBehavior))]
[RequireComponent(typeof(Light))]
public class LightSensorBehavior : MonoBehaviour {
[SerializeField] TypeOfLight lightType;
[SerializeField] bool alwaysVisible; // if false, then sensor is only visible whe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ErrorWindowHandler : MonoBehaviour {
public GameObject[] ErrorHandler;
// public static void PopUpHandler(int errorIndex)
// {
// ErrorHandler[errorIndex].SetActive(true);
// Text ErrorText = E... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
using GameAPI.Controllers;
using Microsoft.AspNetCore.SignalR;
namespace GameAPI.Models
{
[WebSocketFilter]
public class GameHub : Hub<IGameClient>
{
public async Task Fire()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace IPAdressen.Seiten
{
public partial class BenutzerPage : System.Web.UI.Page
{
static bool neu_benutzer;
static bool neu_anwendung;
static... |
using System;
namespace SDU.ObsApi.Client.Entities
{
public class SemesterLesson : Lesson
{
public int? MeanBeforeThirdExam { get; set; }
public string AlphabeticalGradeBeforeThirdExam { get; set; }
}
}
|
// <copyright file="MetamorphosisTable.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
using System;
using System.Collections.Generic;
namespace WaterTrans.GlyphLoader.Internal.AAT
{
/// <summary>
/// The chain's metamorphosis subtable.
/// </summary>
internal sealed class Metamorphosi... |
using System.Collections.Generic;
namespace UseFul.Uteis
{
public class UfBrasil
{
public UfBrasil(string sigla, string nome)
{
Sigla = sigla;
Nome = nome;
}
public string Sigla { get; private set; }
public string Nome { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Curso.Map;
using Welic.Dominio.Patterns.Service.Pattern;
namespace Welic.Dominio.Models.Curso.Service
{
public interface ICursoService: IService<CursoMap>
{
Li... |
using System.Configuration;
namespace GatewayEDI.Logging.Configuration
{
/// <summary> This is the entire configuration section that defines the logging facade. The outer element label is defined in <see cref="Resolver.AppConfigFactoryResolver.configSectionName" />. The inner
/// tags are defined in this ... |
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.Core.Domain.Interfaces.Service.Common;
namespace ReactMusicStore.Core.Domain.Interfaces.Service
{
public interface ICartService : IService<Cart>
{
}
} |
namespace TestQrCode
{
public class SimpleBitmapHandler
{
private enum PixelFormat
{
Rgb24bpp
}
public static System.Drawing.Image GetImage(libQrCode.Common.BitMatrix matrix)
{
int width = matrix.Width;
int height = matrix.Height... |
using DistCWebSite.Core;
using DistCWebSite.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DistCWebSite.Infrastructure
{
public class AMJudgeByRMRespository : IAMJudgeByRM
{
public List<M_AMJudgeByRM> GetAM... |
using _01_Alabo.Cloud.Core.AppVersion.Domain.Enums;
namespace _01_Alabo.Cloud.Core.AppVersion.Dtos
{
public class AppVersionOutput
{
/// <summary>
/// 升级标志
/// </summary>
public AppVersionStatus Status { get; set; }
/// <summary>
/// 更新内容
/// </... |
using SE.Money;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IndusValley.Banking {
public class Reservation : IDisposable {
private Account account;
public readonly Guid Id;
public readonly DateTimeOf... |
namespace PopulationFitness.Models.Genes
{
/**
* Implement this to provide genes
*
* Created by pete.callaghan on 13/07/2017.
*/
public interface IGenes
{
/**
* Builds a set of genes with none set
*/
void BuildEmpty();
/**
* Builds a ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShapeShift : MonoBehaviour {
public ControllerRandomizer randomizer;
Animator animator;
public AudioClip[] clips;
public AudioClip tensionClip;
private float t;
private int lastState;
// Use thi... |
using System.Collections.Generic;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types;
namespace SFA.DAS.ProviderCommitments.Web.Models.Shared
{
public interface IDeliveryModelSelection
{
List<DeliveryModel> DeliveryModels { get; set; }
DeliveryModel? DeliveryModel { 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;
using Model;
using BLL;
using DAL;
using System.Security;
using System.Security.Cryptography;
using System.Xml;
namespace LoginFrame
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Engine.Data.Json;
using Engine.Events;
using Engine.Utility;
public class UICustomizeSelectObject : UICustomizeObject {
public int currentIndex = -1;
public UIImageButton buttonCycleLeft;
public UIImage... |
using BlazorFullCalendar.Data;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
namespace ServerSideSample.Pages
{
public class CalendarPageBase : ComponentBase
{
protected List<CalendarDateItem> eventList = new();
public static List<CalendarDateItem> Get... |
using System;
using System.Globalization;
class Age
{
static void Main()
{
DateTime input = DateTime.Parse(Console.ReadLine());
DateTime current = DateTime.Today;
double days = (current - input).TotalDays;
double age = Math.Truncate(days / 365.25);
DateTime dateInTenYea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Week3CodeChallenge
{
class Program
{
//List of primes
static List<long> primeList = new List<long>() { 2, 3, 5 };
static void Main(string[] args)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WispFramework.Patterns;
using WispFramework.Patterns.Containers;
namespace Tests
{
public class ContainerTests
{
public interface IVehicle
{
string Name { get; ... |
using System;
using System.Data.Entity;
namespace ConsoleAppEntityFramework.Models
{
public class Database: DbContext
{
public Database()
:base(@"Server=.\SQLExpress;Database=myDataBase;User Id=sa;Password=senha;MultipleActiveResultSets=true;")
{
}
public DbSet<Gro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FacebookClone.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
if (!User.Identity.IsAuthenticated)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BELCORP.GestorDocumental.BE.DDP
{
public class TipoPlanMaestroBE
{
public string Title { get; set; }
public TipoPlanMaestroBE()
{
}
public Tipo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Pobs.Domain;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Models.Notifications;
using Xunit;
namespace Pobs.Tests.Integration.N... |
using System;
namespace Mediator
{
public class SubscriptionFilter
{
public event EventHandler SubscriptionUpdated;
public void UpdateFilter()
{
System.Console.WriteLine($"Subscription Filter updated to display related Subscriptions");
SubscriptionUpdated?.Invoke... |
using System;
using System.Collections.Generic;
namespace Euler_Logic.Problems.AdventOfCode.Y2018 {
public class Problem14 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2018: 14"; }
}
public override string GetAnswer() {
ret... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using UnityEngine;
using UnityEngine.UI;
public class EnergyProgress : MonoBehaviour
{
public List<Sprite> sprites = new List<Sprite>();
public Sprite sp_empty = null;
public Sprite sp_empty_red ... |
namespace SAAS.FrameWork.Mq.Device
{
public class DeviceDesc
{
public string name;
public string station;
}
}
|
using UnityEngine;
using System.Collections.Generic;
[System.Serializable]
public class Monster : CombatCharacter {
public List<Droppable> Droppables = new List<Droppable> ();
[System.Serializable]
public class Droppable {
public int ItemID;
public int Percentage;
}
public Monst... |
using Newtonsoft.Json;
using RoleManagement.Model;
using RoleManagement.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
namespace RoleManagementAPI.Controllers
{
//[BaseAuthenticationAttribut... |
using HiLoSocket.Model;
namespace HiLoSocket.Logger
{
/// <summary>
/// ILogger.
/// </summary>
public interface ILogger
{
/// <summary>
/// Logs the specified log model.
/// </summary>
/// <param name="logModel">The log model.</param>
void Log( LogModel log... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.RoleAuthorize
{
public class RoleBusiness : BaseProvider<Role>
{
public IEnumerable<Role> allCache
{
get
{
return AllCache;
}
}
... |
using System;
class ExchangeValues
{
static void Main()
{
int firstValue = 5;
int secondValue = 10;
Console.WriteLine("If your numbers are {0} and {1}!", firstValue, secondValue);
firstValue = firstValue + secondValue;
seco... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entities.MDM
{
public class BatchIQCReport
{
public byte[] IQCReport { get; set; }
}
}
|
using Bb.Helpers;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Bb.Wordings
{
/// <summary>
/// word referential
/// </summary>
public class WordItems
{
/// <summary>
/// Initializes a new instance of the... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Caching;
namespace mr.bBall_Lib
{
public static class Predpomnilnik
{
public static List<string> Keys = new List<string>();
public static objec... |
using Android.App;
using Android.Content.PM;
using Android.OS;
using Caliburn.Micro;
using CN.Jpush.Android.Api;
using Xamarin.Forms.Platform.Android;
namespace RRExpress.Droid {
[Activity(Label = "RRExpress", Theme = "@style/MyTheme", Icon = "@drawable/icon", MainLauncher = false, ConfigurationChanges = ConfigC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Docller.Core.Services;
namespace Docller.UnitTests.Mocks
{
public class MockTransmittalNotification:TransmittalNotification
{
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OptionsToggle : MonoBehaviour {
public GameObject Menu;
public void ToggleMenu()
{
Debug.Log("Toggled" + Menu.activeSelf+" => "+ !Menu.activeSelf);
Men... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Windows.Forms;
namespace Автошкола
{
public class AbstractConnection
{
private SqlConnection conn;
public AbstractConnection(SqlConnect... |
using System;
class Program
{
static void Main()
{
int x = 1;
float y = 1.1f;
short z = 1;
Console.WriteLine((float)x + y * z - (x += (short)y));
}
}
|
using System.Linq;
namespace DelftTools.TestUtils.TestReferenceHelper
{
public class ReferenceLink
{
public ReferenceLink(ReferenceNode from, ReferenceNode to, string name)
{
From = from;
To = to;
Name = name;
}
public ReferenceNode From { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace OE.Service
{
public class ServiceContainer
{
object processlocker = new object();
bool isprocess = false;
CommandHelper cmdhelper = new CommandHelper();
priva... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class HoseSegment : MonoBehaviour {
public HoseType myType;
// PROBABLY AN EASIER WAY TO DO THIS???
// [System.NonSerialized]
public PlayerController player;
WaterSpray waterSpray;
public bool willSpray;
// Use this for in... |
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.Library;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Text;
using Syst... |
using System.Web;
using System.Web.Optimization;
namespace stpwomenssoccer2
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;
using System.Xml;
using System.Collections;
using Microsoft.master2.model;
namespace Microsoft.master2.xml
{
class ReadXml
{
public ArrayList readModelFromF... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Clock : MonoBehaviour
{
public static Clock Instance { get; private set; }
private float timeStart;
public Text hstimer;
private void Awake()
{
if (Instance == ... |
using System;
using System.IO;
using Xamarin.Forms;
using ProctorCreekGreenwayApp.Droid;
[assembly: Dependency(typeof(DBFileHelper))]
namespace ProctorCreekGreenwayApp.Droid
{
public class DBFileHelper: IDBFileHelper
{
public string GetLocalFilePath(string filename)
{
string path =... |
namespace QStore.Core.Structs
{
internal class StateSignature
{
internal QSetTransition[] Transitions;
public StateSignature(QSetTransition[] transitions)
{
this.Transitions = transitions;
}
}
} |
using System;
using System.Collections.Generic;
using Uintra.Attributes;
using Uintra.Core.Activity.Models;
using Uintra.Features.LinkPreview.Models;
using Uintra.Features.Media;
using Uintra.Features.Media.Contracts;
namespace Uintra.Features.Social.Models
{
public class SocialEditModel : IntranetActivityEditMod... |
using FtpProxy.Connections;
using FtpProxy.Core.Resolvers;
using FtpProxy.Entity;
namespace FtpProxy.Core.Commands
{
public class UserCommand : Command
{
private readonly ICommandArgsResolver _commandArgsResolver;
public UserCommand(IExecutorState executorState,
IFtpMessage ftpMe... |
using System;
namespace canopyws.Models
{
public class PayFrequencyModel
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string GlCode { get; set; }
public int StandardHours { get; set; }
public int Pa... |
namespace RosPurcell.Web.ViewModels.Pages
{
using System.Collections.Generic;
using System.Linq;
using System.Web;
using RosPurcell.Web.Helpers.Extensions;
using RosPurcell.Web.ViewModels.Forms;
using RosPurcell.Web.ViewModels.Modules;
using RosPurcell.Web.ViewModels.Navigation;
using ... |
using Umbraco.Core.Events;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
namespace Uintra.Core.UmbracoEvents.Services.Contracts
{
public interface IUmbracoMediaSavingEventService
{
void ProcessMediaSaving(IMediaService sender, SaveEventArgs<IMedia> args);
}
}
|
using UnityEngine;
using System.Collections;
public class MovingPlatform : MonoBehaviour {
public float normalizedTime = 0;
public float speed = 1;
// Use this for initialization
void Start () {
var animator = GetComponent<Animator>();
animator.speed = speed;
animator.Play("platform... |
using gView.DataSources.Fdb.MSAccess;
using gView.Framework.Data;
using gView.Framework.system;
using gView.Framework.UI;
using gView.Framework.UI.Dialogs;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.DataSources.Fdb.UI
{
internal class SpatialIndexShr... |
using UnityEngine;
using System.Collections;
public class CameraMgr : MonoBehaviour
{
public int m_size = 9;
public int m_width = 1024;
public int m_height = 576;
private void Awake()
{
/*//Get camera component and set ortho size
Camera camera = GetComponent("Camera") as Camera;
... |
using System;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Timers;
namespace SoliditySHA3Miner.Miner
{
public class CUDA : IMiner
{
#region P/Invoke interface
public static class Solver
{
public const string SOLVER_NAME = "CudaSo... |
/**************************************************************************************************
FILE STANDARDIZOR CTRL
**************************************************************************************************/
#region Using
using System;
using System.Collections.Generic;
using System.ComponentM... |
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.IO;
namespace BuildSWSRC
{
public partial class Form1 : Form
{
private stri... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TwojePrzedszkole.API.Models;
namespace TwojePrzedszkole.API.Data
{
public class UserRepository : GenericRepository, IUserRepository
{
private readonly DataContext _context;
public UserRep... |
namespace Appnotics.Slideshow.Interfaces
{
public interface IMediaObject
{
}
}
|
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.ML;
using Microsoft.Extensions.Logging;
using Swashbuckle.AspNetCore.Swagger;
using D... |
using RusticiSoftware.HostedEngine.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HackerFerret.ScormHelper.Extensions
{
public static class ReportingServiceExtensions
{
public static string GetReportUrl(this Reporti... |
using System.Threading;
namespace Union.Gateway.Metadata
{
/// <summary>
/// 原子计数器
/// <see cref="Grpc.Core.Internal"/>
/// </summary>
internal class UnionAtomicCounter
{
long counter = 0;
public UnionAtomicCounter(long initialCount = 0)
{
this.counter = in... |
using System;
using ServiceDesk.Infrastructure;
namespace ServiceDesk.Ticketing.CommandStack.Commands
{
public class UpdateTicketCommand : Command
{
public int TicketNo { get; private set; }
public string Title { get; private set; }
public string Description { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Capa_de_Datos_ONG_SYS;
using System.Data;
namespace Capa_de_Negocios_ONG_SYS
{
public class CN_Clientefacturacion
{
private CD_Clientefactura objetoCl = new CD_Clientefactura();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Quartz;
using Quartz.Impl;
namespace CEMAPI.Models
{
public class SAPReceiptJobScheduler
{
public static void Start()
{
IScheduler scheduler = StdSchedulerFactory.GetDefaultScheduler();
... |
using Access.Primitives.IO;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using StackUnderflow.EF.Models;
using Access.Primitives.Extensions.ObjectExtensions;
using System.Linq;
namespace StackUnderflow.Domain.Core.Contexts.Question.CreateQuestion
{
class CreateQ... |
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Repositorios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Infra.Data.Repositorios
{
public class RepositorioMunicipios: RepositorioBase<Municipi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel.Services.UI.Mvvm.Dependency
{
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class DependencyPropertyAttribute : Attribute
{
public string Name { get; set; ... |
using System;
using m_tools.Models;
using m_tools.Util.Base64;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace m_tools.Controllers.Base64
{
[Route("api/base64")]
[ApiController]
public class Base64Controller : ControllerBase
{
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Models
{
public class DCDYTB:XZC
{
public string BSM { get; set; }
public string TBBH { get; set; }
public string DCDYLX { get; set; }
/// <summary>
/// 用户填写... |
using UnityEngine;
using System.Collections;
public class EnemyRespawner : MonoBehaviour
{
public GameObject spawnEnemy = null;
private float respawnTime = 0.0f;
void OnEnable()
{
EnemyControllerScript.enemyDied += scheduleRespawn;
}
void OnDisable()
{
EnemyControllerScri... |
using SFA.DAS.Encoding;
using System.Collections.Generic;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
using SFA.DAS.ProviderCommitments.Web.Extensions;
using System.Linq;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests;
using SFA.DAS.ProviderCommitments.Interfaces;
using System.Threading.Ta... |
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.Net;
using System.IO;
namespace Bai_TH_Lab_04
{
public partial class Lab04_Bai_03_views... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.SessionState;
namespace AMS
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{... |
using UnityEngine;
using System.Collections;
public class TouchObject : MonoBehaviour {
private bool isAvailable = false;
private const string PLAYER_TAG = "Player";
// Use this for initialization
void Start () {
this.isAvailable = true;
}
// Update is called once per frame
void Update () {
}
void... |
using BLL;
using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service
{
public class Service
{
public IProdutoBLL Produtos { get; set; }
public Service()
{
IProdutoDAL _repo = new Produto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arch.Data.Test.OtherTest.MyRightManageDesign.RightManagers.Model
{
//授权类型
public enum GrantType
{
Deny=0,//拒绝
Allow=1,//允许
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AbilityClasses;
using MapClasses;
using AudioClasses;
using System;
namespace EntityClasses
{
[Serializable]
public class Enemy : Entity
{
public bool InCombat { get; set; }
public Direction Target { get;... |
using System.Collections.Generic;
using ConsoleApplication1.Models;
namespace ConsoleApplication1.Interfaces
{
public interface IMakelaarDomainModelIListConverter
{
IEnumerable<MakelaarPartialViewModel> ToMakelaarPartialViewModels(IList<MakelaarDomainModel> domainModels);
}
} |
// File Prologue
// Name: Darren Moody
// CS 1400 Section 005
// Project: CS1400 Lab 11
// Date: 10/03/2013
//
// I declare that the following code was written by me or provided
// by the instructor for this project. I understand that copying source
// code from any other source constitutes cheating, and that I wi... |
using DuckGame;
using JetBrains.Annotations;
namespace OgtDgLib
{
/// <summary>
/// Material equivalent to Nothing
/// </summary>
[PublicAPI]
public sealed class MaterialDot : MaterialThing
{
/// <inheritdoc />
public MaterialDot(float x, float y) : base(x, y)
{
... |
using DevTask.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DevTask.DAL
{
public class AccountRepository
{
public List<Region> PopulateRegion()
{
try
{
using (var context = new Context())
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.