text stringlengths 13 6.01M |
|---|
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 SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
namespace Kingdee.CAPP.Solidworks.RoutingPlugIn
{
public part... |
using Accounting.Model;
using Accounting.Util;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Wi... |
using BepInEx;
using RoR2;
namespace kdawg
{
[BepInDependency("com.bepis.r2api")]
//Change these
[BepInPlugin("com.kdawgMod.kdawgFirst", "First Mod Kdawg", "1.0.0")]
public class MyModName : BaseUnityPlugin
{
public void Awake()
{
Chat.AddMessage("Loaded my Mod!!!!!!!!... |
using System;
using MonoTouch.UIKit;
using System.Collections.Generic;
using System.Linq;
namespace iPadPos
{
public class CustomerSearchViewController : UIViewController
{
UISearchBar searchBar;
UITableView tableView;
SearchSource source;
public Action<Customer> CustomerPicked { get; set; }
public UIPopo... |
using System;
//定义一个长方形的类
class Cub3 {
private double L = 0;
private double W = 0;
private double H = 0;
private double S = 0;
private double V = 0;
public Cub3 (double l, double w, double h) {
L = l;
W = w;
H = h;
}
//定义一个长方形的面积计算方法
public void Cub3S () {
... |
using Abp.AutoMapper;
using DgKMS.Cube.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace DgKMS.Cube
{
[AutoMap(typeof(Party))]
public class PartyEditDto
{
/// <summary>
/// Id
/// </summary>
public long Id { get; set; }
/// <summary>
... |
using System;
using System.Globalization;
namespace HealthVaultMobileSample.UWP.Helpers
{
public static class WeightHelper
{
private const double kgToLbsFactor = 2.20462;
/// <summary>
/// Converts from kilograms to pounds
/// </summary>
/// <param name="kg"></param>
... |
using System;
using System.Collections.Generic;
namespace POSServices.Models
{
public partial class CurrencyDenomination
{
public int Id { get; set; }
public int CurrencyId { get; set; }
public decimal Nominal { get; set; }
public DateTime? ModifiedDatetime { get; set; }
}
... |
using Heroes.SDK.Classes.PseudoNativeClasses;
using Heroes.SDK.Definitions.Enums;
using Heroes.SDK.Definitions.Structures.World.Camera;
using Reloaded.Hooks.Definitions;
using Heroes.SDK.API;
using System.Numerics;
using Heroes.SDK.Definitions.Enums.Custom;
namespace sonicheroes.utils.freecam;
public class HeroesCon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using UI.Entidades;
using UI.Data;
namespace UI.Models
{
public class GestionEvento
{
public Response<List<Evento>> ListEventos()
{
Response<List<Evento>> result = new Response<L... |
using Dummy;
using Greet;
using Grpc.Core;
using Mongo;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace client
{
class Program
{
const string target = "127.0.0.1:50051";
static async Task Main(string[] args)
{
//await BasicDemo();
... |
using System;
using System.Globalization;
using Hangfire.Server;
using Microsoft.Extensions.Logging;
namespace Hangfire.Console.LogExtension
{
public static class HangfireLoggerExtensions
{
//------------------------------------------DEBUG------------------------------------------//
/// <summ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMana : MonoBehaviour
{
public float mana = 100f;
public float maxMana = 100f;
public void Start()
{
PlayerStatus.instance.PlayerMana = this;
}
public void UseMana(float manaAmount)
{
mana -= manaAmount;
// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alps.Web.Canteen.Model
{
public class TakeRecord:EntityBase
{
public Guid DinnerID { get; set; }
public DateTime TakeDate { get; set; }
public string CardNumber { get; set; }
public D... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CircleFollowing : MonoBehaviour
{
public float mass = 1.0f;
public float maxSpeed = 5.0f;
public Vector3 velocity;
public Vector3 force;
public int currentWaypoint;
public int lastWaypoint;
public List<Vector3> wayP... |
using UnityEngine;
using System.Collections;
public class Piece : MonoBehaviour {
protected int m_x;
protected int m_y;
protected int m_z;
protected float m_last_x;
protected float m_last_y;
protected float m_last_z;
protected GameObject m_display;
private bool m_firstUpdate = true;
private bool m_updatin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using System.IO;
using Elmah;
namespace CreamBell_DMS_WebApps
{
public partial class frmPurchaseInd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Patterns.Pattern.Ef6;
namespace Welic.Dominio.Models.Home.Map
{
public class StartMap : Entity
{
public int Id { get; set; }
public string Title { get; set; }... |
// RayUtils
// https://github.com/Bugfire
using UnityEngine;
using NUnit.Framework;
namespace RayStorm
{
public class RayStringTest
{
[Test]
public void RayStringTestSimplePasses ()
{
{
var ray = new RayString (1);
var std = "";
... |
using NUnit.Framework;
using RulesEngine.Conditions;
namespace RulesEngine.Tests.Conditions
{
[TestFixture]
public class GreaterThanOrEqualToConditionTests
{
[Test]
public void ShouldReturnTrueWhenActualIsGreaterThanThreshold()
{
var condition = new GreaterThanOrEqualTo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System.Collections.Generic;
using System.Linq;
namespace ProgFrog.Interface.Model
{
public class ProgrammingTask
{
public IIdentifier Identifier { get; set; }
public string Description { get; set; }
public ICollection<ParamsAndResults> ParamsAndResults { get; set; } = new List<P... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace clinic_project
{
class patient
{
private int idpatient;
private string fname_c;
private string lanem_c;
private string phone_c;
private string t... |
using System;
namespace Network.Layout.Finder
{
public class Class1
{
}
}
|
using System.Collections.Generic;
using Tomelt.Environment.Configuration;
using Tomelt.Recipes.Models;
namespace Tomelt.Setup.Services {
public interface ISetupService : IDependency {
ShellSettings Prime();
IEnumerable<Recipe> Recipes();
string Setup(SetupContext context);
}
} |
using System.Data.Entity;
using UniversitySystemModels;
namespace UniversitySystemData
{
public class UniversitySystemContextTpc : DbContext
{
public UniversitySystemContextTpc():base("name=UniversitySystemContext")
{
}
public IDbSet<Person> Persons { get; set; }
publ... |
using Boxofon.Web.Helpers;
using Boxofon.Web.Infrastructure;
using NLog;
using Nancy;
using Nancy.Security;
namespace Boxofon.Web.Modules
{
public abstract class WebsiteBaseModule : NancyModule
{
protected WebsiteBaseModule()
{
this.RequiresHttps();
After.AddItemToEndO... |
using AutoFixture;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Application.Commands.CreateCohort;
using SFA.DAS.ProviderCommitments.Web.Mappers.Cohort;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Mappers.Cohort
{
[TestFixture]
public class WhenIMapCreateCohor... |
using ClassesIerarchy.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassesIerarchy
{
public class Soldier:ISoldier
{
private int id;
private string firstName;
private string lastName;
public Soldier(int id,string firstName,string last... |
using Xunit;
using DinoDiner.Menu;
namespace MenuTest.Sides
{
public class FryceritopsTest
{
/// <summary>
/// has correct default price
/// </summary>
[Fact]
public void ShouldHaveCorrectDefaultPrice()
{
Fryceritops ft = new Fryceritops();
... |
using GlobalGoalGame.Models.Misc;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace GlobalGoalGame.Models
{
class SolarPanel : Energizable
{
public const int TEXTURE_WIDTH = 59;
public co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using System.Diagnostics;
using Xamarin.Forms.Xaml;
namespace MicroSync
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BuildPage : ContentPage
... |
namespace Zebble
{
using Foundation;
using System;
using System.Threading.Tasks;
using WebKit;
class IosWebView : WKWebView
{
WebView View;
NSUrlRequest Request;
public IosWebView(WebView view) : base(view.GetFrame(), new WKWebViewConfiguration())
{
... |
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 HotelManagement.Controller;
namespace HotelManagement.UserInterface
{
public partial class BangKeDatTiec : Form
... |
using Microsoft.AspNet.Identity.EntityFramework;
namespace RegistreFoncier.Models
{
public class AppUser : IdentityUser
{
public string FirstName { get; set; }
public string LastName { get; set; }
public override string Email { get; set; }
}
} |
using System.ComponentModel.DataAnnotations;
namespace Data.Models
{
public class Product
{
[Key]
public int Id { get; set; }
//public int CategoryId { get; set; }
//public int UserId { get; set; }
public string Name { get; set; }
//public string Details { get; ... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BAH.BOS.WebAPI.ServiceStub.Permission.Dto
{
/// <summary>
/// 用户组织输出对象。
/// </summary>
[JsonObject]
public class UserOrgInfoOutput : BaseDataOutput<long>
{
}//end class
}... |
using CsvHelper.Configuration.Attributes;
namespace BartlettGenesisLogFileParser
{
internal class BartlettLogRecordRaw
{
[Name("time")]
public string DateTime { get; set; }
[Name("event")]
public string Event { get; set; }
[Name("name")]
public st... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SbdProjekto.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Magazyny",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Docller.Core.Models;
namespace Docller.Core.Services
{
public interface IUserSubscriptionService
{
void UpdateUser(User user);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Grenade : MonoBehaviour
{
[SerializeField] private int damage = 80;
[SerializeField] private float throwForce = 40f;
[SerializeField] private float radius = 3f;
[SerializeField] private float expForce = 50f;
... |
namespace gView.Framework.Geometry
{
public class PointM3 : PointM2
{
private object _m3;
public PointM3(double x, double y, object m, object m2, object m3)
: base(x, y, m, m2)
{
_m3 = m3;
}
public PointM3(double x, double y, double z, object m, ... |
using System;
using System.Collections.Generic;
using System.Timers;
namespace UPDServer {
class Universe {
private Dictionary<String, Galaxy> galaxies = new Dictionary<String, Galaxy>();
Random rnd = new Random();
public Universe() {
char sec = 'a';
while (sec !=... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Addstylist : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventA... |
using gView.Framework.UI;
using System;
using System.Collections.Generic;
namespace gView.Plugins.Tools.RibbonTabs
{
[gView.Framework.system.RegisterPlugIn("3e9ebc6d-4f71-4ecc-aa4f-cbec2f5b507d", Obsolete = true)]
public class GraphicsRibbonTab : ICartoRibbonTab
{
private List<RibbonGroupBox> _gro... |
using UnityEngine;
using System.Collections;
public class SearchArea : MonoBehaviour {
EnemyCtrl enemyCtrl;
// Use this for initialization
void Start () {
enemyCtrl = transform.root.GetComponent<EnemyCtrl>();
}
void OnTriggerEnter(Collider other){
//Debug.Log("Trigger Enter");
}
void OnTrigge... |
using System.Collections.Generic;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.CommitmentsV2.Types;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
namespace SFA.DAS.ProviderC... |
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 System.IO;
using KartExchangeEngine.Monitors;
using KartObjects;
using KartLib;
using System.ServiceProcess;
using System.Net;
us... |
using System;
using System.Collections.Generic;
namespace MyGame
{
public interface IGameObject
{
/// <summary>
/// Originally planned to be implemented so there could be objects other than Entities that were Collissionable
/// Needs to factored out in next iteration
/// </summary>
/// <returns><c>true<... |
using System;
namespace gView.Framework.Web.Exceptions
{
public class HttpServiceException : Exception
{
public HttpServiceException(string message, Exception inner = null)
: base(message, inner)
{ }
}
}
|
namespace Entity
{
public partial class TrackL : ITrackLocation
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PROnline.Models;
using PROnline.Models.Guides;
using PROnline.Src;
using System.Data;
namespace PROnline.Controllers.Guides
{
public class AboutUsController : Controller
{
//
... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICU... |
using Puppeteer.Core;
using Puppeteer.Core.Action;
using UnityEngine;
using UnityEngine.AI;
public class AIFindSafetyAction : PuppeteerExecutableAction
{
public override void Enter(PuppeteerAgent _executingAgent)
{
base.Enter(_executingAgent);
if(_executingAgent.GetWorkingMemory().TryGetValue("LastInRangeExplo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.Models
{
public interface IDraftApprenticeshipViewModel
{
long ProviderId { get; }
string CohortReference { get; }
}
}
|
namespace Monopoly
{
using System;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
var args = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GETMOOTOOL
{
class DataClass
{
DBClass db = new DBClass();
/// <summary>
/// 检查电影表中是否有此影片
/// </summary>
/// <param name="st... |
public class Solution {
public IList<IList<int>> Generate(int numRows) {
var res = new List<IList<int>>();
if (numRows <= 0) return res;
for (int i=0; i<numRows; i++) {
List<int> levelRes = new List<int>(i+1);
levelRes.Add(1);
for (int j=1; j<i; j++) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using OpenIddict.Validation;
namespace OAuthUsingOpenIDDApplication.Controllers
{
[Route("api/[controller]")] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BnsDatTool.lib
{
public class TranslatableItem
{
public enum Fields { AutoId, Alias, Original, Translate, Untranslation }
public enum TranslateState { Translated, Part... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using gMediaTools.Extensions;
using gMediaTools.Factories;
using gMediaTools.Models.CurveFitting;
using gMediaTools.Services;
namespace gMediaTools.Services.CurveFitting
{
publ... |
namespace UseFul.ClientApi.Enums
{
public enum StatusEntradaDocumento
{
Novo = 1,
Liberado = 2,
ReprovadoFiscal = 5,
ImpostoConferido = 6,
FinanceiroConferido = 7,
ReprovadoFinanceiro = 8
}
} |
namespace Group_Numbers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Startup
{
public static void Main(string[] args)
{
Console.WriteLine(Execute());
}
private static string Execute()
{... |
using System;
namespace Crystal.Plot2D.Charts
{
/// <summary>
/// Edge identifier - indicates which side of cell isoline crosses.
/// </summary>
internal enum Edge
{
// todo check if everything is ok with None.
None = 0,
/// <summary>
/// Isoline crosses left boundary of cell (bit 0)
/... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace AssetTracking_EF.Migrations
{
public partial class Creatingnewdatabase : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "AssetType",
... |
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Threading;
using System.Net.Sockets;
using Newtonsoft.Json;
using System.Text;
namespace Projet2Cpi
{
public class OtherThread
{
private static TcpClient c;
private stat... |
using System.Collections.Generic;
namespace libairvidproto.model
{
public class MediaInfo : AirVidResource
{
public static readonly int ContentType = (int)EmContentType.MediaInfo;
public MediaInfo(AirVidServer server, NodeInfo parent)
: base(server, "", "", parent)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _031_BOOLEAN
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите стороны треугольника a, b, c");
int side_a = Convert.... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk.Responses {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk.responses']/class[@name='AcquiringResponse']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk/r... |
using NUnit.Framework;
using Puppeteer.Core.Sensor;
using System.Linq;
namespace Puppeteer.Tests
{
public class SensorTests
{
[SetUp]
public void Setup()
{
}
[TearDown]
public void Teardown()
{
}
[Test]
public void SensorListSortByOrder()
{
SensorList<string, object> sensorList = new Sens... |
using System.Collections.Generic;
using Assets.Scripts.Models.ResourceObjects.CraftingResources;
using Assets.Scripts.Models.Weapons;
namespace Assets.Scripts.Models.Ammo
{
public class RevolverBullet : Ammo
{
public RevolverBullet()
{
WeaponType = typeof(Revolver);
Loc... |
using System;
using System.Collections.Generic;
using System.Linq;
using Divar.Core.Domain.Advertisements.Enums;
using Divar.Core.Domain.Advertisements.Events;
using Divar.Core.Domain.Advertisements.ValueObjects;
using Divar.Framework.Domain.Entities;
using Divar.Framework.Domain.Events;
using Divar.Framework.Domain.E... |
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 KartLib.Views;
using KartObjects;
using KartLib;
namespace KartSystem
{
public partial class DocTypesView : KartUserControl,... |
using PaperPlane.API.ProtocolSchema.Base;
using PaperPlane.API.ProtocolSchema.Internal;
using PaperPlane.API.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PaperPlane.API.ProtocolSchema.DataTypes.Service
{
[ConstructorId(0xf35c6d01)]
internal class RPCResul... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Audio;
public class SoundSettingsScene : MonoBehaviour
{
private static readonly string MusicaPref = "MusicaPref";
private static readonly string FxPref = "FxPref";
private float musicafloat, fxfloat;
public AudioSource musicaAudio;
public... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using CommonLibrary;
namespace QuarcleOnlieProject
{
public class PersonalAccount
{
//PaMainBLL loginBll = new PaMainBLL();
////判断是否已登录
////如果... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Newtonsoft.Json;
using WebAPI.Services;
using WebAPI.Interfaces;
using WebAPI.Models;
using System.Threading.Tasks;
namespace WebAPI.Controllers
{
[RoutePrefix("api/addresses")]... |
using Confluent.Kafka;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
public bool selected;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void Select(bool value) {
selected = v... |
using Selenio.Core.Reporting;
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace Selenio.PlainTextReporter
{
public class Reporter : IReporter
{
private string debugFile;
bool descriptionAlreadySet = false;
private ReportConfiguration configuration;
... |
using UnityEngine;
using MainCharacter;
using System.Collections;
public class RainbowWeapon : MonoBehaviour {
public float damage;
public void Start() {
Color newColor = new Color(Random.Range(0.0f, 1.0f), Random.Range(0.0f, 1.0f), Random.Range(0.0f, 1.0f), 1.0f);
renderer.material.color = newColor;
}
voi... |
using Agora.EventStore.Eventing;
namespace Agora.EventStore.Examples.TrafficLights
{
public class TrafficLightAggregate : Aggregate<TrafficLightState>
{
public TrafficLightAggregate()
{
Handles<TrafficLightEvent>(OnTrafficLightEvent);
}
private void OnTrafficLightE... |
using System;
using System.Collections.Generic;
namespace IrsMonkeyApi.Models.DB
{
public partial class Member
{
public Member()
{
Folder = new HashSet<Folder>();
FormSubmitted = new HashSet<FormSubmitted>();
LogMemberAction = new HashSet<LogMemberAction>();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DocGen.ObjectModel
{
/// <summary>
/// Represents main interface for document creation
/// </summary>
public interface IDocument
{
bool AutoGenerateTOC { get; set; }
... |
using Autofac;
using EmberKernel.Services.EventBus.Handlers;
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel.Services.EventBus.SubscriptionManager
{
public interface ISubscriptionManager
{
bool IsEmpty { get; }
event EventHandler<string> OnEventRemoved;... |
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 Negocios;
using DTO;
namespace Apresentacao
{
public partial class FrmMenuAcaoAluno : Form
... |
namespace Properties.Core.Objects
{
public class User
{
public int UserId { get; set; }
public string AuthZeroId { get; set; }
public Landlord Landlord { get; set; }
public User()
{
UserId = 0;
AuthZeroId = string.Empty;
}
}
}
|
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
namespace Appnotics.Library.UI.Converters
{
public class CollapseIfNotEqualToConverter : IValueConverter
{
public object Convert(object ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Cubie : MonoBehaviour {
[SerializeField]
private AudioClip clipMoving;
[SerializeField]
protected ColliderChecker m_colliderClosePlayer;
[SerializeField]
protected ColliderChecker m_colliderChec... |
using Centrifuge.Distance.Game;
using Distance.WheelieBoostFix.Scripts.RuntimeData;
using HarmonyLib;
namespace Distance.WheelieBoostFix.Harmony
{
[HarmonyPatch(typeof(BoostGadget), "GadgetFixedUpdate")]
internal static class BoostGadget__GadgetFixedUpdate
{
[HarmonyPrefix]
internal static bool Prefix(BoostGad... |
using System;
using System.IO;
using Apv.AV.Services.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace Apv.AV.Web
{
public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<ApvAppContext>
{
public Apv... |
using System;
using System.Collections.Generic;
using System.Speech.Synthesis;
using Cradiator.Config;
using Cradiator.Extensions;
using Cradiator.Model;
namespace Cradiator.Audio
{
public class SpeechMaker : IConfigObserver
{
readonly TimeSpan OneSecond = new TimeSpan(0, 0, 1);
readonly ISpeechTextParser _spee... |
using Newtonsoft.Json;
using Utilities;
namespace EddiDataDefinitions
{
// For use with the `Died` event
public class Killer
{
[PublicAPI]
public string name { get; }
[PublicAPI]
public string rating => combatRating?.localizedName;
[PublicAPI]
public strin... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Reflection;
using System.Text;
using Android.App;
using Android.Content;
using Android.Content.Res;
using Android.Database;
using Android.Graphics;
using Android.Gr... |
using SSISTeam9.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SSISTeam9.Controllers.DisbursementController;
using Delegate = SSISTeam9.Models.Delegate;
namespace SSISTeam9.Services
{
public interface IRestService
{
... |
using Senparc.Core.Enums;
using System;
namespace Senparc.Core.Models
{
public partial class FeedBack : BaseModel
{
public int Id { get; set; }
public int AccountId { get; set; }
public string Content { get; set; }
public DateTime AddTime { get; set; }
/// <summary>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wolf_StateVars : MonoBehaviour
{
public float sheep_detect_range;
public float sheep_eat_range;
public float raycast_to_float_dist;
public LayerMask sheep_mask;
[Header("Wolf Moving Vars")]
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HealthBar : MonoBehaviour
{
public Player playerScript;
private Image healthBar;
private float currentHealth;
public Potion potion;
public TMPro.TextMeshProUGUI potionCounter;
//... |
using System;
using Welic.Dominio.TiposDados;
namespace Welic.Dominio.Utilitarios.Comandos
{
public class ComandoMesAno
{
public int Mes { get; set; }
public int Ano { get; set; }
public int Numero { get; set; }
public string TextoMesAno { get; set; }
public DateTime Da... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace WebApp
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Are... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.