text stringlengths 13 6.01M |
|---|
/*
* Created by SharpDevelop.
* User: nk1449
* Date: 2017/05/29
* Time: 11:56
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
using System.IO;
using Tesseract;
using System.Drawing;
using System.Threading.Tasks;
name... |
using EmberCore.KernelServices.PluginResolver;
using EmberCore.KernelServices.UI.View;
using EmberCore.Services;
using EmberCore.Utils;
using EmberKernel;
using EmberKernel.Services.UI.Extension;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Sinks.SystemCons... |
namespace CouponMerchant.Utility
{
public static class SD
{
public const string AdminEndUser = "Admin";
public const string CustomerEndUser = "Customer";
public const int PaginationUsersPageSize = 5;
}
}
|
@charset "UTF-8";
/*!
* Bootstrap v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
:root {
--blue: #007bff;
--indigo: #6610f2;
--purple: #6f42c1;
--pink: #e83e8c... |
using System;
using System.Collections.Generic;
using UnityEngine;
class StandbyProcess : UniProcessModalEvent
{
public override ModalProcessType processType { get { return ModalProcessType.Process_Standby; } }
public StandbyProcess()
: base()
{
}
//投币数显示
public static string[] Coins... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DFrame;
namespace DPYM
{
/// <summary>
/// 警察类:相当于老板、老板娘、师傅
/// </summary>
public class Police : GameElement
{
}
}
|
using UnityEngine;
using System.Collections;
public class Twinkle : MonoBehaviour {
public float twinkleDuration = 3.0f;
public float twinkleSpeed = 30.0f;
float twinkleTime = 0.0f;
float time = 0.0f;
// Use this for initialization
void OnEnable()
{
twinkleTime = 0.0f;
ti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;//DOTweenを使用するため
public class ItemFactory : MonoBehaviour
{
[SerializeField] GameObject[] ItemObject;//発射するオブジェクト
[SerializeField] float span;//アイテムがたまるまでの間隔
[SerializeField] float delta;//溜めている時間
// Start... |
using System;
using WorkScheduleManagement.Data.Entities.Users;
namespace WorkScheduleManagement.Data.Entities.Requests
{
public abstract class Request : IEntity
{
public Guid Id { get; set; }
public ApplicationUser Creator { get; set; }
public RequestTypes RequestTypes { get; set; }... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class WorkerPathPreview : MonoBehaviour {
[SerializeField]
private LineRenderer lr = null;
[SerializeField]
private PathfindingAgent moveHelper = null;
[SerializeField]
private float zValue = -1;
private void Updat... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Skat;
using System;
namespace SkatUnitTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void Under200000() //Test: Hvis prisen er under 200.000
{
//Arrange
int pris = 134000;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.IO.Compression;
using log4net;
namespace PaletteInstaller.utils
{
class ZipTool
{
private static readonly ILog log = LogManager.GetLogger("ZipT... |
using System.Drawing;
using System.Windows.Forms;
using System;
using Project.Windows;
using System.Runtime.InteropServices;
namespace Project.Drawing
{
/// <summary>
/// スクリーンショット撮影クラス
/// </summary>
public class PrintScreen : CaptureAPI
{
/// <summary>
/// プライマリスクリーンの画像を取得する
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace jaytwo.Common.Extensions
{
public static class LinqExtensions
{
public static IEnumerable<T> DistinctBy<T, TKey>(this IEnumerable<T> enumerable, Func<T, TKey> selector)
{
return enumerable.GroupBy(selector).Select... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using InstituteOfFineArts.Areas.Identity.Data;
using InstituteOfFineArts.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarValueApi.Model
{
public class Root
{
/// <summary>
/// Make input of the car
/// </summary>
public string make { get; set; }
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.Sconit.PrintModel
{
public class SpecialBarCode
{
public string Code { get; set; }
public string Desc1 { get; set; }
public string Desc2 { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lesson6
{
interface NewInterface
{
double Add();
}
interface NewInterface2
{
double Add();
}
class SomeClass : NewInterface, NewInterface2
{
double NewInterface.Add()
{
retu... |
using FamilyAccounting.DAL.Connection;
using FamilyAccounting.DAL.Entities;
using FamilyAccounting.DAL.Interfaces;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace FamilyAccounting.DAL.Repositories
{
public class AuditRepository : IAuditRepo... |
using BattleEngine.Actors.Damages;
namespace BattleEngine.Actors.Bullets
{
public class BattleBullet : BattleObject
{
public virtual void update(int tick, int deltaTick)
{
}
public virtual BattleDamage generateDamage()
{
return null;
}
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[RequireComponent(typeof(MovingComponent))]
[RequireComponent(typeof(RotatorComponent))]
[RequireComponent(typeof(ChargerComponent))]
public class PropulsorComponent : MonoBehaviour, IDebugDrawable
{
[S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SamuraiWalkBack : MonoBehaviour
{
/*
public SamuraiBehaviour samurai;
//public Transform target;
public float speed;
float distance;
*/
public SamuraiBehaviour samurai;
public AstarSamurai samur... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks.Editor
{
/// <summary>
/// Event property drawer of type `ColliderGameObject`. Inherits from `AtomEventEditor<ColliderGameObject, ColliderGameObjectE... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
using DevExpress.XtraEditors;
using DevExpress.XtraVerticalGrid;
using DevExpress.XtraVerticalGri... |
public class Player {
public string Name { get; }
public int Id { get; }
public Category[] Scoreboard { get; } = {
new Category("Ones"),
new Category("Twos"),
new Category("Threes"),
new Category("Fours"),
new Category("Fives"),
new Category("Sixes"),
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnlockableDoor : Unlockable
{
public float doorOpening = 0.25f;
public float doorOpeningTime = 1.0f; // how long (in seconds) will it take to open the door?
public float doorOpenDuration = 5.0f; // how long (in sec... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace _005_ExtendingModelClass.Models
{
[MetadataTypeAttribute(typeof(GeneroMetadata))]
partial class Genero
{
public sealed class GeneroMetadata
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kadastr.Data.DB
{
class Entity
{
public static IQueryable<TEntity> Select<TEntity>()
where TEntity : class
{
AppDBCont... |
using ConsolePiano.InstrumentalNote;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsolePiano
{
public interface IPianoKey
{
MusicalTone Tone { get; set; }
string Alias { get; set; }
void Play(DefaultInstrumentNote instrumentNote);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleMove : MonoBehaviour
{
private void Start()
{
}
// Update is called once per frame
void Update()
{
var pos = transform.position;
if (Input.GetKey(KeyCode.W))
pos.y = p... |
namespace Customer
{
public enum CustomerType
{
//One-time , Regular, Golden, Diamond
Onetime,
Regular,
Golden,
Diamond
}
} |
using MD.PersianDateTime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iGarson_App.Models
{
[Serializable]
public class Orders
{
public int id { get; set; }
public string pay { get; set; }
public str... |
using Plugin.GoogleAnalytics.Abstractions;
using Plugin.GoogleAnalytics.Abstractions.Model;
namespace Plugin.GoogleAnalytics
{
public sealed partial class PlatformInfoProvider : IPlatformInfoProvider
{
public PlatformInfoProvider()
{
var device = new DeviceInfo();
Scree... |
using DChild.Gameplay.Environment;
using DChild.Gameplay.Player;
using DChild;
using UnityEngine;
using DChild.Gameplay;
public class RopeSegment : MonoBehaviour, IInteractable {
public Vector3 position => transform.position;
private Rigidbody2D m_rigidbody;
public new Rigidbody2D rigidbody
{
... |
using System;
using System.Globalization;
namespace HastaOtomasyonLib
{
public abstract class Insan
{
#region Fields
private string _ad, _soyad, _telefon;
#endregion
#region Properties
public string Ad
{
get { return _ad; }
set { _ad = Ad... |
namespace Sila.Services.MongoDb
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using Sila.Models.Database;
using Sila.Options;
/// <summary>
/// The service for interacting wit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MMDB.Extensions
{
public static class StringExtensions
{
public static String Substring(this String str, String start, String end)
{
int from = ... |
using UnityAtoms.Mobile;
namespace UnityAtoms.Mobile
{
/// <summary>
/// Action of type `TouchUserInputPair`. Inherits from `AtomAction<TouchUserInputPair>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class TouchUserInputPairAction : AtomAction<TouchUserInputPair> { }
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRTK;
//Script used to fix a bug where you could grab a fractured chunk while it was still in a static Fractured Object.
public class StaticGrabCorrector : MonoBehaviour {
FracturedChunk cScript;
bool DEBUG = false;
VRTK_Interact... |
using System;
namespace Belatrix.JobLogger.Exceptions
{
public class JobLoggerManagerException : Exception
{
public JobLoggerManagerException()
{
}
public JobLoggerManagerException(string message)
: base(message)
{
}
public J... |
using QRCoder;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
namespace Anywhere2Go.Library
{
public class QRCodeGenerate
{
public string GenQRCode(string data)
{
try
{
QRCodeGenerator... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Threading;
namespace Win32.Devices
{
public enum DeviceType
{
Port, Interface
}
public class DeviceInfo
{
public Dev... |
using System.Collections.Generic;
namespace Atc.XUnit
{
/// <summary>
/// TestResult.
/// </summary>
public class TestResult
{
/// <summary>
/// Initializes a new instance of the <see cref="TestResult"/> class.
/// </summary>
/// <param name="text">The text.</param>... |
using System;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Windows.Forms;
using DelftTools.Controls;
using DelftTools.Controls.Swf.Editors;
using DelftTools.Controls.Swf.Table;
using DelftTools.Tests.Controls.Swf.Table.TestClasses;
using DelftTools.TestUtils;
using DelftTools.Utils;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nac.Common;
using System.Collections.Specialized;
using Nac.Wpf.Common;
using System.Windows.Threading;
using System.Windows;
using System.Dia... |
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Extensions
{
public static class CorsServiceExtensions
{
public static IServiceCollection ConfigureCors(this IServiceCollection services)
... |
using Moudou.CodeGenerator.AbstractionClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SampleTemplateProject.Framework
{
public class DBInitValue : IInitValue
{
public void SetValue(string SourceText)
{
}
}
}... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class musicBG : MonoBehaviour
{
[SerializeField] private AudioClip backgroundMusic;
private AudioSource bgMusic;
[SerializeField] private GameObject musicPanel;
bool panel... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ReflectionSpike
{
public enum VariableType
{
String,
Integer
}
public enum ElapsedTimeIn
{
Milliseconds,
Ticks
}
}
|
using System;
class InvalidNumber
{
static void Main()
{
int a = int.Parse(Console.ReadLine());
if ((a >= 100 && a <= 200) || a == 0)
{
return;
}
else
{
Console.WriteLine("invalid");
}
}
}
|
using HabMap.ProjectConfigurations.Models;
using Prism.Mvvm;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace HabMap.ProjectConfigurations.ViewModels
{
public class NodeServerDataDetailViewModel... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Command.Example2
{
public interface IAppCommand
{
void Execute(string text);
void Undo();
}
}
|
using MongoDB.Entities;
using NUnit.Framework;
using ProductService.Persistance.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using MongoDB.Driver;
namespace ProductService.Application.Tests.Unit
{
public abstract class BaseProductTest
{
const string databaseName = "Prod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebDeanery.DataLayer;
namespace WebDeanery.Models
{
public class FacultetModel
{
public Int32 FacultetId { get; set; }
public String FacultetName { get; set; }
public String ShortName { get; se... |
using System;
using System.Threading;
using System.Threading.Tasks;
using CronScheduler.Extensions.Scheduler;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace CronScheduler.UnitTest;
public class TestJobExceptionOptions : SchedulerOptions
{
public bool RaiseException { get; set... |
using Abp.MultiTenancy;
namespace Abp.Zero.NHibernate.EntityMappings
{
public class TenantMap : TenantMapBase<AbpTenant>
{
}
} |
using System;
namespace DesignPatterns.State.SystemPermissionExample
{
public abstract class PermissionState
{
protected string name;
public static PermissionState REQUESTED = new PermissionRequested();
public static PermissionState UNIX_REQUESTED = new UnixPermissionRequested();
... |
using UnityEngine;
using System.Collections;
public class InfomationScroll : MonoBehaviour {
public float scrollSpeed = 1.0f;
public float waitTime = 1.0f;
public float finishPosX = -15f;
public float resetPosX = 4f;
bool isMoveText = false;
int frame = 0;
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Docller.Core.Common;
using Docller.Core.Services;
namespace Docller.Common
{
public class DownloadResult : FileResult
{
private readonly IDownloadProvider _downloadProvider;
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Model.IntelligenceDiningTable.ResponseResult
{
/// <summary>
/// 元素含量
/// </summary>
public class E_Nutrition
{
/// <summary>
/// 元素名... |
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 Cyber_FerCesar_Sistema
{
public partial class Frm_GestaoFornecedor : Form
{
pu... |
using System;
using System.Globalization;
using Atc.CodeAnalysis.CSharp.SyntaxFactories;
using Microsoft.CodeAnalysis.CSharp;
using Xunit;
namespace Atc.CodeAnalysis.CSharp.Tests.SyntaxFactories
{
public class SyntaxLiteralExpressionFactoryTests
{
[Theory]
[InlineData("1.01")]
[InlineD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Barker.Models
{
public class User
{
[JsonPropertyName("UserID")]
public int UserID { get; set; }
[JsonPropertyName("Email")]
public s... |
using MyHeroKill.Managers;
using MyHeroKill.Model.Wepons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyHeroKill.Model.Roles
{
public abstract class BaseRole : IRole
{
#region 属性
public int IndexOfRoles
{... |
using EddiDataDefinitions;
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class EmbarkEvent : Event
{
public const string NAME = "Embark";
public const string DESCRIPTION = "Triggered when you transition from on foot to a ship or SRV";
public const string ... |
using System.Threading.Tasks;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace TelegramFootballBot.Core.Models.Commands
{
public abstract class Command
{
public abstract string Name { get; }
public abstract Task ExecuteAsync(Message message);
public bool StartsWith... |
using Entoarox.Framework.UI;
namespace Entoarox.Framework.Indev //.UI
{
internal class RecipeComponent : BaseInteractiveMenuComponent
{
/*********
** Public methods
*********/
public RecipeComponent(int item, bool craftable = true) { }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4.WeAllLoveBits
{
class LoveTheBits
{
static void Main()
{
ushort userInput = ushort.Parse(Console.ReadLine());
int p = 0;
int pRe... |
//Name: ScreenFade.cs
//Project: Spectral: The Silicon Domain
//Author(s) Conor Hughes - conormpkhughes@yahoo.com
//Description: This script creates a fade-to-black transition used by several other scripts.
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ScreenFade : MonoBehaviour... |
namespace Core
{
/// <summary>
/// Base result class for responses
/// </summary>
public class BaseActionResult : BaseResult
{
}
}
|
using System.Collections.Generic;
using SkillPrestige.Logging;
using SkillPrestige.Professions;
using SkillPrestige.Professions.Registration;
namespace SkillPrestige.Mods.MyLuckSkill
{
// ReSharper disable once UnusedMember.Global - referenced and created through reflection.
public sealed class LuckRegistrati... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using System.IO;
using Hl7.Fhir.Support;
using Hl7.Fhir.Serializers;
using System.Text.RegularExpressions;
using System.Xml;
name... |
using SocialWorld.Business.Interfaces;
using SocialWorld.Business.StringInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SocialWorld.WebApi
{
public static class JwtIdentityInitializer
{
public static async Task Seed(IAppUserService appUs... |
using System;
using System.Collections.Generic;
namespace IrsMonkeyApi.Models.DB
{
public partial class StateCode
{
public string StateCode1 { get; set; }
public int StateCodeId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using Crossroads.Utilities.Services.Interfaces;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
using Moq;
using NUnit.Framework;
using SignInCheckIn.Models.DTO;
using SignInCheckIn.Services;
using SignInCheckIn.... |
using NUnit.Framework;
using Problems;
namespace Tests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Program p = new Program();
string result = p.Prefix("what ... did you say??");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Szab.Hybrids;
using Szab.Scheduling.Representation;
using Szab.Extensions;
namespace Szab.Scheduling.MSRCPSP
{
public class MSRCPSPAnnealedEASolver : AnnealedTournamentEvolutionarySolver<ScheduleSpecimen>
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Oop._12_RefactoringBindAll
{
class Program
{
static int GetControlDigit0(long number)
{
int sum = 0;
bool isOddPos = true;
while (number > 0)
{
int digi... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Menus
{
class StatMenu : Menu
{
public a... |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class LowFuelEvent : Event
{
public const string NAME = "Low fuel";
public const string DESCRIPTION = "Triggered when your fuel level falls below 25% and in 5% increments thereafter";
public const string SAMPL... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class MagicMouseEvents : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler //for setting magic menu details
{
public Text magicDesc;
public T... |
using EmployeeDeactivation.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeDeactivation.Interface
{
public interface IAdminDataOperation
{
List<Teams> RetrieveSponsorDetails();
Task<bool> AddSponsorData(string teamName, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace _2018_07_28.Pages
{
public class IndexModel : PageModel
{
public static int Count = 0;
public int OtherCount = 0... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlowerPower : MonoBehaviour
{
public float timer = 10.0f;
Material[] mat = new Material[4];
Rigidbody fireball;
AudioSource effectsrc;
AudioClip firesound;
// Start is called before the first frame upda... |
using OrgMan.Data.Repository.Repositorybase;
using OrgMan.DataContracts.Repository.RepositoryBase;
using OrgMan.DataModel;
namespace OrgMan.Data.Repository
{
public class LoginRepository : GenericRepository<Login>, IGenericRepository<Login>
{
public LoginRepository(OrgManEntities context) : base(conte... |
using System;
using System.Collections.Generic;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
namespace Common
{
public static class Util
{
public static IDocumentStore GetStore(Options options)
{
var uri = new Uri(options.ConnectionString);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace _04.CompareTwoTextFiles
{
class CompareTwo
{
static void Main()
{
string path1 = "../../test.txt";
string path2 = "../../test2.... |
using System.Linq;
using Cradiator.Config;
using Cradiator.Model;
using Cradiator.Services;
using Cradiator.Views;
using FakeItEasy;
using Ninject;
using NUnit.Framework;
using Shouldly;
namespace Cradiator.Tests.Model
{
[Ignore("Integration tests")]
[Category("Integration")]
[TestFixture]
public class BuildStatus... |
using Assets.Gamelogic.Utils;
using Assets.Gamelogic.Player;
using Improbable;
using Improbable.Core;
using Improbable.Unity;
using Improbable.Unity.CodeGeneration;
using Improbable.Unity.Visualizer;
using UnityEngine;
namespace Assets.Gamelogic.Interactable
{
//[WorkerType(WorkerPlatform.UnityClient)]
public... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Linq;
namespace Compare
{
internal class FileComparison : IFileCompare
{
public CompareValue.Types Similar(CompareValue srcCompareValue, CompareValue tarCompareValue)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class AppeaseTimeoutPI : GhostPersonalityInstaller
{
float timeRemainingForAppeasement = 55;
public override bool InstallPersonality(Ghost ghost)
{
if (ghost.appeaseConditionInstalled ... |
using LibraryCoder.UtilitiesMisc;
using System;
using System.Diagnostics;
using Windows.Foundation.Metadata;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
namespace SampleUWP
{
enum UseBackButton { Off, On }; // Used to t... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using PagedList;
using WebQLKhoaHoc.Models;
namespace WebQLKhoaHoc.Controllers
{
public class HomeController : Controller
{
private QLKhoaH... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace verifyData
{
class Program
{
static void Main(string[] args)
{
VerifyData vd = new VerifyData(args[0]);
vd.Verify();
}
}
}
|
using Funding.Common.Constants;
using System;
using System.ComponentModel.DataAnnotations;
namespace Funding.Data.Models
{
public class Comment
{
public int Id { get; set; }
[Required]
[StringLength(ProjectConst.CommentMaxLength, MinimumLength = ProjectConst.CommentMinLengt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class RecoverPasswordSolution : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["RecoverAnswer"] == null)
... |
namespace dotless.Test.Specs.Functions
{
using NUnit.Framework;
public class ContrastFixture : SpecFixtureBase
{
[Test]
public void TestContrast()
{
AssertExpression("white", "contrast(#000000)");
AssertExpression("black", "contrast(#FFFFFF)");
//AssertExpressionError(... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Library.API.Configurations
{
public static class RedisCacheConfig
{
public static void AddRedisCacheConfiguration(this IServiceCollection services, IConfiguration configuration)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Scores : Singleton<Scores>
{
[SerializeField]
private int _maxScore;
[SerializeField]
private Text _scoreText;
[SerializeField]
private FinishGame _finishGame;
public int Cur... |
using Spotify_2._0.Backend;
using Spotify_2._0.Classes;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Spotify_2._0
{
/// <summary>
/// Interaction logic for MainWindow.xaml
//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.