text stringlengths 13 6.01M |
|---|
using System;
using System.Windows.Input;
using Cradiator.Views;
namespace Cradiator.Commands
{
public class ShowSettingsCommand : ICommand
{
readonly ICradiatorView _view;
readonly ISettingsWindow _settingsWindow;
public ShowSettingsCommand(ICradiatorView view, ISettingsWindow settingsWindow)
{
_view =... |
using System;
namespace SocketLite.Logs
{
public class ConsoleLogger : Logger
{
public ConsoleLogger() : base(false) { }
public ConsoleLogger(bool addTime) : base(addTime) { }
public override void Clear()
{
Console.Clear();
}
protected override vo... |
using Datalayer.Contracts;
using Datalayer.Domain;
using Microsoft.EntityFrameworkCore;
using Repository_UnitOfWork;
using Repository_UnitOfWork.Repositories;
using System;
using System.Collections.Generic;
using System.Text;
namespace Datalayer.Repositories
{
public class CourseRepository : Repository<Course>, ICou... |
using UnityEngine.UI;
using UnityEngine;
using UnityEngine.Audio;
public class soundManager : MonoBehaviour
{
public AudioClip tap,fire,powerUp,lazer,destroy;
private AudioSource source;
public Sprite[] images;
public GameObject backCanvas;
public GameObject[] particles;
// Start is called bef... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjetoAutoEscola
{
class Aluno: Usuario
{
String tipo_pagamento;
public String Tipo_pagamento
{
get { return tipo_pagamento; }
set { tipo_pa... |
using EddiDataDefinitions;
namespace EddiSpeechService
{
public partial class Translations
{
public static string getPhoneticShipManufacturer(string val2)
{
string phoneticManufacturer = ShipDefinitions.SpokenManufacturer(val2);
if (phoneticManufacturer != null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BarraLeather.Models;
using System.Web.Security;
using Newtonsoft.Json;
using System.Data.Entity;
namespace BarraLeather.Controllers
{
public class UsersController : Controller
{
// GET: Use... |
using DChild.Gameplay.Combat;
namespace DChild.Gameplay.Objects.Characters
{
public abstract class AttackResistances
{
public interface IResistance
{
float value { get; set; }
AttackType resistanceTo { get; }
}
public abstract IResistance[] resistances ... |
using System;
using System.Collections.Generic;
using System.Text;
using Breeze.AssetTypes.DataBoundTypes;
using Breeze.Helpers;
using Breeze.Screens;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Newtonsoft.Json;
namespace Breeze.AssetTypes
{
public class GroupAsset : DataboundCont... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessagesPerSecondColumn.cs">
// Copyright (c) 2021 Johannes Deml. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// public@deml.io
// </author>
// -------... |
using System.Collections.Generic;
namespace Rebalance.Repository
{
public interface IStockRepository
{
IEnumerable<Stock> GetPortfolio();
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassesIerarchy
{
public enum MissionStatus
{
InProgress,
Finished
}
public class Missions
{
private string missionName;
public Missions(string missionName,MissionStatu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace JenkinsTestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Social_Media_Exam.Classes
{
public class Post
{
public static int postID
{
get; set;
}
public string content
{
get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.CursorVisible = false;
Logic logic = new Logic();
... |
using System.Xml.Linq;
namespace EngageNet.Data
{
public class Address : ElementBase
{
public string Formatted
{
get { return GetPropertyValue("formatted"); }
}
public string StreetAddress
{
get { return GetPropertyValue("streetAddress"); }
}
public string Locality
{
get { return GetProper... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
public class buttonscript : MonoBehaviour {
public void test()
{
StartCoroutine(Load());
}
IEnumerator Load()
{
GetComponent<AudioSource>().Play();
yiel... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.IO;
using System.Net;
using System.Text;
namespace jaytwo.Common.Http
{
public static class HttpProvider
{
private static HttpClient _httpClient;
static HttpProvider()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZigAndZag
{
class ZigZag
{
static void Main()
{
Console.WriteLine("Enter how many number you want in your sequence (0 <= number <= 50)");
byte N... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace MoneyWeb.Extensions
{
public static class EnumExtensions
{
public static string ToDisplayName(this Enum e)
{
... |
using System;
namespace Welic.Dominio
{
public interface IUnidadeTrabalho : IDisposable
{
void Commit();
void Rollback();
void BeginTran();
}
} |
using System;
using System.Threading;
namespace DesignPatternsWideWorldImporters.Singleton
{
/// <summary>
/// This singleton implementation is thread safe. It uses a lock.
/// </summary>
public class PadlockedSingleton
{
private static PadlockedSingleton _instance;
private static... |
using CasaDoCodigo.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CasaDoCodigo.Aula1
{
public class ApplicationContext : DbContext
{
public ApplicationContext(DbContextOptions options) : base(optio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lab.MIS.Model;
namespace Lab.MIS.BLL
{
public class UserInfoService:BaseService<UserInfo>
{
public override void setCurrentDal()
{
CurrentDal = dbSession.GetUse... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MarieCurie.Interview.Assets.Model;
using MarieCurie.Web.Models;
namespace MarieCurie.HelperServices.Repositories
{
public static class HelperServicesMockRepository
{
public static List<HelperService> getCenters... |
using System;
using System.Collections.Generic;
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.Media;
using System.Windows.Media.Imaging;
using System.Windo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using System.Web.... |
using System.Collections.Generic;
using BashSoft.Exceptions;
namespace BashSoft.Models
{
public class Course
{
public const int NumberOfTaskOnExam = 5;
public const int MaxScoreOnExamTask = 100;
private string _name;
private Dictionary<string, Student> _studentsByName;
... |
using _7DRL_2021.Behaviors;
using _7DRL_2021.Systems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021
{
static class Manager
{
class Drawer
{
Guid ID;
WeakReference<ICurio> LastCuri... |
using _7DRL_2021.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Behaviors
{
class BehaviorDecay : Behavior, ITickable
{
public ICurio Curio;
public Slider Decay;
public int Score;
... |
using System;
namespace Cognology.FlightBookingApp.Dto
{
public class BookingSearchDto
{
public string PassengerName { get; set; }
public DateTime? Date { get; set; }
public string FlightNumber { get; set; }
public string ArrivalCity { get; set; }
public string Departur... |
using System;
namespace RPG
{
class Ninja : Human
{
public Ninja(string name) : base(name, 3, 3, 10, 100) { }
public void Steal(Enemy target)
{
health += base.Attack(target, 5);
Console.WriteLine($"{Name} steals 5 health from {target.Name}!");
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PropositionalFormulaProver.Prover;
namespace PropositionalFormulaProver.Prover.Node
{
public class Atom: INode
{
string atom;
public Atom(string atom){ this.atom = atom; }
public string getDebu... |
using System;
using System.Collections.Generic;
namespace Week4_Example_Dict
{
class Program
{
static void Main(string[] args)
{
// Creating a dictionary
Dictionary<int, string> courses = new Dictionary<int, string>();
// Adding items to a dicti... |
using System;
namespace Столбик
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
foreach (var item in input)
{
Console.WriteLine(item);
}
}
}
}
|
using Anywhere2Go.AccountingLogic;
using Anywhere2Go.DataAccess.AccountEntity;
using Claimdi.Account.Filters;
using Claimdi.Account.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Claimdi.Account.Controllers
{
public class DepartmentCont... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Wi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelManagement.DataObject;
using HotelManagement.BusinessObject;
using System.Windows.Forms;
using System.Data;
namespace HotelManagement.Controller
{
public class DangKyPhongControl
{
DangKyPhong... |
/* Copyright (c) 2007 Scott Lembcke ported by Jose Medrano (@netonjm)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use,... |
namespace Docller.Core.Common
{
public static class RequestKeys
{
public static string ProjectId = "projectId";
public static string FolderId = "folderId";
public static string FileInternalName = "fileInternalName";
public static string ParentFile = "parentFile";
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.UnifiedRedisPlatform.Core
{
public interface IUnifiedRedisPlatformLogger
{
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using ApartmentApps.Api;
using ApartmentApps.Api.ViewModels;
using ApartmentApps.Data;
using ApartmentApps.Data.Repository;
using ApartmentApps.Forms;
using ApartmentApps.Portal.... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using BLL.Services;
using UI.Models;
using UI.ViewModels;
using System.Globalization;
namespace UI.Pages
{
/// <summary>
/// Логика взаимодействия для RecordModificationPage.xaml
/// </summary>
public partial class Record... |
using System.Collections.Generic;
using System.Linq;
using Conditions;
using Conditions.Guards;
using Properties.Core.Factories;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
namespace Properties.Core.Services
{
public class CaselistService : ICaselistService
{
private readonly IPr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyClassLibrary;
namespace Les4Exercise1
{
class Program
{
//Ронжин Л.
//1. Дан целочисленный массив из 20 элементов.
//Элементы массива могут принимать целые значен... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Threading;
using System.Threading.Tasks;
public class Jeep4 : MonoBehaviour
{
public float Speed = 2f;
public GameObject EstadoSemaforo;
public bool Control1;
// Start is called before the first frame update
... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
//! What's this? (Create a Singleton)
public static GameManager gameManager;
private Scene currentScene;
private string sceneName;
public bool testMode;
// To-do: contain th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _006_Guess_Nr
{
class Program
{
static void Main(string[] args)
{
int rightNr = 77;
Console.WriteLine("I will choose a number [1-100]. Try to gu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using KartObjects;
namespace KartSystem
{
public class BasePresenter
{
private static AbstractDataConnection _dataContext;
/// <summary>
/// Соединение с базой данных
/// </... |
using EAN.GPD.Domain.Entities;
using EAN.GPD.Domain.Models;
using EAN.GPD.Domain.Repositories;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace EAN.GPD.Server.Controllers.V1
{
[Route("v1/departamento")]
public class DepartamentoController : BaseController<DepartamentoModel, Departame... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using iSukces.Code.Interfaces;
namespace iSukces.Code
{
public static class IsukcesCodeExtensions
{
public static DirectoryInfo FindFileHereOrInParentDirectories(this Directo... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Net;
using HtmlAgilityPack;
using System.IO;
namespace TumblrDownloader
{
public partial class... |
using System;
using System.Collections.Generic;
namespace Problem_01
{
class Program
{
//You will be given a sequence of strings, each on a new line.Every odd line on the console is representing a resource(e.g. Gold,
//Silver, Copper, and so on) and every even - quantity.Your task is t... |
using System;
using System.Runtime.Serialization;
using Library.Interfaces;
using Library.Serializers;
namespace Library.Model
{
[DataContract]
[KnownType(typeof(BookDescription))]
public class StateDescription : IOwnSerializable
{
public StateDescription(Item item)
{
Item... |
using System;
using System.Collections.Generic;
using System.Text;
using EQS.AccessControl.Domain.Specification.Credential;
using EQS.AccessControl.Domain.Specification.Person;
using EQS.AccessControl.Domain.Validation.Base;
namespace EQS.AccessControl.Domain.Validation.Register
{
public class RegisterConsistentV... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIObjectUtilitiesScript : MonoBehaviour {
public void Show(GameObject target) {
target.SetActive(true);
}
public void Hide(GameObject target) {
target.SetActive(false);
}
public void ToggleActive(GameObject target)... |
using System;
using System.Collections.Generic;
using CompositePattern.Iterators;
namespace CompositePattern.Abstractions
{
public abstract class MenuComponent
{
public virtual void Add(MenuComponent menuComponent)
{
throw new NotSupportedException();
}
public virt... |
using System;
namespace NStandard
{
public static partial class Any
{
/// <summary>
/// Creates a instance by the specified function.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="func"></param>
/// <returns></returns>
public stati... |
using System.Collections.Generic;
using Tomelt.ContentManagement;
namespace Tomelt.Roles.Models {
public interface IUserRoles : IContent {
IList<string> Roles { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Xlns.BusBook.Core.Model;
using System.ComponentModel.DataAnnotations;
namespace Xlns.BusBook.UI.Web.Models
{
public class RegistrationView
{
[Required(ErrorMessage = "Campo obbligatorio")]
... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Constant of type `Collision2D`. Inherits from `AtomBaseVariable<Collision2D>`.
/// </summary>
[EditorIcon("atom-icon-teal")]
[CreateAssetMenu(menuName = "Unity Atoms/Constants/Collision2D", fileName = "Collision2DConstant")... |
namespace Funding.Data.Models
{
using Funding.Common.Constants;
using Microsoft.AspNetCore.Identity;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class User : IdentityUser
{
[Required]
[StringLength(UserConst.UserMaxLenght, M... |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
using SciVacancies.Services.Logging;
using System;
using System.Data;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.Logging;
using Autofac;
using CommonDomain;
using CommonDomain.Core;
using CommonDomain.Persistence;
using CommonDomain.Persistence.EventStore;
using MediatR;
using NEventStore;
us... |
using System;
using System.Collections.Generic;
using System.IO;
namespace FriendConsole
{
class Program
{
static void Main(string[] args)
{
int i;
string[] temp;
string[] index = File.ReadAllLines(@"H:\H-temp\chegg\index.txt");
List<string> fri... |
using gView.Framework.UI.Controls;
using System;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.Framework.UI.Dialogs
{
public partial class FormCatalogTree : UserControl, IDockableWindow
{
public delegate Task NodeClickedEvent(TreeNode node);
pub... |
using UnityEngine;
using System.Collections;
public class character : MonoBehaviour {
Rigidbody2D charRB;
float hVelocity; // store the horizontal velocity
float vVelocity; // store the vertical velocity
public float speedOffset = 0.2f; // speed offset for horizontal movement, otherwise character zooms off sc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VolumetricFogAndMist {
public class VolumetricFogLightParams : MonoBehaviour {
public float rangeMultiplier = 1f;
public float intensityMultiplier = 1f;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using V50_IDOMBackOffice.AspxArea.MasterData.Models;
using V50_IDOMBackOffice.AspxArea.MasterData.Repositorys;
using IdomOffice.Interface.BackOffice.MasterData;
namespace V50_IDOMBackOffice.AspxArea.MasterData.Controllers
{
publi... |
using AzureAI.CallCenterTalksAnalysis.Infrastructure.Configuration.Interfaces;
using Microsoft.Extensions.Options;
namespace AzureAI.CallCenterTalksAnalysis.Infrastructure.Configuration
{
public class ComputerVisionServiceConfiguration : IComputerVisionServiceConfiguration
{
public string ApiKey { get... |
using System;
namespace com.Sconit.Entity.PRD
{
[Serializable]
public partial class WorkingShift : EntityBase, IAuditable
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
public ShiftMaster Shift { get; set; }
public Int32 WorkingCalendar { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RisingObject : MonoBehaviour
{
[SerializeField]
private float risingSpeed =1f;
[SerializeField]
private InGameUI ingameUI;
[SerializeField]
private MaxHeightCalculator maxHeight;
private bool now... |
// using makeChane implementation from class demo
using CurrencyLib.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CurrencyLib.MX
{
public class MXCurrencyRepo : ICurrencyRepo
{
public List<ICoin> Coins { get; s... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.... |
using System.Collections.Generic;
using TheMapToScrum.Back.DTO;
namespace TheMapToScrum.Back.BLL.Interfaces
{
public interface IProjectLogic
{
List<ProjectDTO> List();
List<ProjectDTO> ListActive();
ProjectDTO Create(ProjectDTO objet);
ProjectDTO Update(ProjectDTO ob... |
using Data;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
var connectioString = builder.Configuration.GetConnectionString("sqlserver");
builder.Services.AddDbContext<ApplicationDbContext>(option =>
{
o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MISA.Common.Models
{
public enum Gender
{
NONE=0,
MALE=1,
FEMALE=2,
AMTHOER=3
}
}
|
using Swish.Authorization;
using Swish.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Micr... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Models.ViewModels
{
public class BookingPackageVm
{
[Key]
public int BkpId { get; set; }
public int BookingTypeId { get; set; }
public string BktName { get;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class posShip : MonoBehaviour
{
private Vector3 rightTopCameraBorder;
private Vector3 leftTopCameraBorder;
private Vector3 rightBottomCameraBorder;
private Vector3 leftBottomCameraBorder;
private Vector3 siz;
// Start... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data;
using MySql.Data.MySqlClient;
namespace mysql
{
class Program
{
static void Main(string[] args)
{
string connectString = "Server=localhost;Database=gnote;Uid=root;Pwd=root";
... |
using SQLServerBackupTool.Lib.Annotations;
using System.ComponentModel.DataAnnotations;
namespace SQLServerBackupTool.Web.Models
{
[UsedImplicitly]
public class UserDatabase
{
[Key]
public int Id
{
get;
set;
}
[MaxLength(50), Required]
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Net.Http;
using System.Net.Http.Headers;
using CIBDigiTechAssessment.MVC.Models;
namespace CIBDigiTechAssessment.MVC.Client
{
public class PhoneBookClient
{
private string Base_URL = ConfigurationManager.AppSetti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaskManager.DataAccess;
namespace TaskManager.Business
{
public interface ITaskManagerHandler
{
void AddNewTask(Task task);
List<TaskView> GetAllTask();
List<TaskView> GetAllParentTask();
... |
using PhobiaX.Assets.Models;
namespace PhobiaX.Physics
{
public interface ICollidableObject
{
int X { get; set; }
int Y { get; set; }
int MiddleX { get; }
int MiddleY { get; }
int Width { get; }
int Height { get; }
CollissionMetadata Metadata { get; }
bool IsColliding(ICollidableObject collidab... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class Music : MonoBehaviour {
void Awake() {
DontDestroyOnLoad(transform.gameObject);
}
void OnEnable() {
SceneManager.activeSceneChanged += OnLevelChanged;
}
public void FullVolume() {
GetComponent<AudioSource>().volume = 1f;
}... |
using System;
using System.Threading;
namespace Week11ICE1
{
class MainClass
{
// game created by Sourabh Somani
// comments by Parker Hague
// creates an array that stores game positions
static char[] arr = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
stat... |
using CloudFoundry.CloudController.V2.Client;
using CloudFoundry.CloudController.V2.Client.Data;
using CloudFoundry.Logyard.Client;
using Microsoft.Build.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Thr... |
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using System.Xml.Serialization;
using AxiReports;
using FastReport;
using FastReport.Data;
using KartLib.Views;
using KartLib.Views.AlcoDeclModel;
using KartObjects;
namespace KartLi... |
using NUnit.Framework;
namespace WebDriverOnCore.TestsInit
{
public static class TestSettings
{
public static string GetBrowser => TestContext.Parameters["browser"];
public static string BaseUrl => TestContext.Parameters["baseUrl"];
public static string NewsUrl => BaseUrl + TestConte... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BizService
{
public class ComBase
{
/// <summary>
/// 服务器... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Sql;
using System.Data.Common;
using System.Data.SqlClient;
using System.Windows.Forms;
using Microsoft.Office.Interop.Excel;
namespace WindowsFormsApplication5
{
class ADOTest
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace... |
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using TheClickerGame.Services.Services.CounterService;
namespace TheClickerG... |
using LHRLA.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LHRLA.LHRLA.DAL.DataAccessClasses
{
public class RoleDataAccess
{
#region Insert
public bool AddRole(tbl_Role row)
{
try
{
using (var... |
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 AxisPosCore;
using KartObjects;
namespace AxiPos {
public partial class FormDiscountReasonSelect : Form, ISelectDiscountReason... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IOCPractices.DI
{
public class Start
{
public void StartMe()
{
DemoAppFirstWay demoApp = new DemoAppFirstWay();
demoApp.FirstWay();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using bellyful_proj.Models;
using bellyful_proj_v._0._2.Data;
namespace bellyful_proj_v._0._2.Controllers
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.