text stringlengths 13 6.01M |
|---|
using System.Linq;
using System.Text;
using Vintagestory.API.Client;
using Vintagestory.API.Common;
using Vintagestory.API.Config;
using Vintagestory.GameContent;
namespace OreCrystals
{
class CrystalPlanter: Block
{
public override void OnCreatedByCrafting(ItemSlot[] allInputslots, ItemSlot outputSlo... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
namespace ET.Interface
{
//模块头元数据 延迟加载时只读取模块头
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class)]
public class ModuleHeaderAttrib... |
using JeopardySimulator.Ui.ViewModels;
using Xunit;
namespace JeopardySimulator.Tests
{
public class CommandResultTests
{
[Fact]
public void TestActivateWhenDisabledThenDonotActivate()
{
//Assign
CommandResultViewModel viewModel = new CommandResultViewModel("aa", f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChessZu : ChessEntity
{
public override void ShowChessPath()
{
base.ShowChessPath();
int index_x = (int)chessObj.chess_index_x;
int index_z = (int)chessObj.chess_index_z;
// 自己的卒
if (chessObj.chess_owner_player... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace ILoggerSamples
{
... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using JourniAPI.Models;
using JourniAPI.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace JourniAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace ClipModels
{
public class CreditsTraf : TrafficList
{
//public int ID { get; set; }
CategoryDBContext db = new CategoryDBContext();
public int CreditsRoleId { get; set; }
[DisplayName(... |
using System.Collections.Generic;
using SharpArch.Domain.DomainModel;
namespace Profiling2.Domain.Prf.Sources
{
/// <summary>
/// This entity represents an organisation or section within the peacekeeping mission which may have contributed
/// sources to the database. The attribute 'SourcePathPrefix' rep... |
using System;
namespace JakePerry.Reflection
{
[Flags]
public enum MemberFlags
{
None = 0,
Field = 1 << 0,
Property = 1 << 1,
Method = 1 << 2
}
}
|
using HBPonto.Database.Entities;
using Microsoft.EntityFrameworkCore;
using static HBPonto.Database.Maps.UserMap;
namespace HBPonto.Database.Contexts
{
public class UserContext: DbContext
{
public UserContext(DbContextOptions<UserContext> options) : base(options) { }
public virtual DbSet<User... |
using Gdk;
using System.Collections.Generic;
using test1.Draw.Object;
using test1.Common;
namespace test1.Draw.Canvas
{
public class DefaultCanvas : ICanvas
{
Window _drawWindow;
readonly List<ObjectBase> _drawObjects;
public DefaultCanvas(Window window)
{
_drawObjects = new List<ObjectBase>();
... |
using System;
using Framework.Core.Common;
namespace Tests.Data.Van.Input
{
internal class CutTurfData
{
static Random ran = new Random();
public string Activistcode = "Constituency: Charter School Parnt(Public)";
public int Point1x = 500; //249;
public int Point1y ... |
using UnityEngine;
using UnityEngine.UI;
using SimpleJSON;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class Game : MonoBehaviour {
[Header("Droprate")]
public int[] ItemRate;
public string[] ItemQuantity;
public string[] ItemType;
public string[] ItemName;
public strin... |
using Backend.Model.Enums;
using Model.Manager;
using System.ComponentModel.DataAnnotations.Schema;
namespace Backend.Model.Manager
{
public class BaseRenovation
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public int RoomId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Core.Services;
namespace Properties.Tests.UnitTests.Services
{
[TestFixture]
// ReSharper disable once Incons... |
using Cs_Gerencial.Aplicacao.ServicosApp;
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Servicos;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Cs_Gerecial.Testes.AppTestes
{
public... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Collections;
namespace Microsoft.WindowsMobile.SharedSource.Bluetooth
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
struct WSAQUERYSET
{
public Int32 dwSize; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Globalization;
using System.Threading;
using System.Runtime.InteropServices;
using DevExpress.XtraTab;
... |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using Path = System.IO.Path;
namespace NotEnoughEncodes
{
public partial ... |
using System;
using MonoTouch.UIKit;
using System.Drawing;
namespace iPadPos
{
public static class ViewExtensions
{
public static void DismissKeyboard(this UIView view)
{
var tv = new UITextField (new RectangleF(-100,-100,1,1));
view.AddSubview (tv);
tv.BecomeFirstResponder ();
tv.ResignFirstRespond... |
using MatrixExtension;
using System;
using System.Diagnostics;
namespace Ui_Multiply
{
class Program
{
static void Main(string[] args)
{
int size = 500;
var a = MatrixAdding.MatrixAddExtension.GetRandomMatrix(size, size);
var b = MatrixAdding.MatrixAddExtens... |
using MathNet.Numerics.Distributions;
using System;
namespace Utilities
{
public class Probability
{
/// <summary> Provide the cumulative probability that a value will be equal to or lower than that supplied </summary>
public static decimal? CumulativeP(IUnivariateDistribution distribution, de... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mercadinho.Model
{
class CarrinhoProdutos
{
private int idCompra;
private Cliente cliente;
private List<Produto> Produtos;
p... |
namespace Funding.Services.Models.ProjectViewModels
{
using Funding.Data.Models;
using Funding.Services.Mapping;
public class MyProjects: IMapFrom<Project>
{
public int Id { get; set; }
public string Name { get; set; }
public string ImageUrl { get; set; }
... |
namespace SmartyStreets.USAutocompleteProApi
{
using System.Runtime.Serialization;
/// <remarks>
/// See "https://smartystreets.com/docs/cloud/us-autocomplete-api#http-response"
/// </remarks>
/// >
[DataContract]
public class Suggestion
{
[DataMember(Name = "street_line")]
public string Street { get;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;
using UnityEngine.SceneManagement;
public class FixPanel : MonoBehaviour {
public GameObject errorPanel;
public GameObject refreshButton;
public GameObject cameraButton;
private string s = "";
private bo... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using RankingSystem.Data;
using RankingSystem.Data.Models;
using RankingSystem.Web.Models;
using System;
using System.Data.Entity;
using System.Threading.Tasks;
namespace RankingSystem.Web.Controllers
{
public class AccountController : Controller
... |
/*
* Creado en SharpDevelop
* Autor: IsaRoGaMX
* Fecha: 16/09/2015
* Hora: 01:37 a.m.
*
*/
using System;
using System.Collections.Generic;
namespace IsaRoGaMX.CFDI
{
public abstract class AbstractInformacionAduanera : baseObject {
public abstract string Numero
{ get; set; }
publ... |
namespace DmManager.Models
{
public class Player
{
public int Id { get; set; }
public string Name { get; set; }
public int CurrentInitiative { get; set; } = 0;
public int GameId { get; set; }
public Game Game { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Presentation.QLBSX_BUS_WebService;
/**
* Tên Đề Tài; Phần Mền Quản Lý Biển Số Xe và Vi Phạm Giao Thông(VLNM (Vehicle l... |
using System.Windows;
namespace Twitter_Killer
{
public partial class App
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
// initializing client view with data context
var clientView = new View {DataContext = new ViewModel()};
... |
using Core.Entities.Concrete;
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class UserValidator : AbstractValidator<User>
{
public UserValidator()
{
RuleFor(x => x.Email).NotEmpty().EmailAddress();
RuleFor... |
namespace P08MilitaryElite.Interfaces
{
using System.Collections.Generic;
public interface IEngineer : ISpecialisedSoldier
{
IEnumerable<IPart> Repairs { get; }
}
} |
using LiveDemo_MVC.Controllers;
using LiveDemo_MVC.DataServices.Contracts;
using LiveDemo_MVC.DataServices.Models;
using LiveDemo_MVC.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using TestStack.FluentMVCTesting;
namespace LiveDemo_MVC.UnitTests.LiveDemo_MVC.Controllers.BookCon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WireGrabObject : GrabObject {
[HideInInspector]
public Transform grabber = null;
private Rigidbody rb;
private List<Jackable> plug_list;
[HideInInspector]
public Jackable currently_plugged_in_to;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TO;
using DAL;
using System.ComponentModel;
using System.Transactions;
using BO.Constates;
namespace BO
{
[DataObject]
public class CasoDeTesteBO
{
public static CasoDeTesteTO Obter(int pId, int pIdSubModul... |
namespace MySurveys.Web.Areas.Surveys.ViewModels.Filling
{
using System.Web.Mvc;
using AutoMapper;
using Models;
using MvcTemplate.Web.Infrastructure.Mapping;
public class AnswerViewModel : IMapFrom<Answer>, IHaveCustomMappings
{
[HiddenInput(DisplayValue = false)]
public int I... |
using Caliburn.Micro;
using Caliburn.Micro.Xamarin.Forms;
using RRExpress.Api.V1.Methods;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using RRExpress.Express.ViewModels;
using RRExpress.Service.Entity;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Windows.Input;
... |
using Microsoft.Xna.Framework;
using ProjectMini.src.engine;
using ProjectSLN.darkcomsoft.src;
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectMini.src.entitys
{
public class Entity : GameObject
{
public void Start()
{
v_activated = true;
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Islands;
using FluentAssertions;
namespace Islands.Tests
{
[TestClass]
public class IslandDetectorTests
{
public IslandDetector _sut;
[TestInitialize]
public void Initialize()
{
_sut = new ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DropShadow : MonoBehaviour {
public Vector3 offset = new Vector3(.1f, -.1f);
public GameObject shadow;
public Material material;
public bool isDynamic;
// Use this for initialization
void Start ... |
using System;
using Newtonsoft.Json;
namespace MoonSliver.Code
{
[Serializable]
public class Setting
{
public Setting()
{
FliterOn = true;
SuperMode = false;
WithdrawAll = true;
WithdrawDelay = true;
ShutUp = true;
Shu... |
using Zesty.Core.Entities;
namespace Zesty.Core.Api.System
{
public class Token : ApiHandlerBase
{
public override ApiHandlerOutput Process(ApiInputHandler input)
{
TokenRequest request = GetEntity<TokenRequest>(input);
return GetOutput(new TokenResponse()
... |
using System;
using Newtonsoft.Json;
using Pathoschild.SlackArchiveSearch.Framework;
namespace Pathoschild.SlackArchiveSearch.Models
{
/// <summary>Basic information about a Slack channel message.</summary>
public class Message
{
/****
** Fields from archive
****/
/// <summ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RoadSimLib
{
public class Instance : IInstance
{
public IMap Map
{
get;
set;
}
public IDeck Deck
{
get;
set;
}
public Instance()
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FadeOut : MonoBehaviour
{
float time = 0;
float fades = 1;
public UnityEngine.UI.Image fade;
void Update()
{
time += Time.deltaTime;
if (fades > 0 && time >= 0.1f)
{
fad... |
using FBS.Domain.Booking.Aggregates;
using FBS.Domain.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace FBS.Domain.Booking.Commands
{
public class ReleaseFlightCommand : ICommand
{
public Guid Id { get; set; }
public int Capacity { get; set; }
public ... |
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Threading.Tasks;
namespace Discord_Bot
{
public class FunSample : ModuleBase<SocketCommandContext>
{
[Command("hello")] // Command name.
[Summary("Say hello to the bot.")] // Command summary.
public as... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Interview_WebAPI.Models
{
public class Usuario
{
// cliente.detalhes.cliente_id
public int id { get; set; }
// cliente.detalhes.cliente_nome
public string nome { get; set; }
... |
using Xunit;
using ZKCloud.Datas.Sql.Queries.Builders.Conditions;
namespace ZKCloud.Test.Datas.Sql.Conditions
{
/// <summary>
/// Sql相等查询条件测试
/// </summary>
public class EqualConditionTest
{
/// <summary>
/// 获取条件
/// </summary>
[Fact]
public void Te... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Cdiscount.Alm.Sonar.Api.Wrapper.Core.Measures.Component.Parameters
{
public enum MetricKeys
{
coverage,
ncloc,
comment_lines_density,
complexity,
bugs,
vulnerabilities,
c... |
using System;
using System.Runtime.CompilerServices;
using iSukces.Code.Interfaces;
namespace iSukces.Code.Tests.EqualityGenerator
{
/// <summary>
/// Identyfikuje unikalne połączenie (dwóch jeśli instalacja jest poprawna) drutów
/// </summary>
[Auto.EqualityGeneratorAttribute(nameof(IsEmpty), GetH... |
namespace P08MilitaryElite.Interfaces.Factories
{
public interface IMissionFactory
{
IMission CreateMission(string codeName, string state);
}
} |
using Microsoft.Xna.Framework;
using ProjectBueno.Engine;
using ProjectBueno.Game.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectBueno.Game.Spells
{
class ProjectileBall : Projectile
{
public ProjectileBall(Spell spell... |
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;
namespace BaseDeDatosClin... |
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Marvel.Api
{
public class PersonagemService
{
private readonly IHttpClient client;
private readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LaunchpadMonitor
{
class DiffingLaunchpadRenderer : ILaunchpad, IDisposable
{
Launchpad.Color[,] grid = new Launchpad.Color[8, 8];
Launchpad.Color[,] oldGrid = new Launchpad.Color[8, 8];
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace FillInfo
{
class VolumeFileReader
{
int m_Slices = 0;
private List<string> Parse(IEnumerable<string> lines)
{
if (lines.Count() % m_Slices != 0)
... |
using System;
namespace DataService_BpmOnline_CRUD
{
class TryParseProperty
{
public static string TryParseStringProperty(string propertyName, string entityName)
{
Console.WriteLine(String.Format(Localize.Input, propertyName, entityName, String.Format(Localize.TypeOnly, Localize.St... |
using Fleck;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using UNO.Model;
namespace UNO
{
class Program
{
const int HttpPort = 1337;
const int WebSocket... |
using UnityEngine;
using System.Collections.Generic;
using System;
public abstract class BasicMove : Move
{
protected List<Constraint> defaultConstraints = DefaultConstraints.CloneDefaultSet();
protected List<Constraint> manualAddedConstraints = new List<Constraint> ();
protected abstract List<Vector3> CalcEndPoi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GodMorgon.StateMachine
{
public abstract class State : IGameState
{
public virtual void OnStartState() { }
public void OnEndState() { }
}
} |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Prime31
{
public class ReplayKitEventListener : MonoBehaviour
{
#if UNITY_IPHONE
void OnEnable()
{
// Listen to all events for illustration purposes
ReplayKitManager.recordingFailedToStartEvent += recor... |
using System;
using System.Windows.Forms;
namespace HTBWorldView
{
public partial class DebugWindow
{
public DebugWindow()
{
InitializeComponent();
}
static DebugWindow Instance__instance = new DebugWindow();
public static DebugWindow Instance
{
... |
using System;
using System.Linq;
class Program
{
static void Main()
{
int select = -1;
var types = AppDomain.CurrentDomain.GetAssemblies()
.SelectMany(s => s.GetTypes())
.Where(p => typeof(IDesingPattern).IsAssignableFrom(p)
&& p != typeof(IDesingPattern)).ToList();
start:
for (int i = 0; i < ty... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using MvvmCross.Platform.Converters;
using ResidentAppC... |
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 mr.bBall_Lib;
public partial class Master : System.Web.UI.MasterPage
{
private Uporabnik uporabnik;
protected string ... |
using gView.Framework.Data;
using gView.Framework.UI;
using System;
using System.Windows.Forms;
namespace gView.Plugins.DbTools.Relates
{
public partial class TableRelationsDialog : Form
{
private IFeatureLayer _layer;
private IMapDocument _mapDocument;
public TableRelationsDialog(IMa... |
namespace qbq.EPCIS.Repository.Custom.Entities
{
class EpcisEventExtenstionType
{
//-----------------------------------------------------------------
//-- Tabelle zum Zwischenspeichern der Extension-Typen wie
//-----------------------------------------------------------------
/... |
using GesCMS.Core.Common;
namespace GesCMS.Core.Entities
{
public class Widget : BaseEntity
{
public string Title { get; set; }
public int? ParentID { get; set; }
}
}
|
using System;
namespace MinistryPlatform.Translation.Repositories.Interfaces
{
public interface IGroupLookupRepository
{
int GetGroupId(DateTime birthDate, int? gradeGroupAttributeId);
int GetGradeAttributeId(int gradeGroupId);
}
}
|
using EasyWebApp.Data.Entities.AuthenticationEnties;
using EasyWebApp.Data.Entities.SystemEntities;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace EasyWebApp.Data.DbContext
{
public class CustomerDbContext : IdentityDbContext<ApplicationUser>
{
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using Chess.Data.Entities;
using Microsoft.AspNet.Identity.EntityFramework;
namespace Chess.Data
{
public class ChessContext : DbContext, IUnitOfWork
{
... |
using Alabo.Domains.Entities;
using Alabo.UI.Design.AutoReports;
using Alabo.UI.Design.AutoReports.Dtos;
using System.Collections.Generic;
namespace Alabo.Domains.Services.Report {
public interface IReportStore<TEntity, in TKey> where TEntity : class, IAggregateRoot<TEntity, TKey> {
/// <summary>
... |
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Autofac.Extras.DynamicProxy;
using Autofac.Integration.WebApi;
using KMS.Twelve.Controllers;
using KMS.Twelve.Message;
using KMS.Twelve.Test;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Control... |
using PluginBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReplaceDateTime
{
public class Plugn : IDev
{
public string PluginName => "时间替换";
public string PluginDesc => "将参数插件替换为当前时间";
public string ... |
using StardewValley.TerrainFeatures;
namespace StardewValleyMP.States
{
public class HoeDirtState : State
{
public bool crop;
public int cropPhase = 0, cropDayPhase = 0;
public bool cropGrown = false;
public int state, fertilizer;
public HoeDirtState(HoeDirt dirt)
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Concurrent;
using TPLFiber;
using System.Threading;
using System.Linq;
using System.Threading.Tasks;
namespace Tests
{
[TestClass]
public class FiberTests
{
[TestMethod]
public void WriteExecutionOrd... |
using System;
namespace csharp.Items
{
public class Conjured : BaseItem
{
protected override void SetQuality()
{
Quality = Math.Max(Quality - 2, 0);
if (SellIn < 0)
{
Quality = Math.Max(Quality - 2, 0);
}
}
}
} |
using Confluent.Kafka;
using Core.IServices.IOrderServices;
using Kafka1.ViewModels;
using KafkaPubSub;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Shared.Constants;
using Shared.Enums;
using Shared.Response;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
us... |
/* Author: Mitchell Spryn (mitchell.spryn@gmail.com)
* There is no warranty with this code. I provide it with the intention of being interesting/helpful, but make no
* guarantees about its correctness or robustness.
* This code is free to use as you please, as long as this header comment is left in all of the fil... |
using System;
using System.Collections.Generic;
using System.Linq;
using FunctionalProgramming.Helpers;
using FunctionalProgramming.Monad;
namespace FunctionalProgramming.Basics
{
/// <summary>
/// A monoid is a semi-group for which an identity value can be defined such that MAppend MZero 'T -> 'T
/// </s... |
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
namespace Entity
{
[DataContract]
public partial class AutomationNewModuleRulesMediaInfo : IMappable
{
#region Co... |
using System;
using System.Linq;
using System.Net;
using System.Web.Http;
using AutoMapper;
using KnowledgePortal.Dtos;
using KnowledgePortal.Models;
using Microsoft.AspNet.Identity;
using PagedList;
using System.Configuration;
namespace KnowledgePortal.Api
{
public class PostsController : ApiController
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Foundry.Security;
namespace Foundry.Website.Extensions
{
public class UserFilterAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AttackAnimation : MonoBehaviour
{
public GameObject target;
public BaseAttack attack;
public Item item;
public float attackDur;
public float itemDur;
GameObject attackAnim;
GameObject addedEffectAn... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Effect : ReusableObject
{
private float m_time = 1f;
public float M_Time
{
get
{
return m_time;
}
set
{
m_time = value;
}
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
using Unity.Entities;
[GenerateAuthoringComponent]
public struct LifeTimeData : IComponentData {
public bool infiniteLifetime;
public float lifeLeft;
public bool alive;
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Timer : MonoBehaviour {
[SerializeField]
private Text timerText;
private float time;
private int minutes;
private int seconds;
private int fraction;
public bool Run { get; set; }
// Use this for initia... |
using System;
using UnityEngine;
public class MyCamera : MonoBehaviour
{
GameResource.HumanNature _nature;
float _move_Speed;
float _y;
Renderer _end_Point;
SkinnedMeshRenderer _human_Render;
bool _success_Bool;
public static bool GameEnd { get; set; }
public static float _jump_speed... |
using System;
using System.Runtime.Serialization;
using System.Xml;
namespace TRPO_labe_6.Models
{
[DataContract]
public class Product : IEquatable<Product>
{
public Product()
{
}
public override string ToString()
{
return $"Product - {name... |
using FeriaVirtual.Domain.SeedWork;
using Oracle.ManagedDataAccess.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FeriaVirtual.Infrastructure.Persistence.OracleContext.Queries
{
class StoredProcedureQuery
: QueryParameter
{
private StoredProcedureQuery(Oracle... |
using DAL.Models;
using DTO.Convertors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BLL
{
public class MenuLogic : IMenuLogic
{
private MenuCalculatorContext _context;
public MenuLogic(MenuCalculatorContext context)
{
_con... |
using System.Collections.Generic;
namespace DamianTourBackend.Application.UpdateProfile
{
public class UpdateProfileDTO
{
public string Email { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string PhoneNumber { get; set; }
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class DialogControl : MonoBehaviour
{
public Button next;
public Button skip;
public string LeftCharName;
public string RightCharName;
public GameObject DialogBox;
public GameObject LeftCharacter;
public GameObject ... |
using UnityEngine;
namespace Assets.Scripts.InventoryFolder
{
public abstract class GeneralItem
{
public Vector2 Position { get; set; }
public Texture Texture { get; set; }
public Rect Rect { get; set; }
protected const int ITEMSIZE = 48;
}
}
|
using System;
namespace Vlc.DotNet.Core
{
public sealed class VlcMediaPlayerBackwardEventArgs : EventArgs
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace SimpleTaskListSPA.Data
{
//класс, необходимый для подключения к базе данных
public class DataContext : DbContext
{
public DataContext(DbContextOptions<Dat... |
using System;
using System.Collections.Generic;
using JCI.ITC.COMP2.Common.SettingsEnrichers;
using JCI.ITC.Nuget.Logging.SettingsEnrichers;
using Serilog.Events;
namespace Ajf.NugetWatcher.Settings
{
public class NugetWatcherSettings: INugetWatcherSettings
{
public NugetWatcherSettings()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.