text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
namespace FlippoIO
{
public static class Scheduler // TODO: a deadlock on schedulLock occured once, it is not known if this can still occur
{
private static List<Match> schedule = new List<Match>();
private static int match... |
using SFA.DAS.ProviderCommitments.Web.Models.Shared;
using System.Collections.Generic;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types;
namespace SFA.DAS.ProviderCommitments.Web.Models.Apprentice.Edit
{
public class EditApprenticeshipDeliveryModelViewModel: IDeliveryModelSelection
{
pu... |
using EasyHarmonica.BLL.DTO;
using EasyHarmonica.BLL.Interfaces;
using EasyHarmonica.DAL.Entities;
using EasyHarmonica.DAL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
namespace EasyHarmonica... |
using System.Web.UI;
namespace RestaurantCountSystem.Account
{
public partial class ResetPasswordConfirmation : Page
{
}
} |
namespace DEV_7
{
public class TypeTriangle
{
public enum Types
{
Common,
Isosceles,
Equilateral
};
public Types Determine(Sides sides)
{
if ((sides.aSide == sides.bSide) && (sides.aSide == sides.cSide))
{
... |
namespace ChooseADrink2
{
using System;
public class StartUp
{
public static void Main()
{
string proffesion = Console.ReadLine();
var drinkQuantity = decimal.Parse(Console.ReadLine());
string drinkType = "";
decimal price = 0.00M; ... |
using UnityEngine;
using System.Collections;
public class Spotlight : MonoBehaviour {
//variables
public Light Spot;
private PlayerStates Player;
private bool bIsEnabled;
// Use this for initialization
void Awake () {
Player = GameObject.FindWithTag("Player").GetComponent<PlayerStates>();
}
void Start... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace WSTower.App
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Principal : ContentPage
{
List<string> ... |
using AppointmentManagement.Entities.Concrete;
using AppointmentManagement.UI.Identity;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CivilManagement.UI.Entity
{
public class AppUser:IdentityUser
{
public... |
using System;
using System.Globalization;
using Xamarin.Forms;
namespace XF40Demo.Converters
{
internal class PowerToPortrait : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
{
... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using DuckingAround.NPCs.Bosses;
namespace DuckingAround.Items.SpawnItems
{
public class PsionSpawn : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Blight");
Tooltip.SetDefault("Summons an ancient foe.");
Ite... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PackModel
{
public class listeSauvegarde
{
private string nomPartie;
private int diff;
public int Diff
{
get { return diff; }
set { diff = value; }
}... |
using System;
using System.Text.Json;
using Confluent.Kafka;
namespace MessageBroker.MessageData
{
public class MessageDataDeserializer: IDeserializer<MessageData>
{
public MessageData Deserialize(ReadOnlySpan<byte> data, bool isNull, SerializationContext context)
{
return JsonSeri... |
using Anywhere2Go.AccountingLogic;
using Anywhere2Go.AccountingLogic.Master;
using Anywhere2Go.DataAccess.AccountEntity;
using Anywhere2Go.DataAccess.Entity;
using Claimdi.Account.Filters;
using Claimdi.Account.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.We... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class PausePlayToggle : MonoBehaviour {
/*
public Image pausePlayButtonImage;
public Sprite pauseSprite;
public Sprite playSprite;
bool registeredForEvents;
void Awake() {
registeredForEvents = false;
}
// Use this for initializati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using WindowsFormsApplication2;
using System.IO;
/// <summary>
/// QyxqkDaochu 的摘要说明
/// </summary>
pub... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Pobs.Domain.Entities;
namespace Pobs.Web.Models.Questions
{
public class QuestionSearchResultsModel
{
public QuestionSearchResultsModel() { }
public QuestionSearchResultsModel(strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Record : MonoBehaviour
{
public Text T_Record; //To show player record
private void Awake()
{
//PlayerPrefs.SetInt("I_Record", 1);
T_Record = gameObject.GetComponent<Text>();
... |
namespace Otiport.API.Extensions
{
public static class StringsExtensions
{
public static string Hash(this string text,HashType type)
{
switch (type)
{
case HashType.MD5:
//TODO: MD5 Hash Algorithm
return "";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SocialPlatforms.Impl;
using UnityEngine.UI;
/**
* NOTES:
*
* one of the things I am going to note is how the tiles change. Instead of changing colors, I could have focused more on the actual boardmanager rather than ti... |
using System;
using System.Collections.Generic;
using System.Text;
namespace eMAM.Data.Models
{
public class AuditLog
{
public int Id { get; set; }
public string GmailId { get; set; }
public DateTime TimeStamp { get; set; }
public string ActionType { get; set; } //TODO?????
... |
namespace Ach.Fulfillment.Nacha.Record
{
using System;
using Attribute;
using Enumeration;
using Serialization;
[Serializable]
public class BatchHeaderGeneralRecord : SerializableBase
{
/// <summary>
/// Code identifying the Company/Batch Header Record is "5"
... |
using System.ComponentModel;
using System.IO;
namespace AsyncClasses.EventArgs
{
/// <summary>
/// EventArgs class for reporting the progress of asynchronous calls to load a DataTable for display in a grid.
/// </summary>
public class GetDataProgressChangedEventArgs : ProgressChangedEventArgs
{
#region Public ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ghostpunch.OnlyDown.Common.Views;
using strange.extensions.signal.impl;
using UnityEngine;
namespace Ghostpunch.OnlyDown.Game.Views
{
public class PlayerView : ViewBase
{
public float ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Kingdee.CAPP.Common
{
/// <summary>
/// 类型说明:DataGridView帮助扩展类
/// 作 者:jason.tang
/// 完成时间:2012-12-17
/// </summary>
static class DataGridViewHelper
{
publi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PaperPlane.API.Log
{
internal static class GlobalLogger
{
private static void Log(Serilog.Events.LogEventLevel level, string message)
{
#if DEBUG
Serilog.Log.Write(level, message);
#endif
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DPYM
{
namespace PC
{
/*
* TCL 解析工具 : 在游戏内部提供一套调试命令 TCL
*
*/
class TCLParser
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using KartObjects;
namespace AxiReports
{
public class StatDataReportSettings : Entity
{
[XmlIgnore]
public override string FriendlyName
{
get { return "Нас... |
namespace Sentry.EntityFramework.Tests;
public class DbInterceptionIntegrationTests
{
private readonly IDiagnosticLogger _logger;
public DbInterceptionIntegrationTests(ITestOutputHelper output)
{
_logger = Substitute.ForPartsOf<TestOutputDiagnosticLogger>(output, SentryLevel.Debug);
}
[Fa... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MatchMaking.Data;
using MatchMaking.Models;
using Microsoft.AspNetCore.Mvc;
namespace MatchMaking.Controllers
{
[Route("ginf/[controller]")]
[ApiController]
public class GameInfoController : ControllerBase
{
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EasyDev.SQMS;
using SQMS.Services;
using EasyDev.Util;
using System.Data;
namespace SQMS.Application.Views.Quality
{
public partial class TimeSchemaView :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace ASSISTME.SNIPS
{
public class ARGB
{
public const byte B = 0;
public const byte G = 1;
public const byte R = 2;
public const byte A = 3;
private Color ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yoonseop_Lee_Sec003_Lab01_Exercise01
{
class Program
{
static void Main(string[] args)
{
Func<string, string, string, string[]> min = (string string1, strin... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using MyForum.Domain;
using MyForum.Domain.Enums;
using MyForum.Infr... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace birthdaybumps
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.MRP.MD
{
[Serializable]
public partial class Island : EntityBase, IAuditable
{
#region O/R Mapping Properties
/// <summary>
/// µºÇøcode
/// </summary>
[Required(AllowEmptyStrings... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Cryptography;
namespace ShengUI.Helper.payCls
{
public class NativeCs
{
#region 获取二维码字符串
/// <summary>
/// 生成二维码字符串
/// </summary>
/// <param name="p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PlayerManager : MonoBehaviour
{
public static bool gameOver;
public static int socialLife;
public static int academicLife;
public static int distance;
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace ToDoList
{
class Task
{
// Declaration of private variables
private string taskName;
private string description;
private DateTime dateComplete;... |
namespace SimpleMVC.App.Views.Users
{
using System.Collections.Generic;
using System.Text;
using MVC.Interfaces;
using MVC.Interfaces.Generic;
using ViewModels;
// Changed allusernamesviewmodel => List<userprofileviewmodel>
public class All : IRenderable<List<UserProfileViewModel>>
{
... |
using System;
using Layout;
namespace RectangleGame.Gamestate
{
class TimeState : LevelState
{
/******** Functions ********/
public TimeState(GameStateManager gameStateManager)
: base(gameStateManager) { }
/// <summary>
/// Executed every time the gamestate is activated.
/// </summary>
public over... |
namespace Xunmei.Docs
{
public abstract class DocsDomainTestBase : DocsTestBase<DocsDomainTestModule>
{
}
}
|
namespace Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ChargeGroupPersonCalculation : DbMigration
{
public override void Up()
{
DropForeignKey("Web.SaleInvoiceReturnHeaders", "CurrencyId", "Web.Currencies");
... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace App.Data.Models
{
[Table("message")]
public class Message
{
[Key]
[Column("id")]
public int MessageId { get; set; }
[Column("author_id")]
[ForeignKey(n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels
{
public class LocationMergeViewModel : LocationViewModel
{
public int ToDeleteLocationId { get; set; }
public int NumEvents { get; set; }
... |
using UnityEngine;
using System.Collections;
public class Chicken : MonoBehaviour
{
[SerializeField]
internal SpriteSheet mSpriteSheet;
internal Vector2 mTarget;
Vector2 mVelocity;
Vector2 mPosition;
float mDistance = 0.0f;
bool mDropped;
Collision mCollision;
public void Start... |
using System.ComponentModel.DataAnnotations;
using TaskMaster.Models;
namespace TaskMaster.Validation
{
/// <summary>
/// Validation attribute. Checks project completion date not early then beginning date,
/// </summary>
public class CompletionDateNotEarlyThenBeggingDateAttribute : ValidationAttribute... |
using System;
using MonoTouch.UIKit;
using MonoTouch.AdSupport;
using MonoTouch.CoreTelephony;
using MonoTouch.Foundation;
using Constants = MonoTouch.Constants;
using System.Runtime.InteropServices;
namespace Countly
{
/// <summary>
/// This Partial class is compiled into the partial Countly.Core.DeviceInfo when re... |
namespace MockDelegates
{
public class SimpleFactoryInterfaceCalculator
{
private readonly IAdder _adder;
public SimpleFactoryInterfaceCalculator(CreateInstance<IAdder> createAdder)
{
_adder = createAdder("simple");
}
public int Add(int a, int b)
{
... |
namespace Profiling2.Domain.DTO
{
public class PersonSourceDTO
{
public int Id { get; set; }
public int SourceId { get; set; }
public string SourceName { get; set; }
public bool SourceIsRestricted { get; set; }
public int PersonId { get; set; }
public string Per... |
using MonoDevelop.Projects;
using System;
using System.IO;
namespace MonoDevelop.NUnit
{
public class SolutionFolderTestGroup : UnitTestGroup
{
private SolutionFolder combine;
public SolutionFolderTestGroup(SolutionFolder c) : base(c.get_Name(), c)
{
string storeId = c.get_ItemId();
string resultsPath = S... |
using Manor.ConnectionStrings.Configurators;
using Manor.ConnectionStrings.DbTypes;
using Manor.DbModel.Infrastructure.Profiling;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Manor
{
[TestClass]
public class AssemblyInit
{
[AssemblyInitialize]
public static void... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class MapGeneration : MonoBehaviour
{
public TileBase Arbre1;
public TileBase Arbre2;
public TileBase Arbre3;
public TileBase Roche1;
public TileBase Roche2;
public TileBase Roche3... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pooling
{
public class PoolObject : MonoBehaviour, IRecycle
{
GameObject prefab;
public GameObject PrefabType
{
get
{
return prefab;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace Quiz
{
public partial class Welcome : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
namespace Core.Models
{
public class VipTicketModel
{
public int Id { get; set; }
public string Date { get; set; }
public string ImgUrl { get; set; }
public string AltTag { get; set; }
public string Html... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KartObjects;
using KartLib;
namespace KartSystem
{
public partial class RestSaleReportView : BasePivotReportView,IRestSaleRe... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Client.WPF.Framework
{
public class ValidationViewModel : BaseViewModel, INotifyDataErrorInfo
{
private readonly Dictionary<string, List<string>> errors = new Dictionary<string, List<string>>();
public event... |
using System;
using System.Management;
namespace leihao.PCPC.Core
{
class WmiApi
{
static void main(string[] args)
{
/*获取进程信息*/
//创建Win32_Process WMI类
var mgrcls = new ManagementClass("Win32_Process");
//枚举所有实例
int numProc = 0;
... |
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 SQLInjection
{
public partial class WebForm1 : System.Web.UI.Page
{
protected... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Frank.Scheduler.Data.Entities.EntityConfigurations
{
public class ScheduledTaskEntityConfiguration : IEntityTypeConfiguration<ScheduledTask>
{
public void Configure(EntityTypeBuilder<ScheduledTask> bu... |
using AutoMapper;
using HowToWikiAPI.Dtos;
using HowToWikiAPI.Models;
namespace HowToWikiAPI.Profiles
{
public class HowToProfile : Profile
{
public HowToProfile()
{
// HowToItem to HowToRead item
CreateMap<HowToItem, HowToReadDto>();
//HowToCreate to HowToItem
CreateMap<HowToC... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.ORD;
using com.Sconit.Entity.SYS;
namespace com.Sconit.Entity.INV
{
[Serializable]
public partial class LocationTransaction : EntityBase
{
#region O/R Mapping Properties
[Display(Name = "LocationTransaction_... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using UnityEngine;
namespace TG.AssetBundleRM
{
public static class Utility
{
#region Localization Log
public enum LogLevel
{
... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ForTest.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.C... |
namespace Yalla_Notlob_Akl.Models
{
public class Item : BaseModel
{
public string name{ get; set; }
public double? price{ get; set; }
public Item(): base("Item")
{
this.name = "";
}
public Item(string name, double? price) : base("Item")
... |
using Fingo.Auth.Domain.Policies.ConfigurationClasses;
namespace Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces
{
public interface IGetUserDataView
{
UserDateView Invoke(int projectId , int userId);
}
} |
using Newtonsoft.Json;
namespace Claudia.SoundCloud.EndPoints.Users
{
/// <summary>
///
/// </summary>
public class SCLoginUser
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("kind")]
public string Kind { get; set; }
[JsonProperty("permalink")]
public string Permalink { get; set;... |
namespace CurvedVRKeyboard {
public class ErrorReporter {
private static ErrorReporter instance;
//----Comunication-----
private bool isErrorPresent = false;
private bool isWarningPresent = false;
private string currentProblemMessage = "";
public enum Status {
... |
namespace EFVP_Example
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Specification_Type
{
[System.Diagnostics.CodeAnalysis.Supp... |
using System;
namespace Euler_Logic.Problems {
public class Problem277 : ProblemBase {
/*
Starting with number 2, continue to check each number with an offset of 1 until you can
match the first sequence digit. Once you do that, multiply your offset by 3 until you
find ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UITests.Tests
{
[TestClass]
pub... |
using ParrisConnection.DataLayer.Dtos;
namespace ParrisConnection.ServiceLayer.Data
{
public class PhoneTypeData : IPhoneType
{
public int Id { get; set; }
public string Type { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
namespace GbufferUtil {
public class GrabGBuffer : MonoBehaviour
{
static GrabGBuffer Instance;
[SerializeField]
Shader gbufferCopyShader;
Material gbuffe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerTurret : MonoBehaviour
{
public PlayerMovement playerMovement;
public Projectile projectile;
public float reloadTime = 1.0f;
public float projectileVelocity = 10.0f;
public Transform barrel;
pri... |
using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Configuration;
using System.Collections.Generic;
namespace Enyim.Caching.Configuration
{
public static class ConfigurationHelper
{
internal static bool TryGetAndRemove(Dictionary<string, string> dict, string name, out string ... |
using System.Data.Entity;
namespace ReactMusicStore.Core.Data.Context.Utilities.Hooks
{
public interface IHook
{
void HookObject(object entity, HookEntityMetadata metadata);
/// <summary>
/// Indicates whether the hook instance can be processed for the given <see cref="EntityState"/>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using CEMAPI.BAL;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using CEMAPI.Models;
using static CEMAPI.BAL.InvoiceBAL;
using System.Net.Mail;
using System.Reflection;
using CEMAPI.C... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace MuggleTranslator.Common
{
public class ImageProcess
{
public static str... |
using Spring.Context;
using Spring.Context.Support;
using Spring.FluentContext.BuildingStages.Aliases;
using Spring.FluentContext.BuildingStages.Objects;
using Spring.FluentContext.BuildingStages.ProxyFactories;
using Spring.FluentContext.Definitions;
using Spring.FluentContext.Impl;
using Spring.FluentContext.Utils;
u... |
using Crypteron;
using System.Collections.Generic;
namespace eMAM.Data.Models
{
public class Sender
{
public int Id { get; set; }
[Secure]
public string SenderEmail { get; set; }
[Secure]
public string SenderName { get; set; }
public ICollection<Email> Emails... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace DuckingAround.Items.Accessories
{
public class InfiniteFlightAccessory : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Fedora of Flight");
Tooltip.SetDefault("Allows infinite flight.");
}
public overr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Forum.Models
{
class Message
{
public User user { get; set;}
public string text { get; set; }
public DateTime dateTime { get; set; }
private long id;
public long Id
... |
///////////////////////////////////
/// Create and edit by QerO
/// 09.2018
/// lidan-357@mail.ru
///////////////////////////////////
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Missions
{
public class PlayerPickUp : MonoBehaviour
{
void OnTriggerEnter(Co... |
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.Ports;
using System.Threading;
using System.Management;
using System.Diagnostics;
namesp... |
using UIFrame;
//*************************************************************************
//@header HOGProgressBar
//@abstract Initial frame of ProgressBar.
//@discussion Depend on BaseUIForm.
//@author Felix Zhang
//@copyright Copyright (c) 2017-2018 FFTAI Co.,Ltd.All rights reserved.
//@versio... |
using System;
using System.Linq;
namespace _01_Take_Two
{
public class _01_Take_Two
{
public static void Main()
{
var numbers = Console.ReadLine().Split().Select(int.Parse).ToArray();
var result = numbers.Distinct().Where(x => x >= 10 && x <= 20).Take(2).ToArray();
... |
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TpNoteDesignPatternsCSharp.DAL.Contexts;
using TpNoteDesignPatternsCSharp.DAL.Model;
using TpNoteDesignPatternsCSharp.DAL.Query;
namespace TpNoteDesignPatternsCSharp.DAL.Repositories
{
pub... |
using System.ComponentModel;
namespace NWCBatchExporter.ViewModels
{
class MainViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
}
}
|
namespace Dixin.Reflection
{
using System;
using System.Linq.Expressions;
using System.Reflection;
public static class ReflectionHelper
{
public static MethodInfo MethodOf<T>
(Expression<Func<T>> methodCall) => (methodCall.Body as MethodCallExpression)?.Method;
public s... |
using Entities.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace Entities.Configuration
{
class PersonConfiguration : IEntityTypeConfiguration<Person>
{
public void Configure(... |
namespace ForumSystem.Common
{
public static class GlobalConstants
{
public const string SystemName = "Fortellit";
public const string AdministratorRoleName = "Administrator";
public const string AdministratorAreaName = "Administration";
public const string InvalidMessageKey =... |
using System;
using System.Collections.Generic;
using Ex01 = SOLIDPrinciples.CouplingProblem.Example01;
using Xunit;
namespace SOLIDPrinciplesTest.CouplingProblem.Example01
{
public class GoodExample
{
[Fact]
public void Test01()
{
Ex01.Good.GeradorDeNotaFiscal geradorDeNota ... |
using System;
namespace q_stack
{
class Program
{
static void Main(string[] args)
{
q.qq();
Console.WriteLine();
stack.abstack();
Console.ReadKey();
}
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Profiling2.Domain.Contracts.Tasks.Sources;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Sources;
using Profiling2.Web.Mvc.Areas.Sources.Controllers.ViewModels;
using Profiling2.Web.Mvc.Controllers;
using SharpArch.NHibernate.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominio;
namespace Repositorios
{
public class EmpresaRepository: Repository<EmpresaRepository, Empresa>
{
public void CrearEmpresa()
{
if (All().Count == 0)
{
... |
using CarManageSystem.helper;
using CarManageSystem.Model;
using Newtonsoft.Json.Linq;
using ServiceStack.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler
{
/// <summary>
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
/// <summary>
/// You can use this class to update stats when events fire
/// And to access global values like
/// the variable vari... |
using SGCFT.Dominio.Entidades;
using System.Data.Entity.ModelConfiguration;
namespace SGCFT.Dados.Mapeamentos
{
public class TreinamentoMap : EntityTypeConfiguration<Treinamento>
{
public TreinamentoMap()
{
this.ToTable("Treinamento");
this.HasKey(x => x.Id);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.