text stringlengths 13 6.01M |
|---|
namespace OpenKnife.States
{
[System.Serializable]
public enum GameState
{
MAIN_MENU,
IN_GAME,
GAME_OVER
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MortgageCalculator.DAL.Data;
using MortgageCalculator.DAL.Repositories;
using MortgageCalculator.Contracts.Repositories;
using MortgageCalculator.Model;
using MortgageCalculator.Service;
namespace Mortgage... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using Accounting.Entity;
using Accounting.Utility;
namespace Accounting.DataAccess
{
public class BusinessTypeDA
{
public BusinessTypeDA() ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business.Helper;
using eIVOGo.Module.Base;
using Model.DataEntity;
using Model.InvoiceManagement;
using Model.Locale;
using Model.Security.Mem... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using log4net;
namespace XorLog.Core
{
public class RawFileReaderEx : IRawFileReader
{
const char LINE_SEPARATOR = '\n';
const char CARRIAGE_RETURN = '\r';
private static readonly ILo... |
namespace WpfAppAbit2.Models
{
public class EntranceTestType : SimpleClass
{
}
} |
namespace Codewars.SplitString
{
public class SplitString
{
internal static string[] Solution(string text)
{
if(text.Length%2 >0)
{
text += "_";
}
var totalSplitString = text.Length / 2;
string[] splitString = new stri... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ProyectoIntegrado
{
public partial class FormIdioma : Form
{
public FormIdioma... |
using System;
namespace RulesFakes
{
public class CCState
{
// cannot use string.Empty to initialize a constant
public const string UnknownStateAbbrAlpha = "";
public DateTime? LastUpdated { get; set; }
public string StateAbbrAlpha { get; set; }
public string StateDesc ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace InterfaceClasseAbstr.Modelo.Contratos
{
interface IForma
{
double Area();
}
}
|
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System.Drawing;
namespace PairsGame.Controls
{
public class GridParameters
{
public int Width { get; set; }
public int Height { get; set; }
public Image Shirt { get; set; }
public Image[] Images { get; set; }
public GridParameters(int width, int height)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallHouseManagerDAL;
using SmallHouseManagerModel;
namespace SmallHouseManagerBLL
{
public class RoomBLL
{
RoomDAL dal = new RoomDAL();
public bool CheckRooms(string code)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
//[RequireComponent(typeof(TriggerControl))]
[RequireComponent(typeof(MeshRenderer))]
[RequireComponent(typeof(Collider))]
public class Grass : MonoBehaviour
{
MeshRenderer m_Renderer;
//TriggerControl m_Trigger;
B... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Timer : MonoBehaviour
{
public Text timeTexts;
public Text CountText;
float totalTime = 100;
int retime;
float countdown = 3f;
int count;
//... |
using System;
namespace Sample.Web.Models
{
public class CurrentTimeModel
{
public DateTime CurrentTime { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BasePotion : BaseStatItem {
public enum PotionTypes{
HEALTH,
ENERGY,
STRENGTH,
INTELLECT,
VITALITY,
ENDURANCE
}
private PotionTypes potionType;
public PotionTypes PotionType{
get{return potionType;}
set{... |
using System;
using MiHomeLibrary.Devices;
using NUnit.Framework;
namespace MiHomeLibrary.Test
{
[TestFixture]
public class TokenKeeperTest
{
[Test]
public void GetTokenForGateway_EmptyList_Ok()
{
TokenKeeperService tokenKeeper = new TokenKeeperService();
As... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.Framework.JavaScriptLibraries
{
/// <summary>
/// determine which version of a script is to be used
/// </summary>
pu... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeManagement.Models
{
public class EmployeeList
{
static SqlConnection con;
static List<Employee> employeeList = null;
static EmployeeList()
... |
using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
double c = double.Parse(Console.ReadLine());
Console.WriteLine(c);
}
}
}
|
using UnityEngine;
using System.Collections;
public static class ColorCode
{
private static Color[] colors = new Color[] { new Color(1, 0, 0), new Color(0.5f, 0.5f, 0.5f), new Color(0, 1, 0), new Color(0, 0, 1), new Color(1, 0.5f, 0.5f), new Color(0, 0.5f, 0.5f), new Color(0.5f, 0, 0.5f), new Color(1, 0.5f... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using UnityCommon;
using UnityEngine;
namespace Naninovel
{
[System.Serializable]
public class CameraConfiguration : Configuration
{
[Tooltip("The reference resolution is used to evaluate proper rendering dimensions, so tha... |
using Core.Base;
using Core.Enums;
namespace Entities
{
public sealed class Product : BaseEntity
{
public string Number { get; set; }
public string Name { get; set; }
public ProductType Type { get; set; }
public Color Color { get; set; }
}
} |
using System.Collections;
namespace BaselineAssembly
{
public class PublicClass
{
public int Method(bool b) => 1;
public string GetCoolString(int coolArgument) => coolArgument.ToString();
public void Protecc() { }
protected void GenericMethod<T>(T t) where T:IComparer { }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Xml;
using System.Xml.Serialization;
namespace OC.JQGrid
{
/// <summary>
/// Holds all information regarding the generated view
/// Knows how to convert this informatio... |
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace BuindingBlocks.Resilience.Http
{
public interface IHttpClient
{
Task<string> GetStringAsync(
string uri,
Authorization authorization = default(Authorization),
CancellationToken ca... |
using Microsoft.AspNetCore.Identity;
using ServiceHost.Models;
using ServiceHost.Repository;
using ServiceHost.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ServiceHost.Services
{
public interface IAccountService
{
Task<Account> Creat... |
#region Copyright (C)
// ---------------------------------------------------------------------------------------------------------------
// <copyright file="HandleMappingThread.cs" company="Smurf-IV">
//
// Copyright (C) 2011-2012 Smurf-IV
//
// This program is free software: you can redistribute it and/or modify... |
using System.Collections;
using GameLib;
using JumpAndRun.API;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace JumpAndRun.Actors
{
public abstract class NpcBase : Actor
{
protected Actor Player;
protected Platform Platform;
... |
using _01___ESTRUTURADOPROGRAMA._01_Heranca;
using System;
namespace _01___ESTRUTURADOPROGRAMA
{
class Program
{
static void Main(string[] args)
{
//var s = new Pilha();
//s.Empilha(1);
//s.Empilha(10);
//s.Empilha(100);
//Console.Wr... |
/*
* 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 System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using PDTech.OA.Model;
namespace PDTech.OA.BLL
{
/// <summary>
/// RIGHT_INFO
/// </summary>
public partial class RIGHT_INFO
{
private readonly PDTech.OA.DAL.RIGHT_INFO dal=new PDTech.OA.DAL.RIGHT_INFO();
public RIGHT_I... |
#region using statements
using System;
#endregion
namespace ObjectLibrary.BusinessObjects
{
#region class Address
[Serializable]
public partial class Address
{
#region Private Variables
#endregion
#region Constructor
public Address()
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace LibraryManagement.Librarian
{
public partial class LibrarianMaster : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Medit1.Validation;
using Microsoft.AspNetCore.Http;
namespace Medit1.Models.ViewModels
{
public class CreateCruiseViewModel
{
public ICollection<TypeCruise>TypeCruises { get; set; }
public ICollection<Port> Po... |
using UnityEngine;
using System;
using System.Globalization;
namespace BeliefEngine.HealthKit
{
/*! @brief A small helper class to bridge dates between C# and Objective-C
*/
public class DateTimeBridge : ScriptableObject {
// 2017-04-25T14:18:52-07:00
// 2017-04-25T22:12:50Z
// 201... |
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using SPACore.PhoneBook.PhoneBooks.Persons;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using SPACore.PhoneBook;
namespace SPACore.PhoneBook.PhoneBooks.PhoneNumbers
{
public class Pho... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace HobbyHub.Models
{
public class Hobby
{
[Key]
public int HobbyId {get;set;}
public int CreatedById {get; set;}
[Required]
... |
using System.Drawing;
namespace TutteeFrame2
{
class Rim
{
public int[] Hori = new int[12];
public int[] Ver = new int[8];
public Point[,] Intersec = new Point[12, 8];
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ObjectDataTypes
{
public class PlayerInteractableData : ObjectData
{
//all of the data from Object plus...
///<value>Controlls how long a PlayerInteractable is allowed on the screen (in milliseconds... |
using AutoUpdate.MainService;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows... |
using System;
using System.Collections;
namespace QuitSmokeWebAPI.Controllers.Entity
{
public class UserInfo
{
public string uid { get; set; }
public string name { get; set; }
public string smoker_indicator { get; set; }
public string partner_indicator { get; set; }
publ... |
using bank_account_ddd_studies.domain.command;
using bank_account_ddd_studies.domain.repository;
namespace bank_account_ddd_studies.domain.commandHandler
{
public class DebitHandler : IHandler
{
private readonly IAccountRepository _accountRepository;
public string Operation => "Debit";
... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EntitiesDB
{
public class Block
{
public int ID { get; set; }
public string Name { get; set; }
public string Vrizka { get; set; }
public string AddOns { get; set; }
... |
using Core.Base;
namespace Entities
{
public sealed class Territory : BaseEntity
{
public string CountryName { get; set; }
}
} |
using UnityEngine;
using System.Collections;
using GameRockManEXE;
/// <summary>
/// 戰鬥晶片
/// </summary>
public class BattleChip
{
public int _iChipID;
public int _iChipIDGame;
public string _sChipCode;
public string _sChipName;
public string _sChipInfo;
public int _iChipIconID;
public in... |
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using Android.Widget;
using Android.Views;
using StudyEspanol.Data.Models;
using StudyEspanol.UI.Screens;
namespace StudyEspanol.Droid
{
public class ConjugationQuizAdapter : ArrayAdapter<List<QuizWord>>, GestureDetector.IOnGes... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerMovement : MonoBehaviour
{
Vector2 endPos;
playerAnimation playerAnimation;
Rigidbody2D playerRB;
public float dashTime;
public float dashDuration;
// Start is called before the first frame upd... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LateOS.Models
{
[MetadataType(typeof(cFactura))]
public partial class tbFactura
{
}
public class cFactura
{
[Display(Name ="ID Factura")]
... |
using Godot;
using System;
public class Scoring : Label
{
public int score = 0;
public TextShaker textshaker;
public override void _Ready()
{
}
public void incrementScore(int score){
textshaker = (TextShaker)GetNode("TextShaker");
textshaker.Trigger();
score+... |
using System.Data.Entity.ModelConfiguration;
using Logs.Models;
namespace Logs.Data.Mappings
{
public class MeasurementMap : EntityTypeConfiguration<Measurement>
{
public MeasurementMap()
{
// Primary Key
this.HasKey(t => t.MeasurementsId);
// Properties
... |
using iTextSharp.text;
using iTextSharp.text.pdf;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Sys... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Checkout.Payment.Processor.Domain.Models.PaymentCommand
{
public class UpdatePaymentResponse
{
Guid PaymentId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using SimuladorPrestamos.BO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using System.IO;
namespace SimuladorPrestamos.DAO
{
public class SimulacionesDAO
{
Conexio... |
using HardcoreHistoryBlog.Data;
using HardcoreHistoryBlog.Models.Blog_Models;
using HardcoreHistoryBlog.Models.Comments;
using HardcoreHistoryBlog.Models.Likes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HardcoreHistoryBlog.Models
{
public class User... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager
{
public void Spawn(string path)
{
GameObject player = Managers.Resource.Instantiate(path);
player.transform.position = new Vector2(-5, 2);
}
public void HpUpd... |
namespace MonoGame.Extended.Tiled
{
public enum TiledMapLayerType : byte
{
ImageLayer = 0,
TileLayer = 1,
ObjectLayer = 2,
GroupLayer = 3
}
} |
using System.Collections.Generic;
using ALTechTest.DataTransferObjects;
namespace ALTechTest.Helpers
{
public class ArtistComparer : IEqualityComparer<ArtistDto>
{
public bool Equals(ArtistDto leftArtist, ArtistDto rightArtist)
{
Verify.NotNull(leftArtist, nameof(leftArtist));
... |
using Platformer.Mechanics;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class EquipmentUsing : MonoBehaviour
{
public int equipmentId;
public EquipmentItem eItem;
public Button button;
private EquipmentItem GetThisEItem(... |
using NUnit.Framework;
using FileImporter;
using System.Collections.Generic;
namespace FileAggregator.Tests
{
[TestFixture]
public class Test
{
private FlatFileHeader header;
private ICollection<FlatFileDataRow> dataRows;
private string[] expectedAggregated;
[... |
namespace MooshakPP.Models.Entities
{
public class Milestone
{
public int ID { get; set; }
public int assignmentID { get; set; }
public string name { get; set; }
public string description { get; set; }
public string language { get; set; }
}
} |
using JCFruit.WeebChat.Server.Tcp;
using MediatR;
namespace JCFruit.WeebChat.Server.ServerEvents
{
public class UserConnected : INotification
{
public ConnectedClient Client { get; }
public UserConnected(ConnectedClient client)
{
Client = client;
}
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
namespace LiveSplit.Yono {
public enum LogObject {
CurrentSplit,
Pointers,
Version,
Loading,
SceneName,
SaveData,
SaveCount
}
public class LogManager {
public const string LOG_FI... |
using BigEndian.IO;
namespace nuru.IO.NUI.Cell.Color
{
public class ColorUInt4Writer : IColorWriter
{
public virtual void Write(BigEndianBinaryWriter writer, ColorData pair)
{
writer.Write((byte)((pair.Foreground << 4) | (pair.Background & 0x0f)));
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace POTM
{
public class LightColorPicker : MonoBehaviour
{
public LightColors colors;
// Start is called before the first frame update
void Awake()
{
Renderer rend = GetCom... |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities.RelationTables;
using Voronov.Nsudotnet.BuildingComp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2C2PAssignment.Business.Dtos
{
public class ValidateResultDto
{
public CardType? Type { get; set; }
public bool? IsValid { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SqlJobHub
{
public partial class JobPanel : UserControl
{
private String JobNa... |
using System.Threading.Tasks;
using Business.Abstract;
using Entities.Concrete;
using Microsoft.AspNetCore.Mvc;
namespace WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AddressesController : ControllerBase
{
private IAddressService _addressService;
publi... |
using Microsoft.AspNetCore.Builder;
using System;
using System.Linq;
using Utils;
using Utils.Localization;
using Utils.Localization.Configuration;
using Utils.Localization.Dictionaries;
using Utils.Localization.Dictionaries.Json;
using Utils.Localization.Dictionaries.Xml;
// ReSharper disable once CheckNamespace
nam... |
using Elementary.Compare;
using LiteDB;
using Moq;
using System;
using System.IO;
using System.Linq;
using TreeStore.Messaging;
using TreeStore.Model;
using Xunit;
namespace TreeStore.LiteDb.Test
{
public class TagRepositoryTest : IDisposable
{
private readonly LiteRepository liteDb;
private r... |
using System.Collections.Generic;
namespace ReliableDbProvider.Tests.Entities
{
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<UserProperty> Properties { 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;
namespace VinesaucePlayer
{
public partial class TwitchChat : Form
{
frmPlayer parent;
public string Channel;
... |
using ConsoleAppNoOpenClose.Model.Entities;
using ConsoleAppNoOpenClose.Model.Repositories;
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleAppNoOpenClose.Model.Services
{
public class StudentPersistService
{
public void Save(Student student)
{
v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(MoveAgent))]
[RequireComponent(typeof(Animator))]
[RequireComponent(typeof(Collider))]
public class Unit : Attackable {
public UnitData data;
public float Health { get; private set; }
public Transform h... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Movimiento_Mouse : MonoBehaviour
{
public float movementSpeed;
public float speed = 0.0f, duration = 0.0f;
public GameObject playerMovePoint;
private GameObject Obj_personaje... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AgentStoryComponents
{
public class PostMan
{
AgentStoryComponents.core.utils ute = new AgentStoryComponents.core.utils();
private string _conn;
public string conn
{
get { ... |
using Microsoft.Xna.Framework;
namespace MonoGame.Extended
{
public interface IMovable
{
Vector2 Position { get; set; }
}
} |
using Hayalpc.Fatura.Common.Enums;
using Hayalpc.Library.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Hayalpc.Fatura.Data.Models
{
[Table("roles", Schema = "panel")]
pub... |
namespace Triton.Game.Mono
{
using GreyMagic;
using log4net;
using ns26;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Triton.Common;
using Triton... |
using System;
namespace RO
{
[CustomLuaClass]
[Serializable]
public class ToBornPointTeleportPathInfo
{
public BornPoint bp;
public ExitPoint nextEP;
public float totalCost;
public ToBornPointTeleportPathInfo(BornPoint b, ExitPoint e, float c)
{
this.bp = b;
this.nextEP = e;
this.totalCost = ... |
using FacultyV3.Core.Constants;
using FacultyV3.Core.Interfaces;
using FacultyV3.Core.Interfaces.IServices;
using FacultyV3.Core.Models.Entities;
using FacultyV3.Web.Common;
using FacultyV3.Web.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
names... |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using UGCS.Example.Enums;
namespace UGCS.Example.Helpers
{
public c... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Grisaia.Extensions;
using Grisaia.Utils;
namespace Grisaia.Asmodean {
partial class Kifint {
#region Decrypt
/// <summary>
/// Decrypts ... |
using System;
using System.Web;
namespace SKT.MES.Web
{
public class Global : Systems.Web.HttpApplication
{
protected void Application_Error(object sender, EventArgs e)
{
try
{
Exception ex = this.Server.GetLastError();
WebHelper.WriteException(ex);
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Async_Inn.Migrations
{
public partial class dataseeding : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Amenities",
columns: ... |
using System;
using System.Collections.Generic;
namespace ClassesExercise
{
class Program
{
static void Main(string[] args)
{
Author stavros = new Author("Stavros", "Kyriacou");
Author someone = new Author("Someone", "Somebody");
List<Book> books = new List... |
using System;
using KelpNet.Common;
using KelpNet.Common.Functions.Type;
namespace KelpNet.Functions.Activations
{
[Serializable]
public class ELU : SingleInputFunction
{
const string FUNCTION_NAME = "ELU";
private readonly Real _alpha;
public ELU(double alpha = 1, string name = F... |
using Aliencube.ConfigurationValueConverter.Configs;
using Aliencube.ConfigurationValueConverter.Configs.Interfaces;
using Aliencube.ConfigurationValueConverter.Tests.Fixtures;
using FluentAssertions;
using Xunit;
namespace Aliencube.ConfigurationValueConverter.Tests
{
/// <summary>
/// This represents the ... |
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Object = UnityEngine.Object;
namespace UMA
{
public abstract class UMAGeneratorBase : MonoBehaviour
{
public bool fitAtlas;
public bool usePRO;
public bool AtlasCrop;
[NonSerializ... |
using System;
namespace ClassLibrarySample
{
public class MathSample
{
public void Fibonacci()
{
int n1 = 0, n2 = 1, n3, i, number;
Console.Write("Enter the number of elements: ");
number = int.Parse(Console.ReadLine());
Console.Write(n1 + " " + ... |
using System.Collections.Generic;
using System.Linq;
using AgGateway.ADAPT.ApplicationDataModel.ADM;
using AgGateway.ADAPT.ApplicationDataModel.Equipment;
using AgGateway.ADAPT.ApplicationDataModel.LoggedData;
using AgGateway.ADAPT.ApplicationDataModel.Shapes;
using AgGateway.ADAPT.ISOv4Plugin.ExtensionMethods;
using ... |
namespace SchoolClasses
{
using System;
using System.Collections.Generic;
public class Teacher : People
{
private List<Discipline> disciplines;
public List<Discipline> Disciplines
{
get { return this.disciplines; }
set { this.disciplines = value; }
... |
using System;
using System.Globalization;
namespace Stundenplan.Services
{
public class CalendarService
{
private readonly PositionService pService = new PositionService();
public int GetWeekOfYear(DateTime time)
{
DayOfWeek day = CultureInfo.InvariantCulture.Calendar.GetDayOfWeek(time);
if (day >= Day... |
namespace K4AdotNet.NativeHandles
{
// Defined in k4atypes.h:
// K4A_DECLARE_HANDLE(k4a_transformation_t);
//
/// <summary>Handle to an Azure Kinect transformation context.</summary>
/// <remarks>Handles are created with <c>k4a_transformation_create()</c>.</remarks>
internal sealed class Transf... |
namespace MusicPlayer.ViewModels
{
public partial class ArtistsViewModel
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteAlways]
public class SphereCollision : MonoBehaviour
{
//Max distance for detecting collisions and drawing the ray
public float maxDistance;
public float radius;
private void Update()
{
raycasting();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "ServerProperties", menuName = "ScriptableObjects/ServerProperties", order = 1)]
public class ServerProperties : ScriptableObject
{
[SerializeField] private byte RoomMaxPlayer;
public byte roomMaxPlay... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.