text stringlengths 13 6.01M |
|---|
using System.ComponentModel;
namespace Properties.Core.Objects
{
public enum AdvertiseActionType
{
Unknown = 0,
[Description("Advertise Single")]
AdvertiseSingle = 1,
[Description("Advertise All")]
AdvertiseAll = 2,
[Description("Remove Single")]
RemoveS... |
using UnityEditor;
using UnityEngine;
namespace EditorExtensions
{
public class LayoutTest : ScriptableWizard
{
private static LayoutTest window;
private Vector2 firstPos;
private Vector2 secondPos;
private bool isExpand;
[MenuItem("Tools/窗口布局测试/展开折叠")]
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeDeactivation.Interface
{
public interface IPdfDataOperation
{
void SendPdfAsEmailAttachmentDeactivation(string memoryStream, string employeeName, string teamName);
void SendPdfAsE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FSWatcher.Models;
using System.Data.SQLite;
namespace FSWatcher.Services {
class SQLiteLoggerService : ILoggerService {
private SQLiteConnection sql;
private string tableName;... |
using Discord;
using JhinBot.Conversation;
using JhinBot.DiscordObjects;
using JhinBot.Utils;
using System.Collections.Generic;
namespace JhinBot.Services
{
public interface IEmbedService : IService
{
EmbedBuilder CreateEmbed(string title, string colorCode, IUser author = null, string desc = "", strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public interface IMenu
{
void CheckForPressing();
}
public class Menu : MonoBehaviour
{
public bool pressed = false;
public MenuElement Notes;
public MenuElement Pause;
public MenuElement currentM... |
using System.Collections.Generic;
using System.Linq;
using Simulator.Utils;
namespace Simulator.Instructions {
internal class CpuInstructionManager {
internal CpuInstructionManager(IEnumerable<CpuInstruction> instructions) {
Instructions = new Dictionary<CpuValue, CpuInstruction>();
... |
using Arduino_Alarm.SetAlarm;
using Arduino_Alarm.SetAlarm.GetSchedule;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Arduino_Alarm
{
public class Factory
{
public static string Time { get; set; }
public static DayO... |
using Arduino_Alarm.Manual_Settings;
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.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class firstTimerUser : MonoBehaviour {
public int position;
public Button next,previous;
public GameObject gambarback,storyGO;
public GameObject[] story;
// Use this for initialization
void Start () {
... |
namespace Flux.src.Flux.Renderer
{
public class CubeShapeFactory : IShapeFactory
{
public IShape Create()
{
return new Platform.OpenGL.OpenGLCube(Platform.OpenGL.OpenGLCube.VAODataType.VERTS);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using DTO;
namespace DAO
{
public class TuKhoaDuongDAO : AbstractDAO
{
//Tim duong
//return maDuong
public static int TimDuong(List<string> dsCumTu)
{
... |
namespace DotNetBrightener.LinQToSqlBuilder.Adapter
{
class SqlServerAdapter : SqlServerAdapterBase, ISqlAdapter
{
public string QueryStringPage(string source, string selection, string conditions, string order,
int pageSize, int pageIndex = 0)
{
... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Aplicacao.ServicosApp
{
public class AppServicoAd... |
using System;
using System.Collections.Generic;
using FunctionalProgramming.Basics;
namespace FunctionalProgramming.Monad
{
public interface IWriter<TLog, TValue>
{
Tuple<TLog, TValue> ValueWithLog();
TValue Value();
}
public static class Writer
{
public static IWriter<TLo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using GrubTime.Models;
u... |
using LocusNew.Core.Models;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Description;
using LocusNew.Core;
namespace LocusNew.Areas.Admin.Controllers.ApiControllers
{
[Authorize]
public class PropertyTypesController : ApiController
{
private readonly IUnitOfWork _unitOfWork;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MissionScript : MonoBehaviour
{
public GameObject PanelText;
public bool Locked;
// Use this for initialization
void Start ()
{
HideTextPanel ();
}
public void HideTextPanel ()
{
StartCoroutine (HidePanel... |
using System.Collections.Generic;
using LocusNew.Core.Models;
namespace LocusNew.Core.Repositories
{
public interface ISellerLeadsRepository
{
void AddSellerLead(SellerLead lead);
SellerLead GetSellerLead(int id);
IEnumerable<SellerLead> GetSellerLeadsWithPropertyType();
void R... |
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int x) { val = x; }
* }
*/
public class Solution {
private TreeNode Helper(int[] inorder, int iStart, int iEnd, int[] postorder, int pStart,... |
using System;
namespace AppStore.Streaming.Handlers
{
public class ProcessPaymentHandler
{
public int OrderId { get; set; }
public Guid? InstantBuyKey { get; set; }
public CreditCardBrand? Brand { get; set; }
public string Number { get; set; }
public int? ExpMonth { get... |
using Microsoft.Azure.Cosmos.Table;
using System;
using System.Threading.Tasks;
namespace AzureTableStorage
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Table storage sample");
var storageConnectionString = "DefaultEndpointsProtocol=https;Acco... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TheQuest.Models
{
public class Character
{
public Character()
{
this.Stats = new HashSet<Stats>();
this.Friends = new HashSet<Character>();
... |
using System.Collections.Generic;
using com.Sconit.Entity.SYS;
using com.Sconit.Entity.INV;
using com.Sconit.Entity.MD;
using com.Sconit.Entity.ORD;
using com.Sconit.Entity.VIEW;
using System;
using com.Sconit.Entity.PRD;
using com.Sconit.Entity.INP;
namespace com.Sconit.Service
{
public interface ILocationDetail... |
namespace UniNode
{
public class Node
{
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace OSRSClientSide.Models
{
public class PaymentDTO
{
public string nameOnCard { get; set; }
public int? cardNumber { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EX_4A_Farm
{
class Rabbit
{
public Rabbit(string name)
{
string animalName = name;
Console.WriteLine($"Hello, my name is {animalName}. ");
... |
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class TreeListController : DemoController {
[HttpGet]
public ActionResult Export() {
TreeListExportDemoOptions options = new TreeListExportDemoOptions() {
EnableAutoWidth = false,
Expa... |
using System;
using Xunit;
namespace EmailChecker_Test
{
public class UnitTest1
{
[Fact]
public void Test1()
{
string mailaddress = "irgendwas@web.de";
bool result = Program.IsEmailAdress(mailaddress);
Assert.True(result, "Expected " + mailaddress + "... |
using LoowooTech.Stock.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Rules
{
public class SplinterRule:IRule
{
public string RuleName { get { return "面层是否存在不符合上图要求的碎片多边形"; } }
public string ID { get { return "4201"; } }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TCPClient
{
class Client
{
public TcpClient client = new TcpClient();
... |
using AsNum.XFControls.Behaviors;
using AsNum.XFControls.Binders;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
using Xamarin.Forms;
namespace AsNum.XFControls {
/// <summary>
///
/// </summary>
[System.O... |
using System;
using Net01_1.Model;
namespace Net01_1.Extensions
{
public static class BaseEntityGuidExtention
{
public static void CreateEntityGuid(this BaseEntity entity)
{
entity.Id = Guid.NewGuid();
}
}
}
|
using System;
namespace AdventCode4
{
class Program
{
static void Main(string[] args)
{
int lower = 153517;
int upper = 630395;
int count = 0;
for(int x = lower;x<= upper; x++)
{
if (DupCheck(x.ToString()) && IncCheck(... |
using System;
using System.Collections.Generic;
public class QuickUnionUF
{
private List<int> id = new List<int>();
private List<int> sz = new List<int>();
public QuickUnionUF(int N)
{
for (int i = 0; i < N; ++i)
{
id[i] = i;
sz[i] = 1;
}
}
public int Root(int i)
{
while (id[i]... |
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 Kingdee.CAPP.BLL;
using Kingdee.CAPP.Model;
namespace Kingdee.CAPP.UI.ProcessDataManagement
{
/// <summary>
/// 类型说明:典型工... |
using System;
using com.Sconit.Entity.SYS;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.MD
{
public partial class ProductType
{
#region Non O/R Mapping Properties
[CodeDetailDescriptionAttribute(CodeMaster = com.Sconit.Cod... |
using System;
using System.Collections.ObjectModel;
using MVVM_WPF_HelloWorld.DataAccess;
using System.Windows.Input;
using System.Windows.Media;
namespace MVVM_WPF_HelloWorld.ViewModel
{
public class EmployeeListViewModel : ViewModelBase
{
readonly EmployeeRepository _employeeRepository;
Rel... |
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System;
using System.Collections.Generic;
using System.Text;
namespace PiwoBack.Services.Services
{
public class PictureService
{
public static int Save(string srcPath, string destPath)
{
int savedImage = 0;... |
using System;
namespace Equal_Sums_Even_Odd_Position
{
class Program
{
static void Main(string[] args)
{
int firstInterval = int.Parse(Console.ReadLine());
int secondInterval = int.Parse(Console.ReadLine());
for (int number = firstInterval; number <= secondI... |
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Geometry;
using System.Text;
using System.Threading.Tasks;
using gView.Framework.Extensions;
using gView.Framework.OGC.Extensions;
namespace gView.Framework.OGC.GML
{
public class FeatureTranslator
{
#region Feature T... |
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;
namespace Model.ViewModel
{
public class QAGroupLineLineViewModel
{
pub... |
using mec.Database.Presentees;
using mec.Model;
using mec.Model.Apps;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Filters;
namespace mec.Cleint.Portal.Controllers
{
public class SystemController : ApiContr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class End : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Label1.Text = Session["MSG"].ToString();
}
protected... |
using UnityEngine;
using System.Collections;
public class LightGem : MonoBehaviour {
//variable declaration
protected RaycastHit hitInfo;
public float f_RayLength;
protected bool b_IsOn;
public GameObject lightObject;
public GameObject sunGem;
private PlayerStates player;
// Use this for initialization
void ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleDestroy : MonoBehaviour {
private void OnTriggerEnter2D(Collider2D collision)
{
//Debug.Log(collision.collider.name);
if (collision.tag == "Player" || collision.tag == "Projectile")
{
... |
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 ClientApp
{
public partial class ClientForm : Form
{
SynchronousSocketClient s... |
using Xunit;
namespace DotNetCross.Memory.Tests
{
public class Unsafe_AsPointer_Test
{
[Fact]
public unsafe void Int()
{
var ptr = stackalloc int[1];
*ptr = 42;
var actualPtr = Unsafe.AsPointer<int>(ref *ptr);
Assert.True(ptr == actualPtr)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Newtonsoft.Json;
using System.Web;
using WebApplication11.Models;
using Microsoft.Ajax.Utilities;
using System.Web.Script.Serialization;
namespace WebApplication11.Controllers
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clase3.Ejercicio3.ContadorPalabras
{
/// <summary>
/// Realizar un software que solicite al usuario que ingrese un párrafo por teclado y el software
/// cuente la cantidad de ocurr... |
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Soul", menuName = "Soul Hunter/Soul")]
public class SoulData : ScriptableObject // Mort
{
public Color color;
public int soulPower;
[SerializeField] GameObject particle;
public void SpawnParticle(Vector3 position)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace test {
public class EnemyController : MonoBehaviour
{
public static EnemyController instance;
public bool horizontal;
public float health = 20f;
public... |
using Unity;
using Unity.Extension;
using Unity.Lifetime;
namespace Motherload.Factories
{
/// <summary>
/// Classe que lida com o DI
/// </summary>
public static class DependencyInjector
{
/// <summary>
/// Unity Container
/// </summary>
private static readonly Uni... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServiceLayer
{
public interface IValidationService
{
bool IsValidRequestInformationFormSubmission(
string name,
string emailAddress,
string phoneNumber,
stri... |
using System.Collections.Generic;
using Properties.Core.Objects;
namespace Properties.Core.Interfaces
{
public interface IPropertyCheckService
{
List<PropertyCheck> GetChecksForProperty(string propertyReference);
PropertyCheck GetCheckForProperty(string propertyReference, string propertyCheckR... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GatewayEDI.Logging;
namespace NLogFacade
{
/// <summary>
/// An implementation of the <see cref="ILogFactory"/> interface which creates <see cref="ILog"/> instances that use the NLog framework as the underlying logging... |
using System;
namespace UKPR.Hermes.Models
{
public class AggregatedContract
{
public Guid ContractId { get; set; }
public decimal AverageValue { get; set; }
public DateTime WindowEndUtc { get; set; }
public string ClientContractId { get; set; }
public WindowType Se... |
using System;
// ReSharper disable once CheckNamespace
namespace Atc
{
/// <summary>
/// Enum Guid Attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
public sealed class Enu... |
using System;
using System.Text;
using System.Collections;
namespace AgileVisions.IndexManager.DocumentManagement
{
/// <summary>
/// Created by Mayukh Dutta (mayukh_dutta@homail.com)
/// Date: 8/31/2006
/// </summary>
[Serializable]
public class Documents : CollectionBase
{
public void Add(Document document)... |
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using System.Collections.Generic;
namespace MultiplayerEmotes.Framework {
/// <summary>
/// TEST - Animation trough sprite broadcast.
/// Issue: Sprite position does not change for other players.
/// </s... |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using GeoAPI.Geometries;
using GisSharpBlog.NetTopologySuite.Geometries;
using SharpMap.UI.Forms;
using SharpMap.Styles;
using GeometryFactory = SharpMap.Converters.Geometries.GeometryFactory;
namespace SharpMap.UI.Helpers
{
public class MapContro... |
using System;
using System.Collections.Generic;
using System.Linq;
using DFC.ServiceTaxonomy.GraphSync.Exceptions;
using DFC.ServiceTaxonomy.GraphSync.Interfaces;
using DFC.ServiceTaxonomy.GraphSync.Models;
using DFC.ServiceTaxonomy.GraphSync.Extensions;
using DFC.ServiceTaxonomy.GraphSync.Interfaces.Queries;
using DF... |
using NetEscapades.AspNetCore.SecurityHeaders.Headers;
// ReSharper disable once CheckNamespace
namespace Microsoft.AspNetCore.Builder
{
/// <summary>
/// Extension methods for adding a <see cref="ReferrerPolicyHeader" /> to a <see cref="HeaderPolicyCollection" />
/// </summary>
public static class Ref... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Threading;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Entity.SSO;
using IRAP.Entities.MDM;
using IRAP.WCF.Client.Method;
namespace IRAP.Client.SubSystem
{
public c... |
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace AsNum.XFControls {
/// <summary>
/// 左右滑动幻灯片
/// </summary>
[ContentProperty("Children")]
public class Flip : View {
/// <summary>... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Arduino_Alarm.EnterSettings;
namespace UnitTestProject1
{
[TestClass]
public class Enter_settings_Tests
{
[TestMethod]
[ExpectedException(typeof(ArgumentException))]
public void Should_be_int()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Moveplatform : MonoBehaviour {
private Vector3 startPosition;
bool up=true;
// Use this for initialization
void Start () {
//maxSpeed = 3;
startPosition = transform.position;
}
// Update is called once per fram... |
using System;
using System.ComponentModel.Design;
using System.Dynamic;
namespace Present_Delivery
{
class Program
{
private static int countOfPresents;
private static int happyKids = 0;
static void Main(string[] args)
{
var m = int.Parse(Console.ReadLine());
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace Comp2007_Assignment2.Models
{
public class Pokemenu : DropCreateDatabaseIfModelChanges<PokemonBytesContext>
{
protected override void Seed(PokemonBytesContext context)
{
... |
using System;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StarlightRiver.Abilities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace StarlightRiver.Projectiles.Dummies
{
class BouncerDummy : ModProjectile
{
public override void ... |
using System.Collections;
using UnityEngine;
using UnityEngine.Assertions;
namespace RPG.Characters
{
public class WeaponSystem : MonoBehaviour
{
[SerializeField] float baseDamage = 10f;
[Range ( .1f, 1.0f )] [SerializeField] float criticalHitChance = .1f;
[SerializeField] float criticalHitMultiplier = 1.25f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.matrix_problems
{
class SumOfMatrixElementsFormedByRectangleWithCoordinates
{
public int[,] PreProcessMatrix(int[,] mat)
{
int rowLength =... |
using System.Collections.Generic;
using CSConsoleRL.Entities;
using CSConsoleRL.Events;
using CSConsoleRL.Game.Managers;
using CSConsoleRL.Helpers;
namespace CSConsoleRL.GameSystems
{
public class DebugSystem : GameSystem
{
private readonly GameStateHelper _gameStateHelper;
public DebugSystem(GameSystemMa... |
using System;
using Argentini.HalideLite;
namespace Notification
{
class Program
{
static void Main(string[] args)
{
// Use Halide within your own code here...
// Do something...
Console.Write("Hello, world.");
// EXIT CONSOLE SESSION
Environm... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageZone : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D other)
{
PlayerMovementController controller = other.GetComponent<PlayerMovementController>();
if (controller != null)
{
... |
using HiLoSocket.Compressor;
namespace HiLoSocket.Builder.Client
{
/// <summary>
/// ISetCompressType.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface ISetCompressType<T>
where T : class
{
/// <summary>
/// Sets the type of the compress.
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerManager : MonoBehaviour {
// Singleton
public static PlayerManager Instance { get; private set; }
// Player's info
[Header("Name")]
public string PlayerName;
... |
using System;
using System.Linq;
namespace Task_09
{
class LinearEquation
{
private double a;
private double b;
private double c;
public double X
{
get
{
return a != 0 ? (c - b) / a : double.PositiveInfinity;
}
... |
using UnityEngine;
using System.Diagnostics;
using Debug = UnityEngine.Debug;
public class Log {
[Conditional("ENABLE_LOG")]
public static void Info(object message) {
Debug.Log("Info : " + message);
}
[Conditional("ENABLE_LOG")]
public static void Warning(object message) {
... |
using University.Data;
using University.Service;
using University.UI.Areas.Admin.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.Mvc;
using University.Service.Interface;
using University.UI.Models;
using Syst... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cache.Core
{
public interface ICache<TKey, TValue> : IDisposable
{
bool Add(TKey key, TValue value);
bool AddOrUpdate(TKey key, TValue value);
void Clear();
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bot : MonoBehaviour
{
public GameObject player;
public float speed, rotSpeed;
private Rigidbody rb;
float FindRotation()
{
Vector3 v1 = new Vector3(0f, 0f, 0f);//transform.rotation.eul... |
using UnityEngine;
using System.Collections;
public class RatingsHelper : MonoBehaviour {
string iosAppID = "1049415206";
string androidPackageName = "com.snackfortgames.lazyangus_android";
public static RatingsHelper instance;
void Awake() {
instance = this;
}
public string GetStorePageURL() {
if (Applic... |
namespace Sales.Models
{
using System;
using System.Collections.Generic;
using System.Text;
public class ChatMessage
{
public string Text { get; set; }
public DateTime MessageDateTime { get; set; }
public bool IsIncoming { get; set; }
public string Image { get; set;... |
using System;
using EPI.DynamicProgramming;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.DynamicProgramming
{
[TestClass]
public class MaxSubarrayUnitTest
{
[TestMethod]
public void FindMaxSubarray()
{
MaxSubarray.FindMaximumSubarray(new[] { 0, 5, -3,... |
using Unity.Entities;
using Unity.Mathematics;
public struct OverlappingMovementPickup : IComponentData { }
public struct Dash : IComponentData
{
public float Timer;
public bool Active;
public float3 PlayerVelocityBeforeDash;
}
public struct OverlappingRocketPickup : IComponentData { }
public struct Rocket : IC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BudgetApp.Domain.Abstract;
using BudgetApp.Domain.Concrete;
using BudgetApp.Domain.Entities;
using BudgetApp.Domain.DAL;
namespace BudgetApp.Domain.Concrete
{
public class EFPaymentPlanEntries : IPaymentPlanEntries
{
... |
using AppExercise.Core.ViewModels;
using AppExercise.iOS.Theme;
using Cirrious.FluentLayouts.Touch;
using Foundation;
using MvvmCross.Platforms.Ios.Presenters.Attributes;
using MvvmCross.Platforms.Ios.Views;
using UIKit;
namespace AppExercise.iOS.Views
{
[Register(nameof(UsersView))]
[MvxRootPresentation(Wrap... |
using UnityEngine;
using System.Collections;
using UnityStandardAssets.Characters.FirstPerson;
public class LightRefillBehavior : MonoBehaviour {
[SerializeField] float oscSpeed;
[SerializeField] float oscAmplitude;
[SerializeField] float distStartMoveToPlayer;
[SerializeField] float moveSpeed;
[SerializeField... |
using Cdiscount.Alm.Sonar.Api.Wrapper.Business;
using Cdiscount.Alm.Sonar.Api.Wrapper.Business.Issues.Filters;
using Cdiscount.Alm.Sonar.Api.Wrapper.Business.Issues;
using Cdiscount.Alm.Sonar.Api.Wrapper.Business.Languages;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ModLoader;
namespace StarlightRiver.Keys
{
class OvergrowKey : Key
{
public Overgrow... |
using System;
using NLog.Web;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace MediaLibrary
{
class Program
{
// creates static instance of logger
private static NLog.Logger logger = NLogBuilder.ConfigureNLog(Directory.GetCurrentDirectory() + "\\nlog.config").Get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gMediaTools.Models.ProcessRunner
{
public class NoNameProcessRunnerParameter : IProcessRunnerParameter
{
public string Name { get; }
public string Value { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneTransition : MonoBehaviour
{
[SerializeField] private string transitionTarget; //遷移先シーンを指定
public void Transition ()
{
SceneManager.LoadScene (transitionTarget); //指定... |
#region MIT License
/*
* Copyright (c) 2009 University of Jyväskylä, Department of Mathematical
* Information Technology.
*
* 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 res... |
using System;
namespace AppStore.Application.Services.Exceptions
{
public class InvalidResourceOperationException : Exception
{
public InvalidResourceOperationException(string message)
: base(message)
{ }
public InvalidResourceOperationException()
: base("It wa... |
using System;
using System.Diagnostics;
using Jypeli.Rendering;
using Matrix = System.Numerics.Matrix4x4;
using Vector3 = System.Numerics.Vector3;
namespace Jypeli
{
internal class LineBatch
{
VertexPositionColorTexture[] vertexBuffer;
IShader shader;
Matrix matrix;
int iVerte... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwitchSprite : MonoBehaviour {
public SpriteRenderer spriteRenderer;
public Sprite[] spritesArrayCloseFront;
public Sprite[] spritesArrayOpenFront;
public Sprite[] spritesArrayCloseLeft;
public Sprite[] sp... |
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 BaseContainer
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCompon... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace kindergarden.Models
{
public class gallery
{
public int Id { get; set; }
public string name { get; set; }
public int SchoolId { g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.