text stringlengths 13 6.01M |
|---|
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using UserService.Models;
using UserService.Persistence;
namespace UserService.Controllers
{
[ApiController]
[Route("[controller]")]
public class RelationshipsController : ControllerBase
{
private readonly IRelationship... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MenuManager : MonoBehaviour
{
public List<ChallengeSystem.Achievement> achievementList;
public GameObject AchieveScrollViewContent;
public List<GameObject> achievementPanels;
private void... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ContosoUniversity.ViewModels
{
public class CourseSearch : IValidatableObject
{
[Display]
public string CourseID { get; set; }
[Display]
publ... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2007 Maurits Rijk
//
// Guide.cs
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of the Lic... |
namespace Unosquare.WaveShare.FingerprintModule
{
using System;
partial class Command
{
/// <summary>
/// Contains all command factory methods.
/// </summary>
internal static class Factory
{
internal static Command CreateSleepCommand()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Gathering_RessourceSelector : MonoBehaviour
{
public RawImage ressource_1;
public RawImage ressource_2;
private bool r1_Active;
private bool r2_Active;
private void Start()
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using VendorsManage.Properties;
using VendorsManage.Data.Models;
namespace VendorsManage.Models.ViewModel
{
/// <summary>
/// 供配电工程项目视图模型
/// </summary>
public class ProjectView... |
using LuigiApp.Base.ViewModels;
using LuigiApp.Client.Views;
using System.Collections.ObjectModel;
using Xamarin.Forms;
using System.Collections.Generic;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using LuigiApp.Client.Interactors;
using LuigiApp.Client.Models;
using LuigiApp.Resources;
nam... |
using UnityEngine;
using System.Collections;
public class CameraNull : MonoBehaviour {
public static Vector3 targetPos;
public static float ViewX;
public static float ViewZ;
public GameObject Player;
// Finds object to follow
/*void Start ()
{
Player = GameObject.FindGameObjectWithTag ("CameraPoint"... |
using Plus.Utilities;
namespace Plus.HabboHotel.Quests
{
public class Quest
{
public int Id { get; }
public string Category { get; }
public string DataBit { get; }
public int GoalData { get; }
public QuestType GoalType { get; }
public bool HasEnded { ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApplicationCore.Entities;
using ApplicationCore.Interfaces;
using Dapper;
using Npgsql;
namespace Infrastructure.Data.Repositories
{
public class UserRepository : IUserRepos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetaDados
{
public class Pessoa : Acesso
{
public int id_pessoa { get; set; }
public string cpf { get; set; }
public string telefone_1 { get; set; }
pu... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
public class ... |
using System;
namespace Promact.Oauth.Server.ExceptionHandler
{
public class SlackUserNotFound : Exception
{
/// <summary>
/// Initializes Exception For Slack User Not Found
/// </summary>
public SlackUserNotFound() : base()
{
}
}
}
|
using System.ComponentModel.DataAnnotations;
namespace Lykke.Service.SmsSender.Models
{
public class SmsModel
{
[Required]
public string Phone { get; set; }
[Required]
public string Message { get; set; }
public string Reason { get; set; }
public string OuterRequ... |
/*
Equilibirium, a game simulator for balancing economic progress and environmental collapse.
Copyright (C) 2014, Mad House Studios.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version ... |
using Kit.Enums;
using Kit.Services.Interfaces;
using Xamarin.Forms;
namespace Kit.iOS.Services
{
public class ScreenManagerService : IScreenManager
{
public ScreenManagerService()
{
}
public void SetScreenMode(ScreenMode ScreenMode)
{
if (A... |
using static Weather.Safety;
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace Weather
{
public sealed class Forecast
{
public readonly string name;
public readonly string country;
public readonly int id;
public readonly double longitude;
... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WebsiteBanHang.Migrations
{
public partial class CreateDB : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable... |
namespace Beamore.DAL.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class EventStrtTimeAdded : DbMigration
{
public override void Up()
{
AddColumn("dbo.EventTable", "EventStartTime", c => c.DateTime(nullable: false));
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Depot.Contract;
namespace Depot.Contract
{
public class BookingText:IContract
{
public BookingText() { }
public Int16 BranchID { get; set; }
public string OrderNo { get; set; }
public string CommodityDesc { ge... |
using System.Collections.Generic;
using Jaeger;
using Newtonsoft.Json;
using OpenTracing.Util;
namespace Epsagon.Dotnet.Instrumentation {
public class EpsagonLabels {
public static void Add(string key, string value) {
AddLabel(key, value);
}
public static void Add(string key... |
public abstract class ToggleInteraction : Interactable
{
public string objectName = "object";
public string activeTemplate = "activate {0}";
public string inactiveTemplate = "deactivate {0}";
public bool toggled = false;
private string activeDescription;
private string inactiveDescription;
... |
using System.Collections.Generic; using System;
using System.Text;
using BrainDuelsLib.view;
using BrainDuelsLib.view.forms;
using BrainDuelsLib.threads;
using BrainDuelsLib.model.entities;
using BrainDuelsLib.web;
namespace BrainDuelsLib.widgets
{
public class LobbyBackendWidget : Widget, IStoppable
{
... |
namespace api_baixo_acoplamento.Infra.Migrations
{
using api_baixo_acoplamento.Domain.Entities;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<api_baixo_acoplamento.Infra.persistence... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MatchMessage.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using scg = global::System.Collections.Generic;
namespace ETHotfix {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Payroll.Business;
using Payroll.Common;
using Payroll.Models;
namespace Payroll.Controllers
{
public class WorkHoursController : GenericController<WorkHours>
{
public ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("Reset")]
public class Reset : Scene
{
public Reset(IntPtr address) : this(address, "Reset")
{
}
public Reset(IntPtr address, string className) : base(address, className)
{
}
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.IO.Ports;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Windows.Forms;
using WindowsFormsControlLibrary1;
using Tool;
using VirtualSwitch;
namespace SwitchBoxDebug
... |
using Entidades;
using Entidades.Exceptions;
using PetShopForms.Vistas.Empleados;
using PetShopForms.Vistas.Persona;
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.Win... |
using System;
using System.Collections.Generic;
using System.Text;
using NetPayroll.Guides.Common;
namespace NetPayroll.Guides.Contract.Social
{
public class GuidesSocial : GuidesLegal
{
protected readonly Int32 __BasisMonthly;
protected readonly decimal __BasisAnnual;
protected read... |
//Problem 2. Binary to decimal
//Write a program to convert binary numbers to their decimal representation.
using System;
namespace Problem02BinaryToDecimal
{
class BinaryToDecimal
{
static int BinaryToDecimalFunc(string number)
{
int result = 0;
for (int i = number.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BooksDestination.Data;
using BooksDestination.Model;
namespace BooksDestination.Services
{
public class SqlJournalData : IJournalData
{
private BooksDestinationDbContext _context;
public Sql... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using DataLoader;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace DataGenerator
{
class Program
{
static string ESBaseUrl = "http://ec2-54-1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class DetailedTrack : System.Web.UI.Page
{
string obj_Authenticated;
PlaceHolder maPlaceHolder;
UserControl obj_Tabs;
UserControl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.From_051_To_75
{
public class _053_AllPermutation
{
/*
Given a collection of numbers, return all possible permutations.
For example,
[1,2,3] have the following permutation... |
using APIpoc.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APIpoc.Data
{
public interface IAddress
{
bool SaveChanges();
IEnumerable<TblAddress> GetAllAddress();
void CreateAddress(TblAddress address);
... |
using CallCenter.Common.Entities;
namespace CallCenter.Client.SqlStorage.Entities
{
public class Campaign : ICampaign
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual ICallCenter CallCenter { get; set; }
}
} |
#region Using declarations
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Xml.Serializ... |
namespace AjLisp.Tests.Compiler
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjLisp.Compiler;
using AjLisp.Language;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ParserTests
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IvySpin : MonoBehaviour
{
float turnspeed = 180f;
float curzrot = 180f;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Updat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Lab2Mutex
{
class Mutex
{
private int _holderID = -1;
public void Lock()
{
var id = Thread.CurrentThread.ManagedThreadId;
whi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 10
namespace Binary_to_Decimal_Horner
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter binary number: ");
string num = Consol... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using UdemyMurat.Models.Sınıflar;
namespace UdemyMurat.Controllers
{
public class UrunDetayController : Controller
{
Context c = new Context();
// GET: UrunDetay
public ActionResu... |
using System.Collections.Generic;
using System.Linq;
using CloneDeploy_DataModel;
using CloneDeploy_Entities;
using CloneDeploy_Entities.DTOs;
namespace CloneDeploy_Services
{
public class UserGroupServices
{
private readonly UnitOfWork _uow;
private readonly UserServices _userServices;
... |
using System.Collections.Generic;
using System.Linq;
namespace Howff.Navigation {
public abstract class Navigation {
private INavigationItem rootItem;
private INavigationItem currentItem;
private INavigationConfig configuration;
protected abstract IList<INavigationItem> GetChildren(INavigationItem navigatio... |
using System;
using System.Collections.Generic;
using System.Linq;
using SubSonic.Extensions;
namespace Pes.Core
{
public partial class Messages
{
public static int GetPageCount(MessageFolders messageFolder, Int32 RecipientAccountID)
{
int pagecount = 0;
int ... |
using System.Collections.Generic;
public class CreditCardConfig {
public CreditCardType creditCardType {get;set;}
public ICollection<string> prefixes {get;set;}
public int digitCount {get;set;}
public string country { get; set; } = "us";
} |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
namespace Unosquare.WaveShare.FingerprintModule
{
using System;
using System.Linq;
/// <summary>
/// Represents a Message (either a command or a response).
/// </summary>
public abstract class MessageBase
{
/// <summary>
/// The payload delimiter - All messages start and en... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using NSubstitute;
using OmniSharp.Extensions.JsonRpc.Server;
using OmniSharp.Extensions.JsonRpc.Testing;
using OmniShar... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum CardType
{
PHYSICAL,
MAGICAL,
FLEXIBLE,
ASSAULT
}
[CreateAssetMenu(fileName = "NewCard")]
public class CardData : ScriptableObject {
public int id;
public new string name;
public i... |
using GAF;
using ReactiveUI;
using System.Collections.Generic;
using Webcorp.Model;
namespace Webcorp.lib.onedcut
{
public interface IPopulation
{
// Population Population { get; }
ReactiveList<BeamToCut> Beams { get; }
Stocks CuttingStock { get; }
Article Beam { get; }
}
... |
/*
* Click to raycast onto server and desplay its data.
*/
using UnityEngine;
using System.Collections;
public class ServerSelector : MonoBehaviour {
Ray ray;
RaycastHit hit;
bool showGUI = false;
GameObject selectedServer;
Vector3 serverPosistion;
float windowSizeX;
float windowSizeY;
int screenSizeX;
in... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
namespace EnterpriseDistributedApplication
{
[DataContract(Name = "OrderBooks")]
[KnownType(typeof(Book))]
[... |
using System;
namespace ExercicioElevador.Classes
{
public class Servico : Elevador
{
private int quantiaCaixas;
public override string Mostrar(){
return $"O elevador está no {andarAtual} andar, tem {capacidade} de capacidade, tem {quantiaPessoas} pessoas e {quantiaCaixas} caixas";... |
using iTemplate.Web.Models;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace iTemplate.We... |
using System;
using System.Collections.Generic;
using System.Text;
using System.CodeDom.Compiler;
using Microsoft.CSharp;
using System.IO;
using System.Reflection;
namespace InMemoryCompiler
{
class Program
{
static void Main(string[] args)
{
string[] codeArr = new string[1];
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnimalFarm
{
public class App
{
public void Run()
{
Cow Martha = new Cow("Martha");
Chicken George = new Chicken("George");
Sheep C... |
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recording.Models.SettingModels
{
public interface IAppSettingsReader
{
AppSettings AppSettings
{
get;
}
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MMSdb.dbo.Tables
{
[Table("tbl_Comments")]
public class tbl_Comments
{
[Key]
public long cmt_ID { get; set; }
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("Collider")]
public class Collider : Component
{
public Collider(IntPtr address) : base(address, "Collider")
{
}
public Collider(IntPtr address, string className) : base(address, className)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Dnn.PersonaBar.Pages.Services.Dto
{... |
namespace Bindable.Linq.SampleApplication
{
using System.Windows.Input;
public static class Commands
{
public static RoutedUICommand Add = new RoutedUICommand();
public static RoutedUICommand Delete = new RoutedUICommand();
public static RoutedUICommand Refresh = new RoutedU... |
using CrazyPost.Context;
using CrazyPost.Controllers;
using CrazyPost.Models;
using CrazyPost.Repository;
using Microsoft.AspNetCore.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CrazyPost.Test
{
[TestClas... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.Regula... |
using System;
using System.CodeDom.Compiler;
using System.Collections.Specialized;
namespace Unicorn
{
public class PlayAnimation: UniBehaviour
{
Graphics playerCharModel;
Animation anim;
public override void Init()
{
anim = GetAnimation(id);
playerCharModel = GetGraphics... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LaserBullet : MonoBehaviour
{
[SerializeField] private float speed = 240f;
[SerializeField] private float duration = 1.2f;
private float lifeTimer;
private void Start()
{
//Initializi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Security;
using ZrSoft;
using SubSonic;
using System.Data;
namespace Core
{
/// <summary>
/// 权限过滤器[默认为当前Action,Controller]
/// </summary>
public class PowerFilter : ActionFilte... |
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;
using MimeTypes;
using System;
using System.Threading.Tasks;
using Whale.API.Models;
using Whale.DAL.Settings;
namespace Whale.API.Providers
{
public class FileStorageProvider
{
private readonly CloudBl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EFGetStarted.AspNetCore.ExistingDb.Models
{
public class MFreshWater
{
public string UnitId { get; set; }
public int Amount1 { get; set; }
public int Amount2 { get; set; }
... |
using System;
namespace PaderbornUniversity.SILab.Hip.EventSourcing
{
/// <summary>
/// Uniquely identifies an entity by its type and ID.
/// EntityId can be converted to and from a (ResourceType, int)-tuple.
/// </summary>
public struct EntityId : IEquatable<EntityId>
{
public static ... |
using API.Omorfias.Data.Enumerator;
namespace API.Omorfias.Data.Models
{
public class Services
{
public int Id { get; set; }
public CategoryEnum CategoryEnum { get; set; }
public decimal Price { get; set; }
public decimal OldPrice { get; set; }
public string Title { get... |
namespace AthenaTests.Helpers.Data.TestExcel {
public class StoragePlacesExcelTestData {
public string StoragePlaceName { get; set; }
public string Description { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Http;
using M32COM_CW.Services;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace M32COM_CW.Mod... |
namespace FurnitureManufacturer.Engine.Factories
{
using Interfaces;
using Interfaces.Engine;
using Models;
using System.Linq;
public class CompanyFactory : ICompanyFactory
{
public ICompany CreateCompany(string name, string registrationNumber)
{
if ((name != "") &&... |
using CHSystem.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
namespace CHSystem.Repositories
{
public abstract class BaseRepository<T> where T : BaseModel
{
protected DbContext Context { set; get; }... |
using FuncEx.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace FuncEx
{
class Program
{
static void Main(string[] args)
{
List<Product> list = new List<Product>();
list.Add(new Product("Tv", 900.00));
l... |
using Xamarin.Forms;
namespace App2.ShowPopup
{
public class XOverLayControl
{
public XOverLayControl()
{
BackgroundColor = Color.Default;
HasNavigationBar = true;
HasTabbedBar = false;
Alpha = Device.OS == TargetPlatform.Android ? 255 : 1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//se importan estas librerias
using System.Data.SqlClient;
using System.Data;
namespace LayerData
{
public class LayerDataEmpleado
{
//string de conexion
public string strconn = @... |
using Common.Network.Services.Models;
using System.Threading.Tasks;
namespace Common.Network.Services.Interfaces
{
public interface INetworkService
{
Task<NetworkMessage> SendMessage(NetworkMessage message);
}
}
|
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static SpanDistinctEnumerable<TSource> Distinct<TSource>(
... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace API.Entities
{
[Table("Attractions")]
public class Attraction
{
public int Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string Type { get; set; }
... |
using System.Numerics;
namespace Tileset.Json
{
public class Boundingvolume
{
public float[] Box { get; set; }
public Vector3 GetCenter()
{
return new Vector3(Box[0], Box[1], Box[2]);
}
public Vector3 GetRotation()
{
// q: is this corre... |
namespace MailerQ.RestApi
{
/// <summary>
/// Contract that represent a basic MailerQ Rest API request
/// </summary>
/// <typeparam name="T">Model type that accept the endpoint</typeparam>
public interface IRestApiRequest<T> where T : IRestApiModel
{
/// <summary>
/// The query... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class MenuGui : MonoBehaviour {
/* Klasse som håndterer menyene i spillet
*/
//Legger inn alle menuyene og menyelementer
public GameObject apningsmeny;
public GameObject loadMeny;
public GameObject setting;
public GameObject newGameMen... |
using System.Web.Mvc;
using ExceptionHandlingFramework;
namespace ShareTradingWebsite
{
/// <summary>
/// Attribute to handle errors on all the controllers
/// </summary>
public class ShareTradingExceptionHandlingAttribute : HandleErrorAttribute
{
/// <summary>
/// Creates a new in... |
using ServiceDesk.Api.Systems.Common.Interfaces.Dto;
using ServiceDesk.Api.Systems.Common.Interfaces.DtoBuilder;
namespace ServiceDesk.Api.Systems.DirectorySystem.DtoBuilders.SoftwareModule
{
public interface ISoftwareModuleDtoBuilder<TDto> : IDtoBuilder<Core.Entities.DirectorySystem.SoftwareModule, TDto>
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
namespace LogicHandler
{
public class TestHandler : DataHandler<Test>
{
private static String DB_TABLE_NAME = "Test";
public TestHandler(Test te... |
using UnityEngine;
using System.Collections;
public class SkeletonSetter : MonoBehaviour {
public SkeletonAnimation animator;
public SkeletonDataAsset knightSkeleton;
SkeletonDataAsset playerData;
AtlasAsset atlasdata;
string name = "skeleton";
void Start(){
atlasdata = ScriptableObject.CreateInstance<At... |
// <copyright file="ILog.cs" company="kf corp">
// Licensed under the Apache 2.0 license
// </copyright>
using System;
namespace McServerStarter
{
internal interface ILog<T>
{
void LogDebug(string message, params object[] args);
void LogError(string message, params object[] args);
v... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("Tooltip")]
public class Tooltip : MonoBehaviour
{
public Tooltip(IntPtr address) : this(address, "Tooltip")
{
}
public Tooltip(IntPtr address, string className) : base(address, className)
... |
using UnityEngine;
using System.Collections;
public class ButtonMC : MonoBehaviour {
private TeamHealth teamHealth;
private EnemyHealth enemyHealth;
private ScoreKeeper scoreKeeper;
private Ray ray;
private RaycastHit hit;
public Sprite normal;
public Sprite perfect;
public Sprite good;
public Sprite miss;... |
using System;
using System.Collections.Generic;
class DaySeven{
public void Run(){
List<string> strList = Input.GetStrings("input_files/Day07.txt");
List<Bag> bagList = Bag.ToBags(strList);
Bag shinyGoldBag = bagList.Find(bag => bag.MatchesColor("shiny gold"));
Console.WriteLine(shi... |
using PokemonTypeAnalyzer;
using PokemonTypeAnalyzer.Properties;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using... |
using System;
class Korrutustabel{
public static void Main(string[] argumendid){
int ridadearv=10, veergudearv=10;
if(argumendid.Length==2){
ridadearv=int.Parse(argumendid[0]);
veergudearv=int.Parse(argumendid[1]);
}
for(int rida=1; rida<=ridadearv; rida++){
... |
namespace WebServiceTestTools.Contract.Model.Soa2
{
public class Soa2Response : BaseResponse
{
public string SoaResponse { get; set; }
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using ZeroFormatter.Comparers;
namespace ZeroFormatter.Comparers
{
[Preserve(AllMembers = true)]
public class KeyTupleEqualityComparer<T1> : IEqualityComparer<KeyTuple<T1>>
{
[Preserve]
public KeyTupleEqualityCompare... |
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 Insankaynaklari
{
public partial class Form1 : Form
{
public Form1()
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.