text stringlengths 13 6.01M |
|---|
using System.ComponentModel;
using System.Windows.Forms;
using Phenix.Core.Mapping;
using Phenix.Core.Rule;
using Phenix.Core.Windows;
namespace Phenix.Windows
{
[ToolboxItem(false)]
internal partial class CriteriaCombineItemValueBaseControl : UserControl
{
private CriteriaCombineItemValueBaseControl()
... |
using Brambillator.Infrastructure.Domain.Models;
namespace Brambillator.Historiarum.Domain.Model
{
/// <summary>
/// Source for an information.
/// Ex: Historiarum WebSite, Google, Facebook, Editor...
/// </summary>
public class System : Entity
{
/// <summary>
/// Un... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using JDWinService.Utils;
using JDWinService.Model;
using System.Data.SqlClient;
namespace JDWinService.Dal
{
public class JD_LogMngFailedDal
{
... |
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Schema;
using System.IO;
using System.Linq;
namespace CSNEnergy
{
public class Store : IStore
{
JObject jobLibrairie;
/// <summary>
/// Importe une collection JSon dans une variable globale.
/// On vérifie que la c... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Etherama.DAL.Migrations
{
public partial class m3 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
... |
/*
* Class representing the Acting state in player's state machine (Can only act or rehearse the part)
* Limits Player's action to Act() and Rehearse()
* Copyright (c) Yulo Leake 2016
*/
using Deadwood.Model.Rooms;
using Deadwood.Model.Exceptions;
namespace Deadwood.Model.PlayerStates
{
class ActingState ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MineralManager : MonoBehaviour
{
MineralTable m_MineralTableData;
private static MineralManager instance = null;
public static MineralManager Instance
{
get
{
if (null == instance)
... |
using System;
using TraceWizard.Entities;
namespace TraceWizard.Classification.Classifiers.Composite {
public class CompositeClassifier : Classifier {
public override string Name { get { return "Composite Classifier"; } }
public override string Description { get { return "Classifies using Fixtu... |
using System;
using System.IO;
using System.Linq;
using System.Management;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Win32;
using Excel = Microsoft.Office.Interop.Excel;
using System.Diagnostics;
using System.Windows.Forms;
using FrameworkLibraries.Utils;
namespace Ins... |
using System.IO;
using UnityEngine;
namespace Egret3DExportTools
{
public static class ExportPrefab
{
/**
* 导出资源
*/
public static void Export(GameObject curObj, string exportPath)
{
SerializeObject.Clear();
string prefabPath = "Assets/" + curObj... |
using System;
namespace csharp {
class Program {
static void Main(string[] args) {
ReverseNumber reverseNumber = new ReverseNumber();
Console.WriteLine(reverseNumber.Reverse(-123));
}
}
}
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SelectionCommittee.DAL.Entities
{
public class Statement
{
[Key]
public int Id { get; set; }
public Enrollee Enrollee { get; set; }
[ForeignKey("Enrollee")]
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Models.DataModels;
using Models.ViewModels;
using Repositories;
using Repositories.Interfaces;
using Services.Interfaces;
namespace Services
{
public class AuctionService : IAuctionService
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PDF = iTextSharp.text.pdf;
using IT = iTextSharp.text;
using System.IO;
using DocGen.ObjectModel;
namespace DocGen.IText
{
class ImageFormatter
{
public static IT.Image GetFormattedImage(Image imag... |
using UnityEngine;
using System.Collections;
using GameVariables;
public class GameEvent : MonoBehaviour {
public delegate void AnalogHandler (float analogX, float analogY);
public static event AnalogHandler onLeftAnalogMoved;
public static event AnalogHandler onRightAnalogMoved;
public delegate voi... |
using System;
using System.Collections.Generic;
using IdentityServer3.Core.Configuration;
using IdentityServer3.Core.Services;
using IdentityServer3.Shaolinq.DataModel.Interfaces;
using IdentityServer3.Shaolinq.Services;
using IdentityServer3.Shaolinq.Stores;
using Shaolinq;
namespace IdentityServer3.Shaolinq.Extensi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using CODE.Framework.Wpf.Controls;
using CODE.Framework.Wpf.Utilities;
namespace CODE... |
using AutoMapper;
using GardenControlApi.Models;
using GardenControlCore.Models;
using GardenControlServices;
using GardenControlServices.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using Syst... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Configuration;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
using SFA.DAS.ProviderCommitments.Web.Validators.FileUpload;
namespace SFA.DAS.ProviderCommitments.Web.Validators
{
public class FileUploadStartViewModelValidator : AbstractValidator<FileU... |
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.Media;
using Android.Util;
using Android.Views;
using Android.Widget;
using Java.IO;
using Java.Lang;
using SpyCam2;
using System;
using System.Collections.Generic;
public class ItemAdapter : BaseAdapter
{
private List<str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MmPort
{
public class MmSerialPort : MmPort
{
public event UpdateData update;
public override void addDataReceiveHander(MmDataReceiveHandler hander)
{
update += hander.data... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO;
using System.Text;
/// <summary>
/// Registers everything in the game.
/// </summary>
public class Logger : MonoBehaviour {
private string logTime, movementFile, chooseFile, messageFile, previousMessage... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System.Threading.Tasks;
using OpenTK.Graphics;
using OpenTK;
using System.Drawing;
using System.Diagnostics;
using NCalc;
namespace _3D_Tree_Gene... |
namespace AzureAI.CallCenterTalksAnalysis.Infrastructure.Configuration.Interfaces
{
public interface ICognitiveServiceConfiguration
{
string ApiKey { get; set; }
string Endpoint { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.Collections.Generic;
using System.Xml;
using System.IO;
using QFramework.Libs;
using System.Linq;
namespace QFramework
{
public class QAssetBundleBuilder : EditorWindow
{
private int buildTargetIndex = 0;
private string[] platformLabel... |
using System.Collections.Generic;
using UnityEngine;
using Zenject;
using Pathfinding;
using DataHandling;
using UI;
namespace MapGeneration
{
public class MapGenerator : MonoBehaviour
{
public Node[,] nodes;
[SerializeField]
private Transform nodeParent;
private IFactory<Gam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
[RequireComponent(typeof(BarUIScript))]
public class TemperatureUIScript : MonoBehaviour
{
// TODO: List of instances, ordered by player index, for 2+ player split screen
public static TemperatureUIScript MainInstance;
pr... |
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Infrastructure
{
/// <summary>
/// 表示服务定位类.
/// </summary>
pub... |
using System.Xml.Linq;
namespace Piovra.Svg;
public class Style {
public Color FillColor { get; set; }
public Color StrokeColor { get; set; }
public int? StrokeWidth { get; set; }
public void WriteTo(XElement x) {
if (FillColor != null) {
x.Add(new XAttribute("fill", FillColor.To... |
using FrontDesk.Core.Aggregates;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FrontDesk.Infrastructure.Data.Config
{
public class ScheduleConfiguration : IEntityTypeConfiguration<Schedule>
{
public void Configure(EntityTypeBuilder<Schedule> builder)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp76
{
class RoshamboApp
{
public static int RESULTS(string ip1, string ip2)
{
string p2selection = "";
int RetReult = 0;
i... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIPlayerList : MonoBehaviour
{
public static UIPlayerList instance;
private void Awake()
{
if(instance)
return;
instance = this;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CapaNegocio;
using CapaEntidades;
public partial class RegistroCliente : System.Web.UI.Page
{
PaisBL pais = new PaisBL();
ClienteEntidad cli = new ClienteEntidad()... |
using System;
using System.Collections.Generic;
using System.Linq;
class XRemoval
{
static void Main()
{
List<string> lineList = new List<string>();
string inputLine = Console.ReadLine();
while (inputLine != "END")
{
lineList.Add(inputLine);
inputLine = ... |
using System;
using UnityEngine;
namespace Kernel
{
public class TemproraryLoggerHandler : ILogHandler
{
public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
{
var date = DateTime.UtcNow.ToString("MM/dd/yyyy hh:mm:ss.fff tt");
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using SFA.DAS.ProviderRelationships.Api.Client;
namespace SFA.DAS.ProviderCommitments.Web.HealthChecks
{
public class ProviderRelationshipsApiHealthCheck : IHealthCheck
{
private rea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using CoreTest1.Data;
using CoreTest1.Models;
namespace CoreTest1.Controllers
{
public class PartTypesCont... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Market.Data.DataBaseModel
{
public class ProductCategory
{
public int Id { get; set; }
public string Name { get; set; }
public int? ParentId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
/*
* tags: Dijkstra
* Time(ElogN), Space(E)
* Extract the closest one in the heap, then follow its edges to add the connected nodes to the heap.
*/
namespace leetcode
{
public class Lc882_Reachable_Nodes_In_Subdivided_Graph
{
publi... |
using UnityEngine;
using System.Collections;
public class eeg_data : MonoBehaviour // removed static from this, possible issues?
// static class GlobalClass
{
private static string m_globalVar = "";
private static float m_eeg = 1f;
// private static int m_state = 0;
// private static GameObject technoplaya = nu... |
using System;
namespace CatalogSearch
{
public static class Constants
{
public const string SettingsKey = "{dbe9bc56-5373-4aad-accd-11d9d6aae80b}";
}
} |
using Library.Models;
using Library.Business.Exceptions;
using Library.Models.Enuns;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebAppCopa
{
public partial class CadastroJogador : System.Web.UI.Page
{
... |
using Chess.v4.Models.Enums;
using System.Collections.Generic;
namespace Chess.v4.Engine.Reference
{
public static class GeneralReference
{
public static List<DiagonalDirection> DiagonalLines { get; } = new List<DiagonalDirection> { DiagonalDirection.UpLeft, DiagonalDirection.UpRight, DiagonalDirectio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Least_Majority_Multiple
{
class CMM
{
static void Main()
{
//Console.WriteLine("Enter five numbers [1-100]:");
byte a = byte.Parse(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetCoreIdentity.Application;
using DotNetCoreIdentity.Application.CategoryServices.Dtos;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace DotNetCoreIdentity.Web.Api.Controllers
{
[Ro... |
// <copyright file="AssetsProvider.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2021 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 Lice... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace SpreadsheetGUI
{
public partial class Controller
{
public void MessageReceived(string message)
{
var items = message.Split('\t');
switch (items.FirstOrDefault())
... |
namespace Euler.Regions
{
public class YTouchDevice : ITouchDevice
{
public int[][] GetScreenState()
{
return new int[][]{
new []{0, 1, 0, 0, 0},
new []{1, 1, 1, 0, 0},
new []{0, 1, 0, 1, 0},
new []{1, 0, 1, 1, 1},
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassLibrary
{
public sealed class Message
{
private String message;
public void SetMessage(String message)
{
this.message = message;
}
public String GetMessage()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Data.Interfaces
{
public interface IRepository<TModel> : IDisposable where TModel : class
{
#region Synchronous
IQueryable<TModel> All();
TModel Find(int id);
IEnumerable... |
using ISE.ClassLibrary;
using ISE.SM.Common.Message;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Common.Message
{
public class UserInfoGenerator
{
public static UserInformation GenerateUserInfo(AccessToken aToken,... |
using System;
using System.Collections.Generic;
using System.Text;
using Linedata.Foundation.Domain.Messaging;
namespace Account.DDD.Commands
{
public class UnblockAccount : Command
{
public Guid AccountId;
public UnblockAccount(Guid id)
{
AccountId = id;
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Player : Character
{
private static Player instance;
public static Player MyInstance
{
get
{
if (instance == null)
{
instance = FindObj... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassMetotDemo
{
class Customer
{
public int CustomeriId { get; set; }
public string CustoemrTc{ get; set; }
public string CustomerName { get; set; }
public string CustomerSurname { get... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `string`. Inherits from `AtomDrawer<StringVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typ... |
using Bridge;
using System.Runtime.CompilerServices;
namespace System
{
/// <summary>
/// The Guid data type which is mapped to the string type in Javascript.
/// </summary>
[External]
public struct Guid : IEquatable<Guid>, IComparable<Guid>, IFormattable
{
[Template("System.Guid.empty... |
namespace Ach.Fulfillment.Scheduler.Configuration
{
using Ach.Fulfillment.Initialization.Configuration;
using Ach.Fulfillment.Scheduler.Common;
using Microsoft.Practices.Unity;
using Quartz;
using Quartz.Spi;
internal class SchedulerContainerExtension : InitializationContainerExten... |
using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Ofl.Atlassian.Jira.V3;
namespace Ofl.Atlassian.Jira.Tests.V3
{
public class JiraClientTestsFixture : IDisposable
{
#region Constructor
public JiraClientTestsFixture()
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Xml;
using System.IO;
using System.Windows.Forms;
namespace CodeEditor
{
static class Program
{
/// <summary>
/// Loads Color Settings for Language
/// </summary>
/// <param name="... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
using KSF_Surf.ViewModels;
using KSF_Surf.Models;
using System.Collections.ObjectModel;
namespace KSF_Surf.Views
{
[DesignTimeVisible(false)]
public partial class RecordsTopPage : ... |
using System;
using System.Collections.Generic;
using OpenTK.Graphics.OpenGL;
using Flux.src.Flux.Renderer;
namespace Flux.src.Platform.OpenGL
{
public class OpenGLVertexArray : VertexArray
{
private int _vaoID;
private int _vertexBufferIndex = 0;
private List<VertexBuffer> bufferList;
private IndexBuffer i... |
using EPI.Recursion;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Recursion
{
[TestClass]
public class PalindromicDecompositionUnitTest
{
[TestMethod]
public void FindAllPalindromeSubstrings()
{
PalindromicDecompositions.FindAllPalindromicDecompositio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _7zipExample
{
static class Program
{
/// <summary>
/// The main entry point for the application... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Windows.Forms;
namespace Kadastr.View.Forms
{
public partial class AddressForm : DevExpress.XtraEditors.XtraForm
{
static string url = "h... |
using System.Collections.Generic;
using Proxynet.Models;
using Proxynet.Service.Converters;
using UsersLib.DbControllers;
using UsersLib.Entity;
namespace Proxynet.Service.Finders
{
public class UserDataFinder : IUserDataFinder
{
private readonly IDbUserController _dbUserController;
private re... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Gosei.Models
{
public class ModelEmployees
{
public int Id { get; set; }
[Required]
public string FirstName { get; set; }
public string Mi... |
using System.Collections.Generic;
using TheMapToScrum.Back.DAL.Entities;
namespace TheMapToScrum.Back.Repositories.Contract
{
public interface IUserStoryRepository
{
UserStory Get(int Id);
List<UserStory> GetAll();
List<UserStory> GetAllActive();
UserStory Create(UserStory o... |
using FichaTecnica.Dominio;
using FichaTecnica.Dominio.Repositorio;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FichaTecnica.Tests.Mocks
{
class MembroRepositorioMock : IMembroRepositorio
{
public IList<Membro> BuscarTod... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
using Kingdee.CAPP.UI.ProcessDesign;
using Kingdee.CAPP.UI.About;
using System.Reflection;
using Kingdee.CAPP.IPlugIn;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Yaringa.Services;
using Yaringa.ViewModels;
namespace Yaringa.UnitTests.Services {
public class FakeNavigationService : INavigationService {
private List<ViewModel> _viewModels;
public FakeNavi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Apperence : MonoBehaviour {
public float CameraPosition;
public float PlanePosition;
Vector3 Camera;
Vector3 Plane;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Updat... |
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace Inventory.BLL.DTO
{
[DataContract]
public class OrderDTO : BaseDTO
{
[DataMember, Required]
public string PhoneNumber { get; set; }
[DataMember, Required]
public int OrderStateId { g... |
using System;
using System.Linq;
namespace Fuzzing.Fuzzers.Impl
{
public class StringFuzzer : TypeFuzzer<string>
{
public override string Fuzz()
{
var length = GetRandomLength();
var characters = Enumerable.Range(0, length).Select(x => GetRandomCharacter());
var result = String.Join(String.Empty, char... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebApp.Models;
namespace WebApp.Controllers
{
public class ShowController : Controller
{
// GET: Show
public ActionResult Index()
{
return View();
}
... |
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 CustomersExample
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Linq;
using System.Windows.Forms;
using System.Collections.Generic;
using com.Sconit.SmartDevice.SmartDeviceRef;
using System.Web.Services.Protocols;
namespace com.Sconit.SmartDevice
{
public partial class UCWMSRepack : UCBase
{
//public event MainForm.ModuleSelectHandler Mo... |
using Alabo.Domains.Repositories;
using Alabo.Framework.Basic.Relations.Domain.Entities;
namespace Alabo.Framework.Basic.Relations.Domain.Repositories {
public interface IRelationIndexRepository : IRepository<RelationIndex, long> {
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SnowBLL.Validators.Routes
{
public class RouteMessages
{
public static string ID_NOTEMPTY = "Id cannot be empty";
public static string NAME_NOTEMPTY = "Name cannot be empty";
publ... |
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 Bank_collections
{
public partial class RegisterWorkerForm : Form
{
public Reg... |
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 MySql.Data.MySqlClient;
using System.Resources;
using TubesAI.Properties;
namespace TubesAI
{
... |
using _7DRL_2021.Behaviors;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Results
{
class ActionDaggerAttack : IActionHasOrigin, ITickable, IDrawable
{
public bool Done => Frame.Do... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
public class ButtonBorderController : MonoBehaviour {
public Image BorderImage;
//void OnMouseEnter()
//{
// BorderImage.fillAmount = 1;
// Debug.Log("on");
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using Microsoft.Reporting.WebForms;
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using System.Net;
using Elma... |
using System;
namespace Infrastructure.Database
{
/// <summary>
/// 聚合根
/// </summary>
public interface IAggregateRoot
{
/// <summary>
// 每个聚合根必须拥有一个全局的唯一标识,往往是GUID。
/// </summary>
Guid Id { get; set; }
}
} |
using System;
namespace WeatherService
{
sealed class WeatherAuthenticator
{
private static readonly string URL_START = "https://api.apixu.com/v1/current.xml";
private static readonly string URL_KEY = "ff436f1b91a7474aab4223122170710";
private static readonly string URL = URL_START + "... |
using System;
using System.Collections.Generic;
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
namespace Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual
{
public inter... |
using FPGADeveloperTools.Common.Model.ModuleFiles;
namespace FPGADeveloperTools.Common.ViewModel.ModuleFiles
{
public class VHDLModuleFileViewModel : ModuleFileViewModel
{
private VHDLModuleFile moduleFile;
public override ModuleFile ModuleFile
{
get { return this.moduleFi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmirateHMBot.Models
{
public class CompanyInfo
{
public string CompanyName { get; set; }
public string CompanyCategory { get; set; }
public string CompanyCode {... |
using DataStore.Implementation;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Threading;
namespace DataStore.Tests
{
[TestClass]
public class InMemoryStoreTests
{
Mock<IConfigu... |
using System.Threading.Tasks;
namespace IntegrationAdaptersPharmacySystemService.MicroserviceComunicator
{
public interface IActionBenefitService
{
public Task<bool> SubscriptionEdit(string exOld, bool subOld, string exNew, bool subNew);
public Task<bool> Subscribe(string exchangeName);
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace System
{
/// <summary>
/// GUID扩展类。
/// </summary>
public static class GuidExtension
{
/// <summary>
/// 根据GUID获取19位的唯一数字序列。
/// </summary>
/// <p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Project.Data;
using Project.Models;
namespace ToDo.Pages.Items
{
public class IndexModel... |
using System;
namespace FundamentosOOP.Herança
{
public class PessoaJuridica : Pessoa
{
public string CNPJ { get; set; }
public PessoaJuridica(string nome, string cnpj)
{
this.Nome = nome;
this.CNPJ = cnpj;
Console.WriteLine("Criando uma intância de... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using MultiUserBlock.Common;
namespace MultiUserBlock.ViewModels
{
public class UserViewModel
{
public int UserId { get; set; }
[Required(ErrorMessage =... |
using UnityEngine;
using System.Collections;
public class EnemyMovement : MonoBehaviour {
public Transform target;
public AudioSource attackSound;
public float timeBetweenAttacks;
public bool growl;
public AudioSource growlSound;
public float growlInterval;
public float growlPercenteChance;
public Aud... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class uisoStartScale : MonoBehaviour
{
public TweenScale tsStart;
public TweenAlpha taStart;
public TweenPosition tpStart;
// Start is called before the first frame update
void Start()
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace St.Eg.M1.Ex1.OOP.Model6
{
public interface IValidator<T> where T : EntityBase
{
void Validate(T theItem);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Docller.Core.Models;
namespace Docller.Core.Repository.Collections
{
public class TransmittedFileCollection : BlobCollection<TransmittedFile>
{
public TransmittedFileCollection(IEnumerable<TransmittedFile> fil... |
using System;
using System.Reflection;
using Phenix.Core.Log;
using Phenix.Core.Mapping;
using Phenix.Core.Rule;
using Phenix.Core.Security;
using Phenix.Services.Host.Core;
namespace Phenix.Services.Host.Service
{
public sealed class DataRule : MarshalByRefObject, IDataRule
{
#region 方法
#region PromptCo... |
namespace Shared
{
public enum Rating
{
F = 0, D = 50, C = 60, B = 75, A = 85, S = 90, Ss = 98, Sss = 100
}
public static class RatingScore
{
public static string FormatRating(this Rating rating)
{
switch (rating)
{
case Rating.Ss:
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.