text stringlengths 13 6.01M |
|---|
using System;
namespace SymbolicMath
{
class Program
{
static void Main(string[] args)
{
Expression a = new Constant(MathUtil.degreeToRadian(90));
Expression b = new Constant(MathUtil.degreeToRadian(45));
Expression e = new Constant(Math.E);
... |
using Xunit;
using Prime.Services;
namespace Tests
{
public class PrimeService_IsPrimeShould
{
private readonly PrimeService _primeService;
public PrimeService_IsPrimeShould()
{
_primeService = new PrimeService();
}
[Fact]
public void ReturnFalseGiv... |
using PropertyChanged;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using DataAccess;
namespace Business {
[PropertyChanged.ImplementPropertyChanged]
[Serializable()]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameIsOn.Classes
{
public class Player
{
/// <summary>
/// Luokan sisällä toimivat ominaisuudet
/// </summary>
private string player_name;
priva... |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace Org.Common.Web.HealthChecks
{
public class ApiHealthCheck : IHealthCheck
{
public async Task<HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellati... |
using System.Collections.Generic;
namespace Algorithms.Lib.Interfaces
{
public interface ITwoPartsWeighedGraph : IPrintable
{
IEnumerable<IPairNode> NodeXs { get; }
IEnumerable<IPairNode> NodeYs { get; }
IEnumerable<IPairNode> Nodes { get; }
IWeighedEdge GetEdge(IPairNode nodeX... |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
namespace SampleUWP
{
public sealed partial class B01 : Page
{
public B01()
{
InitializeComponent();
//mainPage.HideDebugBar();
//mainPage.dM1 = "Testing debug ... |
using System.Reflection;
using System.Xml;
using AutoFixture.Kernel;
namespace Leprechaun.Tests.Test.SpecimenBuilders
{
public class XmlNodeBuilder : ISpecimenBuilder
{
public object Create(object request, ISpecimenContext context)
{
if (!(request is ParameterInfo pi) || pi.ParameterType != typeof(... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Run
{
public partial class FrmRun : Form
{
public FrmRun()
{
... |
namespace MvcApp.Web.Views.Home
{
using System.IO;
using System.Text;
using SimpleMVC.Interfaces.Generic;
using ViewModels;
public class Index : IRenderable<SignedViewModel>
{
public SignedViewModel Model { get; set; }
public string Render()
{
StringBuilder ... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Marc Clifton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... |
using System.Linq;
using System.Collections.Generic;
using System;
namespace StringReplicator.Core.Infrastructure
{
public enum DataBaseType
{
SqlServer=1,
NotSqlServer=2
}
} |
namespace CheckIt.Syntax
{
public interface IReference
{
string Name { get; }
}
} |
using System;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using NLog;
using NLog.StructuredLogging.Json;
using LogLevel = Microsoft.Extensions.Logging.LogLevel;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HotelReservationSystem.Models
{
public class CommanClass
{
public Room room { get; set; }
public RoomFacility roomfacility { get; set; }
}
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Ideal.Ipos.RealTime.Skat.Model {
public class Spieler {
public Spieler(string id, string name) {
this.ID = id;
this.Name = name;
}
[JsonProperty(Pr... |
using Dwjk.Dtp;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using trade.client.Trade;
using trade.client.UIUtils;
using stati... |
using EduHome.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EduHome.Models.Entity
{
public class Contact:BaseEntity
{
public List<PostMessage> PostMessages { get; set; }
public List<Address> Addresses { get; set; }
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VandelayIndustries.ViewModels
{
public class TransactionAddModel
{
public int Id { get; set; }
public DateTime Date { get; set; }
public int Seller { get; set; }
public int Buyer { ge... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Vlc.DotNet.Core
{
public interface IChapterManagement
{
int Count { get; }
void Previous();
void Next();
int Current { 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.Threading.Tasks;
using System.Windows.Forms;
namespace Bank_collections
{
public partial class LogInForm : Form
{
public LogInForm()
... |
using UnityEngine;
using System.Collections;
public enum GAME_SCENE{
TITLE,
STAGE_SELECT,
PLAY_GAME,
RESULT
};
public class GameMain : MonoBehaviour {
public static GAME_SCENE NowScene;
private GAME_SCENE BeforeScene;
// 各シーン
public GameObject Title;
public GameObject StageSelect;
public GameObject PlayG... |
namespace Hanaby
{
using System;
using System.Collections.Generic;
using System.Linq;
enum ColorCard { White, Red, Green, Blue, Yellow}
internal class Card
{
internal ColorCard Color
{
get { return _color; }
}
ColorCard _color;
internal i... |
#define TRACE
namespace Sentry.Infrastructure;
/// <summary>
/// Trace logger used by the SDK to report its internal logging.
/// </summary>
/// <remarks>
/// Logger available when hooked to an IDE. It's useful when debugging apps running under IIS which have no output to Console logger.
/// </remarks>
public class Tr... |
using System.Windows;
using System.Windows.Controls;
namespace Unchase.OpenAPI.ConnectedService.Views
{
public partial class ConfigOpenApiEndpoint : UserControl
{
private readonly Wizard _wizard;
internal ConfigOpenApiEndpoint(Wizard wizard)
{
InitializeComponent();
... |
// See https://aka.ms/new-console-template for more information
public class Configuration
{
static Lazy<Configuration> s_default => new(() => {
var fitnessComparer = new SolutionValueAndWeightComparer();
return new Configuration(populationSize: 20,
maxGenerations: ... |
using AutoMapper;
using Uintra.Features.Comments.Models;
using Uintra.Features.Comments.Sql;
using Uintra.Infrastructure.Extensions;
namespace Uintra.Features.Comments.AutoMapperProfiles
{
public class CommentAutoMapperProfile : Profile
{
public CommentAutoMapperProfile()
{
CreateM... |
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace Marten.Linq
{
public interface IMartenQueryProvider : IQueryProvider
{
Task<IEnumerable<TResult>> ExecuteCollectionAsync<TResult>(Expression expression, Ca... |
using System;
using BikeDistributor.Data.Entities;
using BikeDistributor.Interfaces;
using BikeDistributor.Interfaces.CommonServices;
using BikeDistributor.Interfaces.Services;
using BikeDistributor.Models;
using BikeDistributor.Services.Common;
namespace BikeDistributor.Services.Receipt
{
public class HtmlReceip... |
using System.Collections.Generic;
using SuperMario.Collision;
using static SuperMario.Entities.MovementDirectionsEnum;
namespace SuperMario.Entities.Mario
{
public class MarioCollider : IEntityCollider
{
readonly MovingEntity mario;
readonly ICollider rectangleCollider;
public MarioCo... |
using System;
namespace Decorador
{
class Program
{
static void Main(string[] args)
{
GuardarCxP guardarCxP = new GuardarCxP();
Console.WriteLine("Se guarda CxP");
guardarCxP.EjecutarAccion();
Console.WriteLine("Modificacion 1");
Gu... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("IzBone.SimpleRig.Editor")]
|
using System;
using System.Web.Mvc;
using IBLLService;
using ShengUI.Helper;
using Common;
namespace ShengUI.Logic
{
[HandleError]
public class HelpController : BaseController
{
ITokenConfig_MANAGER token = OperateContext.Current.BLLSession.ITokenConfig_MANAGER;
IYX_sysConfigs_... |
using System;
namespace Practice
{
class MainClass
{
public static void Main(string[] args)
{
string[] stateName = new string[4];
int[] statePop = new int[4];
int maxPop = 0;
int index = 0;
for (int i = 0; i < 4; i++){
... |
using System;
using System.Collections.Generic;
namespace Ada.Framework.Expressions.Entities
{
public abstract class Evaluador<T>
{
public IList<string> Parametros { get; set; }
protected string codigo;
protected Func<T, Condicion, bool> delegado;
public string Codi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace Contracts
{
public interface ISiteContextProvider
{
Uri RootDomain { get; }
Claim RootClaim { get; }
}
}
|
using System;
using System.Diagnostics;
using System.Net.Sockets;
using System.Threading;
using pjank.BossaAPI.Fixml;
namespace pjank.BossaAPI.DemoConsole.Modules
{
class NolCustomOrders : IDemoModule
{
public char MenuKey { get { return '3'; } }
public string Description { get { return "NolClient us... |
using System;
namespace interfaces
{
public class JetSki : IVehicle, IWater
{
public int Doors { get; set; }
public int PassengerCapacity { get; set; }
public double EngineVolume { get; set; }
public double MaxWaterSpeed { get; set; }
public void Drive()
{
Console.WriteLine("The jets... |
namespace Taggart.ITunes
{
public class Track
{
public Track()
{
Album = new Album();
}
#region Properties
public Album Album { get; set; }
public int TrackNumber { get; set; }
public string Name { get; set; }
public string Artist... |
using System;
using System.Collections.Generic;
using System.Text;
namespace lsc.Model.Enume
{
/// <summary>
/// 热度
/// </summary>
public enum DegreeOfHeatEnume
{
/// <summary>
/// 高
/// </summary>
Senior = 1,
/// <summary>
/// 中
/// </summar... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class Tile : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler
{
//Script is attached to all tile gameObjects
//Explanation of variables are f... |
using gView.Framework.Geometry;
using gView.Framework.Symbology;
using gView.Framework.system;
using System.Collections.Generic;
namespace gView.Framework.Carto
{
public interface ILabelEngine
{
void Init(IDisplay display, bool directDraw);
LabelAppendResult TryAppend(IDisplay display, ITextSy... |
using LauncherLib.Download;
using LauncherLib.Utilities;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LauncherLib.Upgrader
{
//public static class PackageMaker
//{
// public sta... |
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameScript : MonoBehaviour
{
public static System.Action<Beetle, Beetle> OnReadyToFight = null;
[System.Serializable]
public class Vi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class VictoryManager : MonoBehaviour
{
[SerializeField]
private Texture[] images;
private ScreenFader fader;
private RawImage rawImage;
private int currentIdx;
protected void Awake()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace VJBatangas.LomiHouse.Common
{
public class VJHelper
{
public string GetConnectionString (String key)
{
return ConfigurationManager.ConnectionStrings[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntSys_Lab2._1.Model
{
public class MiniMaxSolver
{
public double[,] Values { get; set; }
public double[] MinA { get; set; }
public double[] MaxB { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
/*******************************
* Created By franco
* Description: log type
*******************************/
namespace Kingdee.CAPP.Common.Logger
{
class LogHandler : IConfigurationSectionHandler... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MySingleton
{
class EagerSingleton
{
private static EagerSingleton instance = new EagerSingleton();
private EagerSingleton()
{
}
public static EagerSingleton getInstance()
{
... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace YFVIC.DMS.Model.Models.FileInfo
{
public class BigFileEntity
{
/// <summary>
///编号
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FPSMouseLook : MonoBehaviour
{
public enum RotationAxis {MouseX, MouseY}
public RotationAxis axex = RotationAxis.MouseY;
private float CurrentSensitity_X = 1.5f;
private float CurrentSensitity_Y = 1.5f;
pri... |
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using Docller.Core.Models;
using Docller.Core.Services;
namespace Docller.Core.Images
{
public interface IPreviewImageProvider
{
void GeneratePreviews(long customerId, BlobBase blobBase);
void DeletePreviews(long customerId, B... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace MoulaCodingChallenge.Contro... |
using Asnapper.Hal101.Data;
using Asnapper.Hal101.Models;
using Microsoft.AspNetCore.Mvc;
namespace Asnapper.Hal101.Controllers
{
[Route("[controller]")]
[ApiController]
public class AddressesController : ControllerBase
{
private readonly AddressRepository _repository;
publ... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class RacingGameController : MonoBehaviour {
public int score1;
public int score2;
public Text score1Text;
public Text score2Text;
public int time;
public static RacingGameController instance = null;
private bool onlyOnce;
private Gam... |
using System;
using System.Windows.Forms;
namespace Claudia
{
/// <summary>
///
/// </summary>
public partial class MiniForm : Form
{
private MainForm _Parent { get; set; }
private string _ArtworkUrl { get; set; }
private string _Title { get; set; }
private string _Artist { get; set; }
private string ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Construction_Project
{
public partial class Cus_profile : System.Web.UI.Page
{
... |
using System;
namespace week05a
{
class MainClass
{
public static void Main (string[] args)
{
/*A switch statement can be used like a nested if/else statement
* The idea is you have cases to match text, characters or numbers
* when a case is found that matches the input (selection in this c... |
using System;
using System.Collections.Generic;
using App.Core.Interfaces.Dto;
using App.Core.Interfaces.Dto.Responses;
using App.Core.Interfaces.Extensions;
using Newtonsoft.Json;
namespace App.Core.Interfaces.Json
{
public class FlatListsJsonConverter : JsonConverter
{
public override bool CanConvert... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Sales.Common.Models;
using Sale... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using MongoDB.Driver;
using System;
using System.Linq;
using System.Linq.Expressions;
namespace Alabo.Datas.Stores.Count.Mongo {
public abstract class CountMongoStore<TEntity, TKey> : CountAsyncMongoStore<TEntity, TKey>,
ICountStore<TEntit... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestType.cs">
// Copyright (c) 2021 Johannes Deml. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// public@deml.io
// </author>
// ----------------------... |
using Allyn.Domain.Models.Basic;
using Allyn.Domain.Repositories;
using Allyn.Domain.Repositories.Basic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Infrastructure.EfRepositories.Basic
{
public class RoleRepository : IRoleRepo... |
namespace Xamarin.Forms.PlatformConfiguration.WindowsSpecific
{
using FormsElement = Forms.VisualElement;
public static class VisualElement
{
#region IsLegacyColorModeEnabled
public static readonly BindableProperty IsLegacyColorModeEnabledProperty =
BindableProperty.CreateAttached("IsLegacyColorModeEnabled... |
using System;
namespace method
{
class Caculator // 계산하는 클래스를 선행하여 만들겠다.
{
public static int Plus(int a, int b) // Plus라는 이름의 int형 매개변수를 선언하겠다.
{
return a + b; // Caculator안에 Plus라는 매개변수를 사용하면 두 변수 a와 b를 더하겠다.
}
public static int Minus(int a, int b) // Minus라는 이름의 int형 매개변수를 선언한다.
{
return a - b... |
using SwordAndFather.Contracts;
using SwordAndFather.Models;
namespace SwordAndFather.Validators
{
public class CreateAssassinRequestValidator : IValidator<CreateAssassinRequest>
{
public bool Validate(CreateAssassinRequest request)
{
return !(string.IsNullOrEmpty(request.CatchPhra... |
using MongoDB.Driver.Builders;
using mvcMongoDB.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace mvcMongoDB.Controllers
{
public class BrandController : Controller
{
private readonly CountryDB Context = new CountryDB();
... |
using SMG.Common.Algebra;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG.Common.Gates
{
/// <summary>
/// Logical OR combination gate.
/// </summary>
class ORGate : CompositeGate
{
#region Prop... |
using System;
using TiledMax;
namespace USMS_Source
{
public class Level
{
private Map map;
public Level (String fileName)
{
this.map = Map.Open(fileName);
if(map.Loaded.Successful)
{
drawMap(map);
}
}
public void drawMap(Map map)
{
Console.WriteLine("Map Loaded!");
}
}
... |
using MMSEApp.Models;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Security.Cryptography;
using System.Text;
using Xamarin.Forms;
namespace MMSEApp.ViewModels
{
public class RegisterViewModel : INotifyPropertyChanged
... |
using System;
using System.Windows.Forms;
namespace twpx.VIew
{
public partial class LoginForm : Form
{
Common Lcommon = new Common();
public LoginForm()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.SYS;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.TRANS
{
public partial class MrpExPlanItemRate
{
[Display(Name = "MrpExPlanItemRa... |
using UnityEngine;
public class TaskRandomFly : TaskMovement<EntityBat> {
[SerializeField]
private int _minMoveDistance = 2;
[SerializeField]
private int _maxMoveDistance = 5;
[SerializeField, MinMaxSlider(0.01f, 60)]
private Vector2 _randomFlyTry = new Vector2(1, 1.5f);
private float ti... |
using System.Collections.Generic;
using System.Web.Http;
using ILogging;
using ServiceDeskSVC.Domain.Entities.ViewModels.AssetManager;
using ServiceDeskSVC.Managers;
namespace ServiceDeskSVC.Controllers.API.AssetManager
{
public class SoftwareController : ApiController
{
private readonly IAssetManager... |
using System.Globalization;
using System.Text;
/// <summary>
/// ZPL 語言封裝類別
/// </summary>
namespace ZebraUDP
{
public class ZplCmdBuilder
{
private static readonly string START_ZPL = "^XA";
private static readonly string END_ZPL = "^XZ";
public static string ORI_NORMAL = "N"; ... |
using MyBlog.WebApi.Framework.DTOs;
namespace MyBlog.WebApi.DTOs.Blogs
{
public class BlogPostForFilteringDto : BasePagingQueryStringParameters
{
public string Tag { get; set; }
}
}
|
using System;
using System.Windows.Data;
namespace DameGUI.Data
{
public class PlayerConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
int idx = (int)value;
if (idx % 2 == 0)... |
using System;
using System.Linq;
using Xunit;
namespace NStandard.Test
{
public class ArrayExtensionsTests
{
private class Class { }
[Fact]
public void LetTest1()
{
var arr = new int[5].Let(i => i * 2 + 1);
Assert.Equal(new[] { 1, 3, 5, 7, 9 }, arr);
... |
using System;
using System.Collections.Generic;
namespace Cradiator.Config
{
// ReSharper disable UnusedMemberInSuper.Global
public interface IConfigSettings : IViewSettings
{
int PollFrequency { get; set; }
bool ShowCountdown { get; set; }
TimeSpan PollFrequencyTimeSpan { get; }
string BrokenBuildSound { g... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Embraer_Backend.Models;
using Microsoft.Extensions.Configuration;
using System;
using Microsoft.AspNetCore.Cors;
using System.Linq;
namespace Embraer_Backend.Controllers
{
[Route("api/[controller]/[action]")]
[EnableCors("CorsPolicy")]
... |
namespace MyQueue
{
using System;
using System.Collections.Generic;
/// <summary>
/// This is a queue that holds 5 integers.
/// </summary>
public class MyQueue : MyQueueBase, IMyQueue
{
public MyQueue()
{
Values = new List<int>();
}
public cons... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
using Plugin.FileUploader;
using Plugin.FileUploader.Abstractions;
using Plugin.Media;
using Plugin.Media.Abstractions;
using Xamarin.Forms;
namespace LorikeetMApp
{
public partial class TakePicture :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Allyn.Application.Dto.Manage.Front
{
/// <summary>
/// 表示产品类别实体的修改数据传输对象.
/// </summary>
[DataContractAttribute(Namespace = "http://www.allyn.com.cn/category-edit-dto")]
... |
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace net_tech_cource {
public class SimpleClient {
public readonly string uuid;
public readonly string Name;
private string ipAdress;
private int port;
private So... |
using System;
namespace Reactive.Flowable
{
public interface IFlowable<out T> : IPublisher<T>
{
}
} |
using Alabo.Domains.Entities;
using System.Collections.Generic;
namespace Alabo.UI.Design.AutoTables {
/// <summary>
/// 自动表单,可以构建前台自动列表
/// </summary>
public interface IAutoTable {
/// <summary>
/// 操作链接
/// </summary>
/// <returns></returns>
List<Tab... |
using UnityEngine;
using System.Collections;
public class TutorialGradient : MonoBehaviour
{
private MeshRenderer gradientRenderer;
private Color alphaZero;
private Color alphaOne;
public float tweenDuration;
public float tweenCount;
private bool hasStarted;
void Start()
{
has... |
using System.Text;
using EqualExperts.Core.Interfaces;
namespace EqualExperts.Core
{
public class NumberProcessor : INumberProcessor
{
private readonly IMathUtilities _mathUtilities;
public NumberProcessor(IMathUtilities mathUtilities)
{
_mathUtilities = mathUtilities;
... |
using BankAppCore.Data.Converters;
using BankAppCore.Data.EFContext;
using BankAppCore.Data.Repositories;
using BankAppCore.DataTranferObjects;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using static BankAppCore.Data.EFContext.EFContext;
namespace BankAppCore.Services
{
p... |
using SpeedSlidingTrainer.Core.Model;
namespace SpeedSlidingTrainer.Application.Events
{
public sealed class SlideHappened
{
public SlideHappened(Step step, bool boardSolved)
{
this.Step = step;
this.BoardSolved = boardSolved;
}
public Step Step { get; ... |
using System;
using Matrix = System.Numerics.Matrix4x4;
namespace Jypeli
{
/// <summary>
/// Kirjaimen valitsin.
/// </summary>
public class LetterPicker : Label
{
private int _selectedIndex;
private char _selectedCharacter;
private readonly SynchronousList<Listener> _contro... |
//==============================================================================
// Copyright (c) 2012-2020 Fiats Inc. All rights reserved.
// https://www.fiats.asia/
//
namespace Financial.Extensions
{
// Based on ISO4217
public enum CurrencyCode
{
AUD = 36, // Australian dollar
CNY = 15... |
namespace Cs_Notas.Infra.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AlterarEscritura : DbMigration
{
public override void Up()
{
AddColumn("dbo.Escrituras", "TipoAtoCesdi", c => c.Int());
AlterColumn("dbo.Escritu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Inventory : MonoBehaviour
{
[HideInInspector]
//public string itemToDrop, itemToPick;
GameObject itemHeld;
GameObject itemToPick, itemToDrop;
GameObject itemOnHotspot;
PlayerStates playerStates;
... |
using System;
using System.Windows.Forms;
namespace StockTracking
{
public class isGeneral
{
internal static bool isNumber(KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
return true;
else
return false;
... |
using System;
using System.Collections.Generic;
using System.Text;
using X1PL_Backend.Interpretations;
using X1PL_Backend.IO;
using X1PL_Backend.Structures;
namespace X1PL_Backend
{
public class X1PL_Easy
{
public X1PL_Easy(string conrsPath)
{
StructureComprehender.Work(conrsPath, ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace League.Models
{
public class Dojo
{
[Key]
public long id { get; set; }
[Required]
[MinLength(3, ErrorMessage = "Name must be at least 3 characters")]
[Display(Name = "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace UmbracoAarhus.ViewModels
{
public class ContactForm
{
[Required]
public string Name { get; set; }
[Required]
[EmailAddress(ErrorMessage =... |
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(CharacterController))]
public class PlayerMovement : MonoBehaviour
{
[SerializeField] private float crouchSpeed = 2f;
[SerializeField] private float walkingSpeed = 4f;
[SerializeField] private float sprintingSpeed = 8f;
[SerializeFi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CAPCO.Infrastructure.Domain;
using CAPCO.Infrastructure.Data;
namespace CAPCO.Areas.Admin.Controllers
{
public class ProductStatusController : BaseAdminController
{
private readonly IR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.