text stringlengths 13 6.01M |
|---|
using UnityEngine;
using UnityEngine.UI;
public class Battle : MonoBehaviour
{
[SerializeField]
private SceneNavigator _scneeNavigator;
[SerializeField]
private GameObject prefab;
[SerializeField]
private float timer = 120;
[SerializeField]
private Text TimerText;
[SerializeFi... |
using System;
namespace accumulatorsandcounters
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("please insert a number: ");
int num = Convert.ToInt32(Console.ReadLine());
for(int i=1; i<=8; i++) // hace que se pueda repetir cada valor... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace PaperPlane.API.MemoryManager
{
internal class MemoryLine
{
private readonly Memory<byte> _value;
private readonly IEnumerable... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Application.Controllers;
using ApplicationBAL;
using System.Web.Mvc;
using System.Collections.Generic;
using Application.ViewModels;
namespace Application.Tests
{
[TestClass]
public class ProductControllerTests
{
[TestMethod]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
namespace FakePlayer
{
[Service]
public class PlayerService : Service
{
... |
using System;
namespace Piovra.Graphs;
public class PrimMST<V> where V : IEquatable<V> {
readonly IWeightedGraph<V> _g;
public PrimMST(IWeightedGraph<V> g) {
_g = g;
}
public MST<V> Execute() {
var mst = new MST<V>();
return mst;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems.AdventOfCode.Y2022 {
public class Problem09 : AdventOfCodeBase {
public override string ProblemName => "Advent of Code 2022: 9";
public override strin... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Katas;
namespace Katas.Tests;
[TestClass]
public class BinToDecTests
{
[TestMethod]
public void binaryArrayToNumber_Should_Return_Int()
{
// Arrange
int[] myBinaryNumber = new int[] { 0, 1, 0, 1};
var expected = 5;
v... |
using System;
using LibBlowfish;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BlowfishTest
{
[TestClass]
public class BlowfishTest
{
private string key = "alwo20493jd;a;85";
private string plainText = "badcoffeeweirdfo";
private string ciphertext = "854E2CDB188093E... |
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace ClinicManagement.Blazor.Services
{
public class HttpService
{
private readonly HttpClient _httpClient;
private readonly string _apiUrl;
public HttpService(HttpClient httpClient)
{
_http... |
namespace SOLIDPrinciples.OCP.Example1.Good
{
public class Frete2 : IServicoDeEntrega
{
public double Para(string cidade)
{
if ("RIO DE JANEIRO".Equals(cidade.ToUpper()))
{
return 10;
}
return 15;
}
}
}
|
using Hayaa.BaseModel;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.Security.Service
{
public interface LoginService
{
/// <summary>
/// 使用可登陆信息和密码进行登陆
/// </summary>
/// <param name="loginKey">可登陆信息:用户名、邮箱、手机号</param>
/// <param nam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class VideoBehavior : MonoBehaviour {
// Use this for initialization
private VideoPlayer videoPlayer;
private Camera camera;
void Start () {
videoPlayer = GetComponent<VideoPlayer>();
camera = C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace Crystal.Plot2D
{
/// <summary>
/// Base class for all data transforms.
/// Defines methods to transform point from data coordinate system to viewport coordinates and vice versa.
/// D... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Industry.Cms.Articles.Domain.Entities;
using MongoDB.Bson;
namespace Alabo.Industry.Cms.Articles.Domain.Repositories
{
public class SinglePageRepository : RepositoryMongo<SinglePage, ObjectId>, ISinglePageRepository
{
public S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Score : MonoBehaviour
{
public static int ordersDelivered = 0;
public static int ordersFailed = 0;
public static int totalScore = 0;
// inspector
public GameObject _scorePanel;
public sta... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class MoneyDisplay : MonoBehaviour {
public Text moneyText;
PlayerStats playerStats;
bool registerdForEvents;
DistortForEffect distortForEffect;
void Awake() {
distortForEffect = GetComponent<DistortForEffect> ();
}
// Use this ... |
using UnityEngine;
using System.Collections.Generic;
public class MovementTransformContainer : MonoBehaviour
{
// references
[Header("references")]
public List<Transform> movementTransforms;
}
|
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Genesys.WebServicesClient
{
static class GTrace
{
static readonly TraceSource Log = new TraceSource(typeof(GTrace).Namespace);
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class VibrationManager : MonoBehaviour
{
public PlayerInput playerInput;
private void Awake()
{
playerInput = GetComponentInParent<PlayerInput>();
}
public v... |
using IWorkFlow.DataBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("Para_CP_ProjectTrade", "")]
public class Para_CP_ProjectTrade : QueryInfo
{
[DataField("TradeCo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MazeGenerator
{
public class Generator
{
private int x_size;
private int y_size;
private Field start;
private Field end;
private Field[,] board;
private int length;
public ... |
namespace E_ticaret.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class sipari
{
[System.Diagnostics.CodeAnalysis.SuppressMess... |
using System;
using System.Diagnostics.CodeAnalysis;
using UnityEngine;
namespace Quark.Utilities
{
/// <summary>
/// This enumeration is used by the 2 dimensional geometry functions
/// to determine the correct plane to work on in Quark utilities.
/// </summary>
[SuppressMessage("ReSharper", "In... |
namespace Krafteq.ElsterModel
{
using System;
using Krafteq.ElsterModel.ValidationCore;
using LanguageExt;
/// <summary>
/// Represents valid money value rounded to 0.01
/// Value must be maximum 11 digits before decimal point
/// Cannot be negative
/// </summary>
public class Unsig... |
namespace Ejercicio
{
public class Persona
{
Quirk quirk;
public Persona(Quirk quirk)
{
this.quirk = quirk;
}
public int poder(){
return quirk.TiempoDeUso * quirk.Nombre;
}
public bool esPeligroso(){
return poder() > 1... |
namespace FluentQuery.QueryParts
{
public class InnerJoin : IQueryPart
{
private string _table1 { get; set; }
private string _table2 { get; set; }
private string _column1 { get; set; }
private string _column2 { get; set; }
public InnerJoin(string table1, string column1, ... |
using Microsoft.Extensions.Logging;
using MikeGrayCodes.BuildingBlocks.Application;
using MikeGrayCodes.BuildingBlocks.Application.Behaviors;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Ta... |
using System;
using System.Threading;
using System.Threading.Tasks;
using CronScheduler.Extensions.StartupInitializer;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions.DependencyInjection;
public static class StartupJobsServiceCollectionExtensions
{
/// <summary>
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Animal.GameStrategy
{
/// <summary>
/// 怪物
/// </summary>
public class Monster
{
/// <summary>
/// 怪物的生命值
/// </summary>
public Int32 HP { get; set; }
... |
using System.Collections.Generic;
namespace E2
{
public class Empresa
{
List<Monstruos> amistosos = new List<Monstruos>();
List<Monstruos> peligrosos = new List<Monstruos>();
List<Monstruos> respetables = new List<Monstruos>();
public Empresa()
{
amistosos.Ad... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace signalcompiler
{
class MainClass
{
public static void Main(string[] args)
{
var LexAn = new LexAnalyzer(@"C:\Users\m3sc4\test.sg");
Console.WriteLine("Lexecial Analyzer: ");
... |
using System;
using System.Collections;
using System.Collections.Generic;
using AlgorithmProblems.Graphs.GraphHelper;
namespace AlgorithmProblems.Graphs
{
/// <summary>
/// An island is represented by a matrix having 1s and 0s, where 1 -> land and 0 ->water.
/// You can change a 0 -> 1 to get the greatest... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace EddiSpeechService
{
/// <summary>Translations for Elite items for text-to-speech</summary>
public partial class Translations
{
public static string GetTranslation(string val, boo... |
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 HASRental.Models;
using Microsoft.AspNetCore.Authorization;
namespace HASRental.Controllers
{
public... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ex03.GarageLogic
{
public class Owner_Details
{
public enum eVehicleStatus { INPROCESS, FIXED, PAIDUP }; // Status types
private string m_ownerName;
private string m_ownerPhoneNumber;
privat... |
using System;
using System.Windows;
using BSky.Lifetime;
using BSky.Lifetime.Interfaces;
using Microsoft.Win32;
using BSky.Statistics.Common;
using BlueSky.CommandBase;
namespace BlueSky.Commands.Tools.Package
{
//initially it was copied from InstallPackageCommand.cs //04May2015
class UpdateBlueSkyPacakgesCom... |
using System.Windows.Controls;
namespace CODE.Framework.Wpf.Theme.Metro.StandardViews
{
/// <summary>
/// Interaction logic for PeekImageAndText04.xaml
/// </summary>
public partial class PeekImageAndText04 : Grid
{
/// <summary>
/// Initializes a new instance of the <see cref="Pee... |
namespace Heists
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
var prices = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(long.Parse)
.ToAr... |
using System;
namespace Plugin.XamJam.BugHound
{
/// <summary>
/// Interface for XamJam.BugHound
/// </summary>
public interface IBugHound
{
BugHound.Tracker CreateTracker(double probability = 0.1);
/// <summary>
/// <see cref="Level.Trace"/>
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cracking
{
class NodeFactory
{
public static Node createList() {
Node n1 = new Node(1);
Node n2 = new Node(2);
Node n3 = new Node(3);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEuler17
{
class Program
{
static void Main(string[] args)
{
//If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, h... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq.Expressions;
using UnityEngine;
using UnityEngine.VR;
public class Graph : MonoBehaviour
{
private static Graph m_instance = null;
// Graph 정보
public List<Node> node_List = new List<Node>();
private int nod... |
using RRExpress.Common.Extends;
using System;
using System.Configuration;
using System.Linq;
namespace RRExpress.Moq.Auth {
/// <summary>
///
/// </summary>
[Obsolete("只用于模拟, 请不要使用")]
public class UsersConfig : ConfigurationSection {
[ConfigurationProperty("", IsDefaultCollection = true)... |
using BuisinessLogic.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using CryptoHelper;
namespace BuisinessLogic.Implementations
{
public class CryptoHelperBsLogic : ICryptoHelper
{
public string HashPassword(string password)
{
return Crypto.HashPass... |
using System;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.DataAccess;
using Anywhere2Go.Library;
using Anywhere2Go.Business.Master;
namespace Claimdi.WCF.Public
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "TSoftService" in code, svc and config file togeth... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class SpeedMeter : MonoBehaviour {
public Rigidbody objectToMeasure;
public float maxVelocity = 10.0f;
public bool disallowBackwards = false;
private Image image;
void Start ()
{
image = GetComponent<Image> ();
}
... |
namespace Timer
{
using System;
class Program
{
static void Main()
{
Timer timer = new Timer(1);
timer.SomeMethods += FirstTestMethod;
timer.SomeMethods += SecondTestMethod;
timer.ExecuteMethods();
}
public static void First... |
namespace chat.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class User_Picture
{
public User_Picture()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using oleDB = System.Data.OleDb;
namespace lab_074
{
class Program
{
static void Main(string[] args)
{
var connection = new oleDB.OleDbCo... |
using Microsoft.AspNetCore.SignalR;
namespace Amf.Ultima.Api.HubConfig
{
public class UltimaHub : Hub
{
}
} |
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using LittleFlowerBot.Repositories;
namespace LittleFlowerBot.Models.Renderer
{
public class LineNotifySender : ITextRenderer
{
public string SenderId { get; set; }
private readonly IHttpClientFacto... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TopInfos : BasePanel
{
int oldValue;
int changeValue;
public void Init(int changeValue)
{
oldValue = GameRoot.instance.playerModel.Coin- changeValue;
this.change... |
/**************************************
*
* A Generic Button that have 2 states,
* Events are called to the listeners depending
* on what state the button is in. Interacting with
* the button toggles the button between two states
*
**************************************/
using System.Collections;
using Syste... |
using System;
using UnityEngine;
using HoloToolkit.Unity.InputModule;
public class TransformGizmo : MonoBehaviour {
[Tooltip("The Transform to be controlled by the Gizmo")]
public Transform RootTransform;
[Tooltip("The Transform containing the mdoel geometry")]
public Transform TargetTransform;
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace KnightBilGraph
{
class Algo
{
public bool BFS(ref Node src, ref Node dest)
{
var queue = new List<Node>();
src.IsChecked = true;
queue.Add(src);
// standard BF... |
namespace Infrostructure.Enums
{
public enum ValidateForPaymentMethodEnum
{
Bought,
NullProducts,
Success
}
}
|
using System;
using System.Linq;
using System.Web.Mvc;
using ApartmentApps.Api;
using ApartmentApps.Api.Modules;
using ApartmentApps.Api.ViewModels;
using ApartmentApps.API.Service.Controllers;
using ApartmentApps.Data;
using ApartmentApps.Data.Repository;
using ApartmentApps.Portal;
using ApartmentApps.Portal.Controll... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace MergeSort
{
public class PassingCarsService
{
public void ConsoleRun()
{
//Array
//var array = string.Empty;
//while (array.ToLower() != "e... |
using System;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Atc.CodeAnalysis.CSharp.SyntaxFactories
{
public static class SyntaxArgumentFactory
{
public static ArgumentSyntax Create(string argumentName)
{
if (argumentName == null)
... |
using System.Text;
namespace Witsml.Extensions
{
public static class ObjectExtensions
{
public static string PrintProperties(this object obj)
{
var props = obj.GetType().GetProperties();
var sb = new StringBuilder();
foreach (var p in props)
{
... |
using System.ComponentModel;
using System.Reflection;
namespace IRAP.UFMPS.Library
{
public enum TThreadStartMark
{
[Description("文件导入完成")]
FileDealCompleted = 0,
[Description("导入表空白")]
TableIsEmpty = 1,
}
} |
// <copyright file="Social.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2020 Firoozeh Technology LTD. 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
//... |
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Pe.Stracon.Politicas.Presentacion.Core.ViewModel.General.SeccionParametro
{
/// <summary>
/// Modelo de Sección Parámetro
/// </summary>
/// <remarks>
/// Creaci... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.Models
{
public class ViewUser
{
public Guid? UserId { get; set; }
public string UserName { get; set; }
public string Pword { get; set; }
public string Email { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoftwareAuthKeyLoader.Kmm
{
public class NegativeAcknowledgement : KmmBody
{
public MessageId AcknowledgedMessageId { get; private set; }
public Status Sta... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BugTracker.Models.classes
{
public class CreateTicketListModel
{
public int ProjectId { get; set; }
public string Title { g... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Threading.Tasks;
using Confluent.Kafka;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Azure.WebJobs.Host.Bind... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Grillisoft.FastCgi
{
public interface ILoggerFactory
{
ILogger Create(Type type);
ILogger Create(string name);
}
}
|
using Grpc.Core;
using Grpc.Net.Client;
using GrpcServer;
using GrpcServer.Protos;
using System;
using System.IO;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
namespace Grpc_Client
{
class Program
{
private const string Address = "localhost:5001";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Patterns.Pattern.Ef6;
namespace Welic.Dominio.Models.Estacionamento.Map
{
public class EstacionamentoMap: Entity
{
public int IdEstacionamento { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Qwack.Paths.Features
{
public interface IVolFeature
{
}
}
|
using Caliburn.Micro;
using CustomTournamentsLibrary.Models;
namespace CustomTournamentsLibrary.Interfaces
{
public interface IEnterResult
{
TournamentModel CurrentTournament { get; set; }
BindableCollection<RoundModel> RoundList { get; set; }
RoundModel SelectedRound { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
namespace SlackTemplate.Core
{
public interface IInlineRenderer
{
string Render(XElement element);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.MD
{
public partial class HuToMapping
{
#region Non O/R Mapping Properties
//HuTo Party Flow Item
[Display(Name = "HuToMa... |
using ComInLan.Model;
using System;
using System.Collections.Generic;
namespace ComInLan.Server
{
public interface IBroadcastServer
{
string Id { get; }
string DomainId { get; }
string Name { get; set; }
int ListeningPort { get; }
bool IsRunning { get; }
List<IClient> Clients { get; }
bool Start();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPatterns_State
{
public class Person
{
private StatePerson state;
private string name;
public Person(string name)
{
this.name = name;... |
using ExitGames.Client.Photon;
using Photon.Pun;
using Photon.Realtime;
using Source.Code.Extensions;
using Source.Code.MyPhoton;
using Source.Code.Utils;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace Source.Code.UI
{
public class WaitingForPlayersPanel : MonoBehaviourPunCallbacks
... |
using System.Drawing;
using System.Windows.Forms;
public class Npc
{
//位置
public int map = -1; //npc所在地图id
public int x = 0; //坐标
public int y = 0;
public int x_offset = -50; //绘图偏移量
public int y_offset = -90;
//显示
public string bitmap_path=""; //图片路径
... |
using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using UnityEngine;
public class Network : MonoBehaviour {
private Socket m_socket;
IPAddress address;
IPEndPoint endPoint;
SocketError error;
// Use this for initialization
void Start () {
... |
using System.Reflection;
using NLog;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Game.Entities;
using Torch.Managers.PatchManager;
using VRage;
using VRageMath;
namespace DataValidateFix
{
[PatchShim]
public static class MySafeZonePatch
{
private static readonly Logger Log = LogManager.GetC... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable] // The Serializable attribute lets you turn this into bytes
// DATA CLASS FOR SAVING PLAYER
public class PlayerData
{
public float xPosition;
public float yPosition;
public float zPosition;
public Play... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class NextLevel : MonoBehaviour
{
public static NextLevel instance = null;
private void StartNextLevel(Cell.Type winnerType)
{
if (winnerType == Cell.Type.Friend)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StarSpawner : MonoBehaviour
{
private List<GameObject> stars = new List<GameObject>();
public GameObject star;
[Header("Star Spawn Properties")]
public Transform spawnPoint;
public float maxSpawnpoint;
... |
using System;
using System.Collections.Generic;
using StardewModdingAPI;
namespace Entoarox.Framework.Core.AssetHandlers
{
internal class XnbLoader : IAssetLoader
{
/*********
** Accessors
*********/
internal static Dictionary<string, Tuple<IContentHelper, string>> Map = new Dic... |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using DelftTools.Utils.Reflection;
namespace DelftTools.Utils
{
public static class SettingsHelper
{
static SettingsHelper()
{
//set defaults based on executing assembly
var info = AssemblyUtils.G... |
using UnityEngine;
using System.Collections;
public class CameraBehaviour : MonoBehaviour {
[SerializeField] private Transform target;
[SerializeField] private float yOffset;
// Use this for initialization
void Start () {
DynamicGI.UpdateEnvironment();
}
// Update is called once per frame
... |
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace SyncAppGUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... |
using System.Collections.Generic;
using Crossroads.Web.Common.Security;
using MinistryPlatform.Translation.Repositories.Interfaces;
using Moq;
using NUnit.Framework;
using SignInCheckIn.Services;
namespace SignInCheckIn.Tests.Services
{
[TestFixture]
public class LoginServiceTest
{
private Mock<IA... |
using Stock_Exchange_Analyzer.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Stock_Exchange_Analyzer
{
static class CurrencyRetriever
{
public static string getCurrency(string companyName)
... |
using ISE.SM.Common.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Common.Message
{
public class AuthorizationRequest
{
public IdentityToken IdentityToken { get; set; }
public SecurityResourceDto Resour... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DSSCriterias.Logic.Extensions
{
public static class CriteriaExtensions
{
public static double[] NewRows(this Criteria criteria)
{
return new double[(int)criteria.Game.Arr.Rows()];
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CompactorDoor : MonoBehaviour
{
[SerializeField] private Transform door;
[SerializeField] private Transform doorHinge;
[SerializeField] private Transform grinder;
[SerializeField] private Transform spring;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DPYM
{
/// <summary>
/// 自定义技能,从脚本来读取行为
/// </summary>
class CustSkill
{
}
}
|
using System;
namespace FeriaVirtual.Domain.SeedWork.Events
{
public class DomainEventId
{
private Guid _id;
public Guid Value => _id;
public DomainEventId() =>
_id = GuidGenerator.NewSequentialGuid();
public DomainEventId(Guid id) =>
_id = id;
... |
/*
* 2020 Microsoft Corp
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR C... |
using EddiConfigService;
using EddiCore;
using EddiDataDefinitions;
using EddiDataProviderService;
using EddiEvents;
using EddiNavigationService;
using EddiStarMapService;
using EddiStatusService;
using JetBrains.Annotations;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Coll... |
using Avaliador_Codigo_Fonte.Util;
using System;
namespace Avaliador_Codigo_Fonte
{
class Run
{
static void Main(string[] args)
{
Console.WriteLine("Digite o caminho do DataSet");
string caminho = Console.ReadLine();
caminho = caminho.Replace("\"","\\");
Reader reader = new Reader();
Console.W... |
using AW.Data.Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AW.Data.Context
{
public sealed class WithdrawDbContextFactory : IDesignTimeDbCo... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResolutionAdapter : MonoBehaviour
{
private readonly float normalAspect = 0.5625f;
private void Start()
{
var currentAspect = (float) Screen.width / Screen.height;
transform.localScale... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.