text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
using Umbraco.Web.PublishedCache;
namespace Umbraco.Web.PropertyEditors.ValueConverters
{
/// <summary>
/// The media picker property value con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Discord.Commands;
using Discord.WebSocket;
namespace DM_Discord_Bot
{
public class CommandHandler
{
private DiscordSocketClient client;
private Com... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Linq;
using DevExpress.Xpo;
using prjQLNK.QLNK;
namespace prjQLNK
{
public partial class BcBKNK : DevExpress.XtraReports.UI.XtraReport
{
public string NguoiLap_ = ".... |
using FluentAssertions;
using Xunit;
namespace LeeConlin.ExtensionMethods.Tests.StringExtensions
{
public class ToSha256Hash_Should
{
[Theory]
[InlineData("test", true, "9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08")]
[InlineData("test", false, "9f86d081884c7d659a2f... |
using System.Web.Mvc;
namespace ZiZhuJY.Web.UI.Controllers
{
public class PTPProxyServiceController : Controller
{
//
// GET: /PTPProxyService/
//public JsonResult Index(string privateIP, int? privatePort, string privateHostName, string privateHostFullName, string remark)
//{
... |
using System.Collections.Generic;
using System.Linq;
namespace Utilities.NET.Comparers
{
/// <inheritdoc/>
/// <summary> Version comparer. </summary>
public class VersionComparer : IComparer<string>
{
/// <inheritdoc/>
/// <summary> Compares two version string objects to determine thei... |
using GameForOurProject.Buttons;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameForOurProject.GameHandler
{
public class DrawingOptions
{
public sta... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyThrillRideTrackerApp5.Models
{
public class ThrillRideTrackerDbContext : DbContext
{
public ThrillRideTrackerDbContext (DbContextOptions<ThrillRideTrackerDbContext> opt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class LH_Stress : MonoBehaviour
{
List<Vector2> mPathThroughDungeon;
private Vector2 mRandomDir;
LH_Movement mPlayerMovment;
System.Random mRandNum = new System.Random();
private float mHorz, mVert;... |
using PuddingWolfLoader.Framework.Container;
using PuddingWolfLoader.Framework.View;
using PuddingWolfLoader.Framework.ViewModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Window... |
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using UnityEditorInternal;
using VRM;
using Esperecyan.UniVRMExtensions.Utilities;
namespace Esperecyan.UniVRMExtensions.CopyVRMSettingsComponents
{
internal class CopyVRMSpringBones
{
/// <summary>
/// VRMSpringBone、およびVRM... |
using Sandbox.Game.EntityComponents;
using Sandbox.ModAPI.Ingame;
using Sandbox.ModAPI.Interfaces;
using SpaceEngineers.Game.ModAPI.Ingame;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System;
using VRage.Collections;
using VRage.Game.Components;
using VRage.G... |
using nmct.ba.cashlessproject.api.Models.DataAccessOrganisation;
using nmct.ba.cashlessproject.model.WPF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Security.Claims;
using System.Web;
using System.Web.Http;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InterviewQuestions
{
public class SystemTextEncoding
{
public static void Test()
{
string strTmp = "abcdefg某某某";
byte[] byt = System.Text.Encoding.Default.GetBytes(strTmp);
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dentist.ViewModels
{
public class RegistrationViewModel
{
[Required]
[Display(Name = "Registration Number")]
public... |
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 System.Web;
using System.Configuration;
namespace TaxiDriverSystem
{
... |
#region 版本说明
/*****************************************************************************
*
* 项 目 :
* 作 者 : 陈锐(开发)
* 创建时间 : 2010-4-27 下午 01:23:35
*
* Copyright (C) 2008 - 鹏业软件公司
*
*****************************************************************************/
#endregion
/*
<!---->
<com... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityStandardAssets.ImageEffects;
using Spine.Unity;
using UnityEngine.EventSystems;
public class campamentosOffline : MonoBehaviour {
public GameObject Player;
public GameObj... |
using Lowscope.Saving;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace Lowscope.Saving.Examples
{
public class ExamplePauseMenu : MonoBehaviour
{
[Header("References")]
[SerializeField] private GameObject pauseMenuObjects;... |
using System;
namespace HT.Framework
{
/// <summary>
/// 【自动化任务】对象路径定义,将根据设置的路径查找子对象用以初始化(仅可用于 EntityLogicBase 及 UILogicBase 及 HTBehaviour 子类中定义的非静态字段)
/// </summary>
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class ObjectPathAttribute : Attribu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomTreasureSpawner : MonoBehaviour
{
public bool looping = false;
public float loopDelay = 60;
public GameObject treasure;
public string treasurePrefabFolder = "Prefabs/RNGTreasure";
// Start is called ... |
/*
* Copyright 2014 Technische Universitšt Darmstadt
*
* 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 appli... |
using Discord;
using Discord.WebSocket;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using System.Net.Http;
using Discord.Commands;
using WestBot;
namespace Westbot
{
class Program
{
static void Main(string[] call_args)
=> new Program().MainAs... |
using System.Collections.Generic;
namespace AddressBook.SearchForm
{
class SearchFormModel
{
public List<string> GetCategories()
{
//but this should accessed db
var cat = new List<string> {"Minny", "Miney", "Moo"};
return cat;
}
}
}
|
using Android.Content;
using Android.Graphics;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
namespace Forms.Plugin.CardForm.Platforms.Helpers
{
public class ImageHelper
{
private static IImageSourceHandler GetHandler(ImageSource source)
{
... |
using Arch.Data.Common.Enums;
using Arch.Data.Orm.sql;
using System;
using System.Collections.Generic;
using System.Text;
namespace Arch.Data.Orm.Dialect
{
/// <summary>
/// MySql方言
/// </summary>
public class MySqlDialect : DbDialect
{
public override Char OpenQuote
... |
using System;
class Program
{
static void Main()
{
//Circle variables
int center_X = 1;
int center_Y = 1;
float radius = 1.5f;
//Points coordinates
var coordinates = new float[10, 2];
coordinates[0, 0] = 1;
coordinates[0, 1] = 2;
coordin... |
// Copyright 2019 Google Inc. 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 License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using Common;
using Facebook;
using Models.DAO;
using Models.EF;
using OnlineShop.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace OnlineShop.Controllers
{
public class UserController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Sklep.Cutomers
{
public class Updater : ICommand
{
private Action commandTask;
private Action<Customer... |
using Microsoft.EntityFrameworkCore;
using ShopsRUs.Domain.Entity;
using ShopsRUs.Infrastructure.Configurations;
using ShopsRUs.Infrastructure.SeedData;
namespace ShopsRUs.Infrastructure
{
public class ShopsRUsContext:DbContext
{
public ShopsRUsContext(DbContextOptions<ShopsRUsContext> options):base(o... |
using System.Text.Json.Serialization;
namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json.Rooms;
internal sealed class JsonExplodeBlockMessage : JsonMessageOutgoingMessage
{
internal JsonExplodeBlockMessage(string roomName, int tileY, int tileX) : base(roomName, new RoomMessageData("explodeBl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class ConfigColeccionable : MonoBehaviour
{
public Sprite noDisponible;
public Button coleccionble1;
public Text titulo_1;
public Text contenido_1;
public ... |
using UnityEngine;
using System.Collections;
namespace Assets.Scripts
{
public class RoundManager : MonoBehaviour
{
public static int SecondsToStart = 10;
public static int Round = 0;
private bool StartRounds = false;
public Player Player;
public EnemyAI EnemyAI;
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task1
{
public class NOD
{
#region Public methods
public static int FindNodEuclidean(int first, int second)
{
if (first ==... |
// Author(s): Aaron Holloway
// Fall 2018
// Last Modified: 12/2/2018
using UnityEngine;
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Collections;
using System.Collections.Generic;
// Derived from Summer2018CRCSProject/Assets/ASL/RC/Scripts RCBehavior_TCP.cs
// Allows ope... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PhotoFrame.Domain.Model;
namespace PhotoFrame.Domain.UseCase
{
public class ChangeKeyword
{
private readonly IKeywordRepository _keywordRepository;
private readonly IPhoto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
namespace BLL.SYSTEM
{
public class FilesBLL
{
DAL.SYSTEM.FilesDAL dal = new DAL.SYSTEM.FilesDAL();
#region 插入数据
/// <summary>
/// 插入... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace p527___ConvertsIntToString_Delegate
{
class Program
{
static void Main(string[] args)
{
ConvertsIntToString someMethod;
someMethod = new ConvertsIntToString(helloMethod);
... |
using CheckMySymptoms.Forms.View.Common;
using LogicBuilder.RulesDirector;
using System;
using System.Collections.Generic;
namespace CheckMySymptoms.Forms.View.Input
{
//[JsonConverter(typeof(InputViewConverter))]
public abstract class BaseInputView
{
//LogicBuilder.Forms.Parameters
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using InfoPole.Core;
using InfoPole.Core.Entities;
using InfoPole.Core.Services;
namespace InfoPole.Services
{
public class MarkupTagsFileParser : IMarkupTagsFileParser
{
public IEnumerable<MarkupTag> GetA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FantaCalcioManager.Website.Controllers
{
public class LaMiaSquadraController : Controller
{
public ActionResult Index()
{
return View();
}
public Ac... |
using System;
using System.IO;
namespace GreedyDwarf
{
class GreedyDwarf
{
static void Main(string[] args)
{
//Console.SetIn(new StreamReader(Console.OpenStandardInput(8192)));
int[] valley = ReadValley();
int[][] patterns = ReadPatterns();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IdleState : AIState
{
public float idleMin;
public float idleMax;
private float idleTime;
public override void OnEnterState()
{
idleTime = Random.Range(idleMin, idleMax);
StartCoro... |
using System;
using System.Collections.Generic;
using DavisVantage.WeatherReader.Extensions;
namespace DavisVantage.WeatherReader.Models
{
public class CurrentWeather
{
public DateTime UtcTime { get; set; }
public ConsoleInfo ConsoleInfo { get; set; }
public int Barometer { get; set; }... |
using PlatformRacing3.Server.Core;
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
using PlatformRacing3.Server.Game.Communication.Messages.Outgoing;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming;
internal class LegacyPingIncom... |
using System;
namespace InstaGramSosa2.Models
{
public class Posts
{
public int PostId { get; set; }
public string PostDate { get; set; }
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CarSelector.Tests.Services
{
using CarSelector.Contracts;
using CarSelector.Model;
using CarSelector.Services;
using CarSelector.Tests.Utils;
using System;
[TestClass]
public class CarEvaluatorServiceTestFixture
{
... |
namespace Plus.HabboHotel.Users.Messenger
{
public enum MessengerEventTypes
{
EventStarted,
AchievementUnlocked,
QuestCompleted,
PlayingGame,
FinishedGame,
GameInvite
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Models
{
/// <see cref="https://www.frameip.com/plan-numerotation-telephonique/"/>
public class PhoneNumber : IPhoneNumber
{
private const char SHORT_INTERNATIONAL_PREFIX = '+';
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class UIManager : MonoBehaviour {
GameObject[] objects;
void Start() {
Time.timeScale = 1;
objects = GameObject.FindGameObjectsWithTag("hasMovement");
}
void Update... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Reserva.Domain.Entities;
namespace Reserva.Infra.Mappings
{
public class FilialMap : IEntityTypeConfiguration<Filial>
{
void IEntityTypeConfiguration<Filial>.Configure(EntityTypeBuilder<Filial> builder)
... |
using System.Configuration;
using System.IO;
using System.Web;
using System.Web.Hosting;
namespace Umbraco.Examine.Config
{
public sealed class IndexSet : ConfigurationElement
{
[ConfigurationProperty("SetName", IsRequired = true, IsKey = true)]
public string SetName => (string)this["SetName"... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Attaching this to a gameobject preserves it through scenes and it becomes a singleton.
/// </summary>
public class SingletonObject : MonoBehaviour {
private static SingletonObject instance = null;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Wi... |
using System.ComponentModel.DataAnnotations;
namespace Web.Models
{
public class CourseSco
{
public int Id { get; set; }
[MaxLength(50)]
public string Title { get; set; }
public int CourseTemplateId { get; set; }
public virtual CourseTemplate CourseTemplate { get; set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.From_026_To_050
{
public class _027_CommonPrefix
{
/*
* Write a function to find the longest common prefix string amongst an array of strings
*/
// method, go through each... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Gui.Controls
{
public class Box : Control
{
public override IEnumerable<Control> Children { get; } = Enumerable.Empty<Control>();
public override Size GetContentSize(IGuiContext con... |
using System.Linq;
using System.Windows;
using Printer_Status.Printers;
namespace Printer_Status.Helpers
{
/// <summary>
/// Helper class for managing windows.
/// </summary>
public static class WindowHelper
{
/// <summary>
/// Find the first Window of type <typeparamref name="TWind... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public GameObject projector;
public float moveSpeed = 2f;
[HideInInspector]
public Vector3 movement;
[HideInInspector]
public Rigidbody rb;
public LayerMask ... |
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;
using System.Threading.Tasks;
namespace BlobAndAdlsPerfoamance
{
class Program
{
static DateTime _startTime = DateTime.MinValue;
static DateTime _endTime = DateTime.MaxV... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using ImageProcessor;
using ImageProcessor.Imaging.Formats;
namespace ImageLibTest
{
public class ImageProcessorLibTester : LibTester
{
public override string LibName => "ImageProcessor";
private Size ... |
using CheckMySymptoms.Forms.Parameters.Common;
using LogicBuilder.Attributes;
using LogicBuilder.Forms.Parameters;
using System.Collections.Generic;
namespace CheckMySymptoms.Flow
{
public interface ICustomDialogs
{
[AlsoKnownAs("DisplayHtmlContent")]
[FunctionGroup(FunctionGroup.DialogForm)]
... |
using Promobusque.Aplicacao;
using Promobusque.Dominio;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Promobusque.Site
{
public class EmpresaController : Controller
{
private EmpresaAplicacao EmpresaAplicacao;
public Empre... |
using System;
using System.Linq;
using System.Reflection;
using Mono.Cecil;
namespace StructureAssertions
{
public class AssertAssemblyStructure
{
readonly AssemblyDefinition _assembly;
internal AssertAssemblyStructure(Assembly assembly)
{
if (assembly == null) throw new ArgumentNullException("assembly");
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace eRecruiterRestClient.Tests
{
[TestClass]
public class ErecruiterActionTests
{
public ErecruiterActionTests()
{
}
[TestMethod]
public void check_returned_users_is_not_null()
{... |
#region 版本说明
/*****************************************************************************
*
* 项 目 :
* 作 者 : 李金坪
* 创建时间 : 2014/11/18 13:18:19
*
* Copyright (C) 2008 - 鹏业软件公司
*
*****************************************************************************/
#endregion
/*
<!--布局信息-->
<compo... |
using AlienEngine.Core.Physics;
using AlienEngine.Core.Physics.CollisionShapes;
using AlienEngine.Core.Physics.CollisionShapes.ConvexShapes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlienEngine
{
public class BoxCollider : Collid... |
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
public class LayouterStripes : Layouter
{
public float minValue = 0;
public float maxValue = 0;
public int count = 0;
public float delta = 0;
public string mainP... |
using UnityEngine;
using System.Collections;
using Leap;
using System;
public class ComplexPinchDistance : ComplexCondition {
private float minDistance, maxDistance;
public ComplexPinchDistance(float minDistance, float maxDistance)
{
this.minDistance = minDistance;
this.maxDistance = max... |
using System.Collections.Generic;
/// <summary>
/// Windows Presentation Foundation translator namespace
/// </summary>
namespace WPFTranslator
{
/// <summary>
/// Translator interface
/// </summary>
public interface ITranslatorInterface
{
/// <summary>
/// Language
/// </s... |
using UnityEngine;
using System.Collections;
// http://answers.unity3d.com/questions/11314/audio-or-music-to-continue-playing-between-scene-c.html
public class DontDestroy : MonoBehaviour {
private static DontDestroy instance = null;
public static DontDestroy Instance {
get {
return instance;
}
}
void Aw... |
using System;
using System.Runtime.Serialization;
namespace SiDualMode.InputAdapter.TestDataAdapter {
/// <summary>
/// This is the configuration type for the GeneratorFactory. Use instances of this class to configure data
/// and frequency of a generator adapter.
/// </summary>
[DataContract()]
... |
using FastSQL.Core;
using System;
using System.Collections.Generic;
namespace FastSQL.Magento1
{
public class ProviderOptionManager : BaseOptionManager
{
public override IEnumerable<OptionItem> GetOptionsTemplate()
{
return new List<OptionItem>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using ERP_Palmeiras_RH.Models.Facade;
using ERP_Palmeiras_RH.Models;
namespace ERP_Palmeiras_RH.WebServices
{
/// <summary>
/// Summary description for FuncionariosWS
/// </summary>
[WebServ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HistoricalDataExport.Entities
{
public class News
{
public int Id { get; set; }
public string PublishDate { get; set; }
public string Classification { get; se... |
//
// Copyright 2010, 2015, 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com)
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
... |
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using HandyControl.Data;
using HandyControl.Tools.Extension;
namespace HandyControlDemo.UserControl
{
/// <summary>
/// 左侧主内容
/// </summary>
public partial class LeftMainContent
{
publ... |
using System;
using Foundation;
using UIKit;
namespace JKMIOSApp
{
/// <summary>
/// Controller Name : TearmsConditionViewController
/// Author : Hiren Patel
/// Creation Date : 16 JAN 2018
/// Purpose : To display terms and condition page screen as app shell screen
/// Revi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ljc.Com.CjzfNews.UI.Entity
{
public class DefaultSettingConfig
{
public bool AutoRun
{
get;
set;
}
private int _maxpopwinnums =... |
using System;
using System.ComponentModel.DataAnnotations;
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
namespace BlocksAsTabs.Models.Blocks
{
[ContentType(DisplayName = "TabsBlock", GUID = "42A0899A-032E-4A80-9FF6-B884EDD8AD4B", Description = "")]
public class TabsB... |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
using MediatR;
using Microsoft.AspNetCore.Identity;
using Publicon.Core.Entities.Concrete;
using Publicon.Core.Entities.Enums;
using Publicon.Core.Exceptions;
using Publicon.Core.Repositories.Abstract;
using Publicon.Infrastructure.Commands.Models.User;
using Publicon.Infrastructure.DTOs;
using Publicon.Infrastructure... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task12
{
class Program
{
static void Main(string[] args)
{
//Implement the ADT stack as auto - resizable array.
//Resize the capacity on demand(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DietFood.Models.Calculator
{
public class DishParam
{
public int Id { get; set; }
public string Name { get; set; }
public int MealType { get; set; }
public int Possible... |
namespace syscrawl.Game.Models.Levels
{
public enum NodeType
{
Connector,
Filesystem,
Firewall,
Entrance
}
}
|
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Management.Automation.Runspaces;
using System.Management.Automation;
using System.Col... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapstoneProject
{
//
// enum
//
public enum Hair
{
CURLS = 15,
UPDO = 50,
HALFUP = 25,
BUZZED = 10
}
class Program
{
... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Medit1.Validation;
namespace Medit1.Models.ViewModels
{
public class PortViewModel
{
public int PortId { get; set; }
[Required(ErrorMessage = "Le nom du port est obligatoire")]
[DisplayName("Nom")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin_RollNewsDetail : System.Web.UI.Page
{
public string t_rand = "";
string newsId = string.Empty;
PDTech.OA.BLL.ROLL_NEWS newsBll = new PDTech.... |
using System.Collections.Generic;
using TableTopCrucible.Core.Models.ValueTypes.IDs;
namespace TableTopCrucible.Core.Models.Sources
{
public interface IEntityChangeset<Tentity, Tid>
where Tentity : struct, IEntity<Tid>
where Tid : ITypedId
{
Tentity? Origin { get; }
Tentity To... |
using System.Collections.Generic;
namespace Todo.Core.Entities
{
public class User
{
public string Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Password { get; set; }
//public List<TaskItem> TodoList { get; set; }
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Sbidu.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Categories",
columns: t... |
using AssetHub.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace AssetHub.ViewModels.Account.Partial
{
public class ChangePasswordViewModel
{
public string Id { get; set; }
[Required(ErrorMessage... |
using GamesInfo.API.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GamesInfo.API.Services
{
public class GameInfoFileRepository : IGameInfoRepository
{
public Task Create(Game game)
{
throw new NotImp... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GUIPlayer : MonoBehaviour {
public GameObject Player;
public Canvas GUIP;
public Text Lvl;
public Text PAtk;
public Text AtkSpeed;
public Text Speed;
public Text Armor;
public Text Gold;
public Text Exp;
public Text HP;
//... |
using Mirror;
using MobileFPS.PlayerHealth;
using MobileFPS.PlayerWeapon;
using UnityEngine;
using UnityEngine.UI;
namespace MobileFPS.PlayerUI
{
public class PlayerUIManager : NetworkBehaviour
{
GameManager _gameManager;
Health _playerHealth;
WeaponController _weaponCont... |
using DG.Tweening;
using UniRx;
using UnityEngine;
public class ProgressProp : MonoBehaviour
{
[SerializeField] private SomewhatFancierExample1 _source;
[SerializeField] private float _min;
[SerializeField] private float _max;
private void Start()
{
_source.PumaProgress
.Select(p => p >= _min && p <= _max)... |
namespace RankingsTable.EF
{
using Microsoft.Data.Entity;
using RankingsTable.EF.Entities;
public interface IRankingsTableDbContext
{
DbSet<Player> Players { get; }
DbSet<Season> Seasons { get; }
int SaveChanges();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.