text stringlengths 13 6.01M |
|---|
using UnityEditor;
using UnityEngine;
namespace Binocle
{
[InitializeOnLoad]
public class VersionControlAutomation
{
static VersionControlAutomation()
{
//If you want the scene to be fully loaded before your startup operation,
// for example to be able to use Object.... |
using System;
using Yasl;
using UnityEngine;
using Yasl.Internal;
namespace Yasl
{
public class Texture2DSerializer : Serializer<Texture2D>
{
public Texture2DSerializer()
{
}
public override void SerializeConstructor(Texture2D value, ISerializationWriter writer)
{
... |
using System;
using System.Collections.Generic;
using System.Xml;
using Framework.Db;
using Framework.Utils;
namespace Framework.Metadata
{
public class CxWinSectionsCustomizer : CxCustomizerBase
{
//-------------------------------------------------------------------------
private CxWinSectionsMetadata m_M... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Zealous.Models
{
public class AspNetUsers
{
public string Id { get; set; }
public string Email { get; set; }
public byte Status { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.cs;
namespace Simple_VM {
public class Program {
static void Main(string[] args) {
Dictionary<string, IInstruction> instructionTypes = new Dictionary<string, IInstru... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Enumerables
{
class Aula : IEnumerable<Alumno>
{
private List<Alumno> lista = new List<Alumno>();
private string _Nombre;
public string Nombre
{
get { return _Nom... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace OpcClient
{
using System.IO;
using System.Linq;
using System.Threading;
using static OpcApplicationConfiguration;
using static Program;
/// <summary>
/// Class for the applicati... |
using System;
using Gtk;
using ResxEditor.Core.Interfaces;
using ResxEditor.Core.Models;
using ResxEditor.Core.Views;
using System.ComponentModel.Design;
namespace ResxEditor.Core.Controllers
{
public class ResourceController : IResourceController
{
public event EventHandler<bool> OnDirtyChanged;
public event E... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Mvc;
using DataAccessLayer.basis;
using Model.DataEntity;
using Model.Helper;
using Model.InvoiceManagement;
using... |
//
// - PropertyTreeSource{T}.cs -
//
// Copyright 2012 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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/... |
using KPI.Model.DAO;
using KPI.Model.EF;
using KPI.Model.ViewModel;
using MvcBreadCrumbs;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace KPI.Web.Controllers
{
[BreadCrumb(Clear = true)]
p... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Schema;
using MyCouch;//https://github.com/danielwertheim/mycouch
using performanceTest.Models;
namespace c... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Web.Identity;
namespace Web.Models
{
public class ScoRecord
{
public int Id { get; set; }
[MaxLength(50)]
public string Title { get; set; }
public int Enrollme... |
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 ECommerceApp.Core.Interfaces;
namespace ECommerceApp.Core.Models
{
public class Category : IEnt... |
using Logging.Core.DataAccess;
using Logging.DataAccess.Abstract;
using Logging.DataAccess.Concrete.Context;
using Logging.Entities;
using Logging.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace Logging.DataAccess.Concrete
{
public class InstructorDal : EntityReposi... |
using LuigiApp.Client.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace LuigiApp.Client.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ClientsPage : ContentPage
{
ClientsViewModel viewModel;
public ClientsPage()
{
Init... |
using Contoso.Spa.Flow.Requests;
using System;
namespace Contoso.Spa.Flow.Dialogs
{
public class DetailDialogHandler : BaseDialogHandler
{
public override void Complete(IFlowManager flowManager, RequestBase request)
{
if (request.CommandButtonRequest == null)
throw ... |
//
// 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;
namespace Dnn.PersonaBar.SiteSettings.Services.Dto
{
[JsonObject]
public class LocalizationEntry
{
public stri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PhonemesAndStuff
{
public class PhoneInWordSupporter
{
public int PhonePosition { get; set; }
public int WordID { get; set; }
public PhoneInWordSupporter()
{
}
}
}
|
using CVBuilder.Core.Models;
using FluentValidation;
namespace CVBuilder.Core.Validators
{
/// <summary>
/// Address Validator implemented with Fluent validation
/// This is a example of how we can do, the example is not complete.
/// </summary>
public class AddressValidator : AbstractValidator<Ad... |
using UnityEngine;
using System.Collections;
public class Walk : AbstractBehavior {
public float speed = 50f;
public float runMultiplier = 2f;
public bool running;
//public PlayerAttack attacking;
//public bool isAttacking;
//public GameObject Player;
//protected override void Awake() {
... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class DynBelegProperties
{
public int BelegId { get; set; }
public int BenutzerId { get; set; }
public string AblagePfad { get; set; }
public string PropertyKey {... |
using Microsoft.WindowsAzure.Storage.Blob;
namespace Microsoft.DataStudio.Services.Data.Models.Solutions
{
internal class NativeSolution : Solution
{
public CloudBlobContainer Container { get; set; }
public string BlobName { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
//camera look at variables
public Transform target;
public Vector3 offset;
public bool useOffsetValues;
//camera rotation variables
public float rotateSpeed;
public Transform pivot;... |
namespace TreeStore.Model
{
public enum FacetPropertyTypeValues
{
String = 0,
Long = 1,
Double = 2,
Decimal = 3,
DateTime = 4,
Guid = 5,
Bool = 6
}
} |
namespace Athena.Data.SpreadsheetData {
public class SpreadsheetCategoryData {
public string Colour { get; set; }
public string Name { get; set; }
}
} |
using LuaInterface;
using RO;
using SLua;
using System;
public class Lua_RO_DateTimeHelper : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int IsCurTimeInRegion_s(IntPtr l)
{
int result;
try
{
string startStrTime;
LuaObject.checkType(l, 1, out startStrTime);
string endStrTime... |
using FluentValidation;
namespace DDDSouthWest.Domain.Features.Account.Speaker.ManageTalks.AddNewTalk
{
public class AddNewTalkValidator : AbstractValidator<AddNewTalk.Command>
{
public AddNewTalkValidator()
{
RuleFor(x => x.TalkTitle).NotEmpty();
RuleFor(x => x.TalkSum... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
using System.Runtime.InteropServices;
using FluentAssertions;
using OmniSharp.Extensions.LanguageServer.Protocol;
using Xunit;
namespace Lsp.Tests
{
public class VsCodeDocumentUriTests
{
[Fact(DisplayName = "file#toString")]
public void FileToString()
{
}
... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using smoothie_shack.Models;
using smoothie_shack.Repositories;
namespace smoothie_shack.Controllers
{
[Route("[controller]")]
public class AccountController : Cont... |
//Extra references added which are commenly used for interacting with CE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xrm.Tooling.Connector;
using System.ServiceModel;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using Sy... |
using bot_backEnd.Models.DbModels;
using bot_backEnd.Models.ViewModels.Statistic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.BL.Interfaces
{
public interface IPostTypeBL
{
List<PostType> GetAllPostTypes();
List<TypeSta... |
namespace Rak.Mini.Cqrs.Abstractions.Responses
{
public enum ResponseMessageType
{
SystemError,
Information,
ValidationError,
Warning
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameOverScreen : MonoBehaviour
{
[SerializeField] Text gameOverMessage;
[SerializeField] Image background;
[SerializeField] GameObject buttons;
public void MethodStart()
{
Star... |
using Microsoft.EntityFrameworkCore;
using PDB.Models;
namespace PDB.Services
{
public class MapPointService : IMapPointService
{
private readonly ApplicationContext _context;
//Those are constant for that map that will be variable at some point.
private const int XMinimumValue = 0;
... |
using DuaControl.Web.Data.Entities;
using DuaControl.Web.Data.Helpers;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace DuaControl.Web.Data
{
public class SeedDb
{
private readonly DataContext _dataContext;
private readonly IRoleHelper _roleHelper;
public SeedD... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.WindowsAPICodePack.Dialogs;
namespace GITRepoManager
{
public parti... |
using System;
using System.Collections.Generic;
using System.Text;
namespace WeaponGame
{
public class MeleeWeapons : Weapons
{
public int Poke(int baseDamage)
{
return 1;
}
public MeleeWeapons(string weaponName, int baseDamage, int baseRange, int critiChance, int c... |
/*
FileName: ZByteGenie.cs
Version: 0.1
Namespace: Omi24.Cryptography
Description: Byte related functions.
Web: http://www.omi24.com
History:
0.10: 20180523, 馮瑞祥 - Zak Fong
*/
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Tex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 23, 24
namespace GenericsExercise
{
class Program
{
static void Main(string[] args)
{
//run GenericListTest class
GenericListTest.TestGenericList(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using API_FlashSales.Objetos;
using System.Data;
namespace API_FlashSales
{
// NOTE: You can use the "Rename" command on the "Refactor... |
using LibreriaPersonas;
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 Windows1
{
public partial class Form1 : Form
{
Binding... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Logging.Business.Abstract;
using Logging.Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Logging.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Npgsql;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
namespace taszimozgas_c
{
class DB
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Xunit;
namespace Microsoft.EntityFrameworkCore
{
public class CustomConverte... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Lib.Net.Http.WebPush;
namespace Services.Abstractions
{
public interface IPushSubscriptionStore
{
Task StoreSubscriptionAsync(PushSubscription subscription, int teamId);
Task<PushSubscription> GetSubscriptionAsync(strin... |
/* 03. Cats are Animals. */
namespace AnimalClasses
{
public class Cat : Animal, ISound
{
public Cat(string catName, int catAge, Gender catSex)
: base(catName, catAge, catSex)
{
}
public override void MakeSound()
{
System.Console.WriteLine("Meow... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArteVida.Dominio.Entidades
{
public class Socio : Pessoa
{
public DateTime? DataAdesao { get; set; }
public decimal Mensalidade { get; set; }
}
}
|
using System;
using DataAccess.POCO;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace DataAccess.Interfaces
{
public interface ICustomersContext : IDisposable
{
DbSet<Addresses> Addresses { get; set; }
DbSet<Customers> Customers { get; set; }
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class constraintInventory : MonoBehaviour {
GameObject inventoryPanel;
GameObject slotPanel;
GameObject slotPanel2;
// GameObject
GridLayoutGroup gridLayoutGroup;
GridLayoutGroup gridLayoutGroup2;
Re... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("ChatLogMessageFrame")]
public class ChatLogMessageFrame : MonoBehaviour
{
public ChatLogMessageFrame(IntPtr address) : this(address, "ChatLogMessageFrame")
{
}
public ChatLogMessageFrame(IntPtr... |
using System;
using System.Windows.Forms;
using System.Threading;
using irc_client.forms;
using irc_client.services;
using irc_client.connection;
using irc_client.connection.requests;
using irc_client.session;
namespace irc_client {
public partial class Registration : Form {
public Registration() {
InitializeC... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace Dnn.PersonaBar.Themes.Components
{
public class Constants
{
public const string MenuName = "Dnn.Themes";
public const st... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Fall : MonoBehaviour {
public Transform spawnPoint;
public PlayerController hearth;
void Start(){
hearth = FindObjectOfType<PlayerController> ();
}
void OnCollisionEnter2D(Collision2D col){
if (col.transform.Compa... |
using BookMyMovie.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace BookMyMovie.Service
{
public interface IMovieService
{
IEnumerable<Movie> GetAll();
Movie GetById(int id);
}
}
|
// Accord Machine Learning Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publ... |
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.Phone.Cont... |
using Ninject;
using SimpleVisioBL;
using SimpleVisioDataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleVisioService
{
public static class SimpleVisioServiceConfig
{
public static void Configure(IKernel kernel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
namespace WebApi.Controllers.Cotizacion
{
public class DolarController : ApiController, IDinero
{
public Task<IEnumerable<string>> GetCotiza... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
usin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LoadGaneData : MonoBehaviour
{
private DataBaseLoadGameData _dataBase = new DataBaseLoadGameData();
[SerializeField]
private Text _username;
[SerializeField]
private Text _goldTooth;
... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint;
using Waffles;
using Waffles.UserControls;
public partial class admin_modal_debug_data : AdminModal
{
public override void Build()
{
Modal.Si... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using cn.jpush.api.common;
namespace cn.jpush.api.schedule
{
class ScheduleListResult : BaseResult
{
public int total_count;
public int total_pages;
public i... |
namespace AllNameToTxt.Models
{
public class FileName
{
public string CurrentFileName { get; set; }
public string OldFileName { get; set; }
public string Performer { get; set; }
public string Title { get; set; }
public string Time { get; set; }
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities;
using ShareTradingModel;
namespace Entities.Test
{
public class AddressTest: EntityTest<Address>
{
}
}
|
using UnityEngine;
using System;
using System.Collections.Generic;
[RequireComponent(typeof(BoxCollider2D))]
public class RaycastController : MonoBehaviour {
public LayerMask collisionMask;
public const float skinWidth = .015f;
const float dstBetweenRays = .25f;
[HideInInspector]
public int horiz... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Analytics;
using UnityEngine.EventSystems;
public class PopUp_Card_Hide : MonoBehaviour, IPointerClickHandler
{
public GameObject currentPopUp;
private PopUp_Reactivate reactivator;
private void Start()
{... |
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Spectre.Console;
using Spectre.Console.Cli;
namespace Proto.Commands
{
public class EnumsSettings : CommandSettings
{ }
public class EnumsCommand : AsyncCommand<EnumsSettings>
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training_App.Classes
{
class square : Classes.shape
{
public override void theArea(int _l)
{
int area = _l*_l;
Console.WriteLine(area);
... |
using Contoso.Domain.Entities;
using Contoso.Forms.Configuration;
using Contoso.Forms.Configuration.Bindings;
using Contoso.Forms.Configuration.DataForm;
using Contoso.XPlatform.Tests.Helpers;
using Contoso.XPlatform.Services;
using Contoso.XPlatform.ViewModels.Factories;
using Contoso.XPlatform.ViewModels.ReadOnlys;
... |
using System;
namespace Fernando
{
public class Estoque
{
public int Id { get; set; }
public int Quantidade { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
public abstract class InInput : MonoBehaviour
{
public static InInput controller;
void OnEnable()
{
if(controller == null)
{
controller = this;
DontDestroyOnLoad(gameObject);
}
else if(controller != this)
this.enabled = false;
}
publ... |
using Microsoft.AspNetCore.Http;
namespace FirstWebApp.ViewModels
{
public class Image
{
public string Path { get; set; }
public IFormFile fullInfo { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace JsonBAM.Data.Entities
{
public class Log
{
public int Id { get; set; }
public string Key { get; set; }
public string HeaderJson { get; set; }
public string LogJson { get; set; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item {
public enum Types { Revolver, Pendant, Helm, Tunic }
public enum Qualities { Common, Uncommon, Rare, Epic };
public Types itemType;
public Qualities itemQuality;
public int itemLevel... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_TexGenMode : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.TexGenMode");
LuaObject.addMember(l, 0, "None");
LuaObject.addMember(l, 1, "SphereMap");
LuaObject.addMember(l, 2, "Object");
LuaObje... |
// ************************************************************************
// Copyright (C) 2001, Patrick Charles and Jonas Lehmann *
// Distributed under the Mozilla Public License *
// http://www.mozilla.org/NPL/MPL-1.1.txt *
// ************... |
namespace InfernoInfinity.Models.Weapons
{
public class Sword
{
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using HedgeHog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HedgeHog.Core;
namespace HedgeHog.Tests {
[TestClass()]
public class IEnumerableCoreTests {
[TestMethod()]
... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using RepositoryAndUnitOfWorkPatterns.Domain;
namespace RepositoryAndUnitOfWorkPatterns.EntityFramework.EntityConfigurations
{
pu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Airfield_Simulator.Core.Models
{
public interface ISimulationProperties : INotifyPropertyChanged
{
double SimulationSpeed { get; set; }
int... |
using System;
namespace Py2Cs.Logging
{
public class Logger
{
public void Log(string str, LogLevel level)
{
var oldColor = Console.ForegroundColor;
Console.ForegroundColor = GetColor(level);
Console.WriteLine(str);
Console.ForegroundColor = oldC... |
using UnityEngine;
using System.Collections;
using Jolly;
namespace Jolly
{
public class JollyDebug : MonoBehaviour
{
// Add strings to this array to make "GetFlag", "SetFlag", "ExecuteIf", "Log*If" work with these flags.
private string[] Flags = new string[] {
};
private bool[] FlagValues;
private voi... |
namespace Phonebook
{
public interface IPrinter
{
void Print(string text);
void Accept(IPrinterVisitor visitor);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using TestUser.Models;
namespace TestUser.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContex... |
using System;
static class Distance
{
public static double Calculation(Definition.Point first,Definition.Point second)
{
return Math.Sqrt(Math.Pow((second.x - first.x), 2) + Math.Pow((second.y - first.y), 2) + Math.Pow((second.z - first.z), 2));
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cubecraft.Net.Protocol.IO;
namespace Cubecraft.Net.Protocol.Packets
{
class ClientChatPacket : CubePacket
{
public string Text { get; private set; }
public ClientChatPacket... |
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 A2CourseWork.Gui
{
public partial class GeneratedReport : Form
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class CMD : MonoBehaviour {
[SerializeField]
private string playerPref;
public Text inputText;
private string outputText;
private Paper paper;
public bool correct;
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spearmen : Unit {
public bool hasUpgrade;
// Use this for initialization
void Start () {
StartCoroutine(SlowUp());
DetectionRange = 5;
AttackRange = 1.5f;
}
// Update is called once per f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clase_12_Library_2
{
public abstract class Vehiculo
{
#region Enum
public enum EMarca
{
Yamaha, Chevrolet, Ford, Iveco, Scania, BMW
... |
using AssetHub.DAL;
using AssetHub.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AssetHub.ViewModels.Asset.Partial
{
public class EditAssetViewModel
{
public class PropertyEditor... |
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;
using WinForm.Model;
namespace WinForm.UI.WinUserControl
{
public partial class GridTable_ImageCell ... |
using Assets.Scripts.Common.Interfaces;
using Assets.Scripts.Utilities;
using UnityEngine;
namespace Assets.Scripts.Player {
public class PlayerController : MonoBehaviour, ISteerable {
public Ship Ship { get; set; }
public GameObject Instance { get { return gameObject; } }
public Vect... |
using Library.DataAccess.Interface;
using Library.DomainModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;
namespace Library.DataAccess
{
public class BookReposit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using VolanTrans.Logic.Helpers;
namespace VolanTrans.Logic.Model
{
public class Renewables : List<RenewableModel>
{
private readonly List<RenewableModel> _renewableModels;
private readonly IRenewablesRep... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour
{
//Bullet Property and The Size of the Screen
[SerializeField]
private Camera m_MainCamera;
private float m_verticalSpeed = 5.0f;
private float m_height = Screen.height;
... |
// Copyright 2020 Google Inc. All Rights Reserved.
//
// 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... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.OleDb;
public partial class Kampanya : System.Web.UI.Page
{
public DataTable _dtMenu;
Data _sysData = new Data();
string _idAl;
OleDbConnection _... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.