content stringlengths 23 1.05M |
|---|
namespace Game_Memory.Levels
{
class Level08 : Level
{
protected override void setProperties()
{
amountColumns = 8;
amountLines = 8;
amountFlag = 64;
bonusMultiplier = 8;
timeStopwatch = 500;
}
public override Level ne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
namespace MvcSiteMapProvider.Web
{
/// <summary>
/// XmlSiteMapController class
/// </summary>
public class XmlSiteMapController
: Controller
... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it. PVS-Studio Static
// Code Analyzer for C, C++ and C#: http://www.viva64.com
namespace Nds.Extensions
{
using System;
using System.Collections.Generic;
/// <summary>
/// Extensions for the <see cref="IEnumerable{T}"/>.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace NtrSharp.NtrObject
{
[DataContract(IsReference=true)]
public class Process
{
[DataMember]
public String Name { get; set; }
[DataMember]
public Me... |
//-----------------------------------------------------------------------
// <copyright file="LocalNetworkProvider.cs">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ... |
using Plugin.Settings;
using Plugin.Settings.Abstractions;
using System;
namespace AICompanion.Services
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with getters
/// a... |
using System;
using System.Collections.Generic;
using System.Text;
using PFDAL.Models;
namespace PFDAL.ConnectModels
{
public class RandomWeatherRequest
{
public int ContinentId { get; set; }
public int SeasonId { get; set; }
}
public class RandomWeatherResult
{
public bool Success { get; set; ... |
using System;
using System.ComponentModel;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace ME.Base
{
/// <summary>
/// 強型別集合成員基礎類別。
/// </summary>
public class GCollectionItem : ICollectionItem
{
#region ICollectionItem 介面
/// <summary>
/// 設定所屬集合。
... |
namespace Babylon.Investments.Domain.Abstractions.Requests.Base
{
public abstract class Request
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PCL49Lib
{
public class PCL49
{
public static string GetMessage() => "Hello from PCL Profile 49!";
}
}
|
using System;
using TweetinviCore.Enum;
using TweetinviCore.Interfaces;
using TweetinviCore.Interfaces.Models;
namespace TweetinviControllers.Search
{
public interface ISearchQueryValidator
{
bool IsSearchParameterValid(ITweetSearchParameters searchParameters);
bool IsSearchQueryVali... |
using Microting.eFormApi.BasePn.Infrastructure.Models.API;
using System.Threading.Tasks;
using WorkOrders.Pn.Infrastructure.Models.Settings;
namespace WorkOrders.Pn.Abstractions
{
public interface IWorkOrdersSettingsService
{
Task<OperationDataResult<WorkOrdersSettingsModel>> GetAllSettingsAsy... |
using Newtonsoft.Json;
namespace Monzo.Messages
{
internal sealed class RegisterWebhookResponse
{
[JsonProperty("webhook")]
public Webhook Webhook { get; set; }
}
} |
using MyPersonelWebsite.Data.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MyPersonelWebsite.Data
{
public interface IProject
{
Project GetById(int id);
Project GetbyTitle(string title);
IEnumerable<Project> GetAll();
Task Create(Project pro... |
using HelpMyStreet.Utils.Enums;
using HelpMyStreet.Utils.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelpMyStreet.Utils.Models
{
public class RequestSummary : IContainsLocation
{
public Shift Shift { get; set; }
public List<JobSum... |
using System;
using System.Runtime.InteropServices;
namespace FileCreationTriggeredController.Hardware.Audio
{
static class AudioHandler
{
public static void SetMute(bool isMuted)
{
var masterVolumeHandler = AudioDevice.GetMasterVolumeHandler();
if (masterVolumeHandler != null)
{
master... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class MainMenuController : MonoBehaviour
{
[SerializeField] AudioClip _mainThemeAudio;
public EventSystem eventSystem;
public GameObject p2;
public Game... |
using Microsoft.AspNetCore.Components;
using Microsoft.EntityFrameworkCore;
namespace PeterPedia.Pages.Photos;
public partial class Photos : ComponentBase
{
[Inject]
private PeterPediaContext DbContext { get; set; } = null!;
[Inject]
private IConfiguration Configuration { get; set; } = null!;
pu... |
using Newtonsoft.Json;
namespace PoissonSoft.KrakenApi.Contracts.MarketData
{
/// <summary>
///
/// </summary>
public class OHLCData
{
[JsonProperty("error")]
public string[] Error { get; set; }
[JsonProperty("result")]
//public Dictionary<string, OHLCDataResult> ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
namespace OptionsDemo.Services
{
public interface IOrderService
{
int ShowMaxOrderCount();
}
public class OrderServic... |
using System;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Payments.Model.Core.Audit;
using SFA.DAS.Payments.Model.Core.Entities;
using SFA.DAS.Payments.Model.Core.Incentives;
using SFA.DAS.Payments.RequiredPayments.Messages.Events;
namespace SFA.DAS.Payments.Audit.Application.UnitTests.RequiredPaymen... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateAround : MonoBehaviour
{
public Transform transformCenter;
public float speed;
public float radius;
float deltaY;
float angle;
void Start()
{
if (radius == -1)
radius = Vec... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Text;
u... |
using System.Collections.Generic;
namespace SrkToolkit.ServiceDefinition {
/// <summary>
/// Configuration for a code generation.
/// </summary>
public class Generation {
/// <summary>
/// Gets or sets the name of the contract.
/// It must match a contract name in th... |
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace GeoTime {
public class TZAmbiguityStore : IReadOnlyDictionary<string, HashSet<int>> {
public TZAmbiguityStore( IReadOnlyDictionary<string, HashSet<int>> store ) {
Store = store;
}
public HashSet<int>... |
namespace SpriteCompiler.AI
{
/// <summary>
/// Class that taken a search node and detemines whether or not to terminate the
/// search at the node. This is different than a goal test and is used in the
/// contect of depth-limited searches.
/// </summary>
public class CostNodeLimiter<T, C> :... |
/*
* Trade secret of Alibaba Group R&D.
* Copyright (c) 2015 Alibaba Group R&D.
*
* All rights reserved. This notice is intended as a precaution against
* inadvertent publication and does not imply publication or any waiver
* of confidentiality. The year included in the foregoing notice is the
* year o... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Parsing;
using System.IO;
using System.Linq;
using Microsoft... |
using System.Threading.Tasks;
using Conferences.Api.Models;
namespace Conferences.Api.Mapper
{
public interface IMapConferences
{
Task<ConferencesResponse> GetAllConferences(string topic);
Task<ConferenceGetResponse> GetConferenceById(int id);
Task<ConferenceGetResponse> Add(Conference... |
using System;
using System.Security.Cryptography;
namespace Stravaig.ShortCode
{
public class CryptographicallyRandomCodeGenerator : IShortCodeGenerator
{
private readonly RNGCryptoServiceProvider _rng;
public CryptographicallyRandomCodeGenerator()
{
_rng = new RNG... |
namespace Tracker.App.Api.Configurations
{
using Autofac;
using global::Infrastructure.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
public class EfModule : Module
{
private readonly DbContextOptions<TrackerDbContext> options;
... |
using System;
using Logging.Benchmark.Enums;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Logging.Benchmark.Scenarios.NetCore.Setups
{
public static class NetCoreSetup
{
public static void AddNetCoreLogging(this IServiceCollection services, LogLevel log... |
namespace WpfTest.Views.FilterDesigners
{
public partial class ButterworthBandPassFilterDesigner
{
public ButterworthBandPassFilterDesigner() => InitializeComponent();
}
}
|
#region 命名空间
using System;
using System.Collections;
using System.Collections.Generic;
using Framework.Utility;
using LuaInterface;
using UnityEngine;
using UnityEngine.Networking;
using Object = UnityEngine.Object;
#endregion
namespace Framework
{
public class AssetBundleInfo
{
public AssetBundle mAs... |
using System;
namespace Arrowgene.Services.Performance
{
public class MemoryMeasurement
{
public DateTime Time { get; set; }
public double Usage { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class Shapeways : MonoBehaviour {
#region OAuth configuration
const string kConsumerKey = "7a3a7af890731cf8d07463dd384645863519983e";
const string kConsumerSecret = "8ede871c3ddccabea8d6f32e3e9e93ec0fe7b83f";
const string kPrefix = "Shapeways";
#endr... |
//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
using System;
using System.Diagnostics;
namespace nanoFramework.Tools.VisualStudio.Extension
{
public abst... |
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace SqlPad
{
public static class Snippets
{
public const string SnippetDirectoryName = "Snippets";
public const string CodeGenerationItemDirectoryName = "CodeGenerationItems";
private static readonly Xm... |
using Microsoft.VisualStudio.Services.Feed.WebApi;
namespace TfsCmdlets.Controllers.Artifact
{
[CmdletController(typeof(FeedView))]
partial class GetArtifactFeedViewController
{
protected override IEnumerable Run()
{
var client = GetClient<FeedHttpClient>();
foreach... |
#region File Description
//-----------------------------------------------------------------------------
// Dog.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#region ... |
using System.ComponentModel;
using Vip.DFe.Attributes;
namespace Vip.DFe.Shared.Enum
{
public enum TipoImpressao
{
[DFeEnum("0")] [Description("0 - Sem DANFE")]
SemDanfe = 0,
[DFeEnum("1")] [Description("1 - DANFE Normal Retrato")]
NormalRetrato = 1,
[DFeEnum("2")] [D... |
using System;
namespace RoadBook.CsharpBasic.Chapter02.Examples
{
public class Ex002
{
public void Run()
{
char ch = 'A';
string strMessage = "Hello World";
Console.WriteLine(ch);
Console.WriteLine(strMessage);
}
}
} |
namespace PlaylistSystem.Services.Contracts
{
using Models;
using System.Linq;
public interface IPlaylistService
{
IQueryable<Playlist> GetTop(int count);
IQueryable<Playlist> GetAll();
Playlist UpdateById(int id, Playlist updatedArticle);
void DeleteById(int id);
... |
namespace DSInternals.PowerShell
{
using System;
using DSInternals.DataStore;
using System.Security.Principal;
using DSInternals.Common.Data;
// Transport object
public class DomainController : IDomainController
{
public string Name
{
get;
set;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace LykkeWalletServices
{
public class WalletBackendHTTPClient : HttpClient
{
public async Task<HttpResponseMessage> GetAsync(string requestUri, int retryCou... |
using System;
using System.Collections.Generic;
using UnityEngine;
using Wowsome.Core;
using Wowsome.Generic;
namespace Wowsome.TwoDee {
public class WParticlePool : MonoBehaviour, ISceneController {
[Serializable]
public class PrefabConfig {
public ParticleSystem prefab;
public string id;
... |
/****************************** Module Header ******************************\
Module Name : Calculate Tax
File Name : CalculateTax.cs
Created by : Selvam Ramasamy
Project : Sales Tax
Copyright(c) : thoughtworks
<Description of the file>
\********************************************... |
using System;
namespace ZptSharp.Expressions
{
/// <summary>
/// An implementation of <see cref="IConfiguresRootContext"/> which allows setting
/// of global variables into an expression context.
/// </summary>
public class RootContextConfigHelper : IConfiguresRootContext
{
readonly Expr... |
using System;
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour
{
public Text Score;
private string _time;
private bool _gameOver;
private float _score;
void Start ()
{
_time = "";
_gameOver = false;
_score = 9999999999;
}
void Update()
{
... |
using System;
namespace Obviously.SemanticTypes.Consumer.NetCoreConsole
{
[SemanticType(typeof(string))]
public partial class EmailAddressWithValidation
{
public static bool IsValid(string value)
{
return value.Contains('@', StringComparison.OrdinalIgnoreCase);
}
}
... |
namespace Andromeda
{
/**
* Interface for events.
*/
public interface IEvent { }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnityEngine
{
public enum RenderTextureFormat
{
//
// Summary:
// Color render texture format, 8 bits per channel.
ARGB32 = 0,
//
//... |
#if !DISABLE_REACTIVE_COMPONENTS
using System;
using System.Collections.Generic;
using System.Linq;
using Improbable.Worker.CInterop;
using Unity.Entities;
namespace Improbable.Gdk.ReactiveComponents
{
public static class AuthorityChangesProvider
{
private static readonly Dictionary<uint, List<Authori... |
namespace Auditable.AspNetCore.Tests.Infrastructure
{
using System.Security.Claims;
using Microsoft.AspNetCore.Authentication;
public class TestAuthenticationOptions : AuthenticationSchemeOptions
{
public virtual ClaimsIdentity Identity { get; } = new ClaimsIdentity(new[]
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace NetworkStreamDemo
{
class Program
{
static void Main(string[] args)
{
TcpClient tcpClient = new TcpClient();
tcpClient... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.CloudMine.GitHub.Collectors.Model;
using System.Threading.Tasks;
namespace Microsoft.CloudMine.GitHub.Collectors.Cache
{
public interface IEventsBookkeeper
{
Task InitializeAsync();
Task SignalCountAsyn... |
using System;
using System.Collections.Generic;
namespace Skclusive.Dashboard.App.View
{
public class OrderData
{
public static IEnumerable<Order> GetOrders()
{
yield return new Order
{
Id = Guid.NewGuid().ToString(),
Ref = "CDD1049",
... |
namespace DemoWebApplication.Controllers
{
using CustomFramework.Http;
using CustomFramework.Mvc;
using CustomFramework.Mvc.Attributes;
using Services;
using Data.Models;
public class HomeController : Controller
{
private readonly IUsersService usersService;
public HomeC... |
namespace Lab11
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="... |
using System.Linq;
using System.Collections.Generic;
using HotChocolate.Language;
using HotChocolate.Language.Utilities;
using Xunit;
using Snapshooter.Xunit;
namespace HotChocolate.Stitching.Merge.Handlers
{
public class InputObjectTypeMergeHandlerTests
{
[Fact]
public void Merge_SimpleIdentic... |
using NLog;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Geek.Server
{
public class MsgFactory
{
private static readonly Logger LOGGER = LogManager.GetCurrentClassLogger();
private static Dictionary<int, Type> MsgDic = new Dictionary<int, Type>();
... |
using CustomerRecords.Models.ValueObjects;
using System;
using System.Collections.Generic;
using System.Text;
namespace CustomerRecords.Services.Interfaces
{
/// <summary>
/// Service provides geo utils
/// </summary>
public interface IGeoService
{
/// <summary>
/// get distance be... |
namespace CompanyName.Notebook.NoteTaking.Core.Domain.Factories
{
using System;
using CompanyName.Notebook.NoteTaking.Core.Domain.Models;
public interface ICategoryFactory
{
ICategory Create(
string name,
INoteFactory noteFactory,
ISubscriberFactory subscribe... |
using System;
using System.Globalization;
using System.Runtime.Serialization;
using System.Threading;
using System.Xml.Serialization;
namespace Gimela.Tasks.Triggers
{
/// <summary>
/// 触发器,这是一个抽象类。
/// </summary>
[Serializable]
[DataContract]
[XmlInclude(typeof(OnceTrigger)), XmlInclude(typeof(CronTrigge... |
namespace DesignPattern.Composite.VirtualDirectoryExample
{
public class FileItem : FileSystemItem
{
public FileItem(string name, long fileBytes) : base(name)
{
this.FileBytes = fileBytes;
}
public long FileBytes { get; }
public override decimal GetSizeInKb... |
using System;
namespace GirLoader.Output
{
internal class AliasFactory
{
private readonly TypeReferenceFactory _typeReferenceFactory;
public AliasFactory(TypeReferenceFactory typeReferenceFactory)
{
_typeReferenceFactory = typeReferenceFactory;
}
public Al... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using ALinq.SqlClient;
namespace ALinq.SqlClient.Implementation
{
/// <summary>
/// Defines methods for dynamically materializing objects.
/// </summary>
/// <typep... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using OSnack.Web.Api.AppSettings;
using OSnack.Web.Api.Database.Context;
using OSnack.Web.Api.Database.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using System.Thr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InstanciadorDeZombies : MonoBehaviour {
public int[] tiempos;
public GameObject Zombie;
void Start()
{
for (int i = 0; i < tiempos.Length; i++)
{
Invoke("InstanciarZombie", tiemp... |
using System;
namespace IAttendanceWebAPI.Core.Entities
{
public class Message
{
public int Id { get; set; }
public string FromUserId { get; set; }
public User FromUser { get; set; }
public string ToUserId { get; set; }
public User ToUser { get; set; }
public st... |
@* Copyright © 2020 Dmitry Sikorsky. All rights reserved. *@
@* Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. *@
@model Platformus.ECommerce.Backend.ViewModels.ECommerce.ProductSelectorFormViewModel
@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocali... |
using System;
using System.Collections.Generic;
using System.Text;
using Omnix.Cryptography;
namespace Xeus.Core.Contents.Internal
{
partial class SharedBlocksInfo
{
#region OmniHash to Index
private Dictionary<OmniHash, int> _hashMap = null;
public int GetIndex(OmniHash hash)
... |
using System;
namespace Services.Common.ObjUtils
{
public abstract class DisposableModel : IDisposable
{
private bool IsDisposed { get; set; }
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected virtual void Dispose(bo... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using O2NextGen.ESender.Business.Models;
using O2NextGen.ESender.Data.Entities;
namespace O2NextGen.ESender.Impl.Mappings
{
public class BaseMappings<TViewModel, TModel>
where TViewModel : class, IDbEntity
where T... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Authorization;
using Final.Models;
using Final.Areas.Admin.ViewModels;
using Microsoft.AspNetCore.Identity... |
namespace afVmPowerMonitor
{
public class VMResults
{
public string id;
public string location;
public string name;
public Properties properties = new Properties();
public string type;
public class HardwareProfile
{
public string vmSize;
... |
@using NavigationMenusMvc
@using NavigationMenusMvc.Models
@using KenticoCloud.Delivery
@using NavigationMenusMvc.Helpers.Extensions
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
namespace SpookyDistance.CommonLispReflection.TestLibrary
{
public struct Struct2
{
public Struct2(int i)
{
}
}
}
|
namespace ChainPay.Test
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
[TestClass]
public class DateTests
{
[TestMethod]
public void TestExpiryMillis()
{
var date = new DateTime(2019, 01, 01, 0, 0, 0, DateTimeKind.Utc);
var expir... |
using SeguraChain_Lib.Blockchain.Block.Object.Structure;
namespace SeguraChain_Lib.Instance.Node.Network.Services.P2P.Sync.Packet.SubPacket.Response
{
public class ClassPeerPacketSendBlockData
{
public ClassBlockObject BlockData;
public long PacketTimestamp;
public string PacketNumeric... |
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Net;
using System.Text;
public partial class _Default... |
using System;
namespace funcao_aula2
{
public class ProgV2
{
public static void Executar()
{
int max = 0;
Console.WriteLine("Qual o max dos numeros?");
max = int.Parse(Console.ReadLine());
var nuns = new int[max];
for (int cont = 0;... |
using System;
using Codemasters.F1_2020;
namespace ApexVisual.F1_2020.Analysis
{
public class Lap
{
public byte LapNumber {get; set;}
public TelemetrySnapshot[] Corners {get; set;}
public float Sector1Time {get; set;}
public float Sector2Time {get; set;}
public float Se... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Tests.Expressions
{
partial class Expressio... |
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace PubNubAPI
{
public class HistoryBuilder
{
private readonly HistoryRequestBuilder pubBuilder;
public HistoryBuilder(PubNubUnity pn){
pubBuilder = new HistoryRequestBuilder(pn... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//using UnityEngine.AI;
public class Enemy_NavePursue : MonoBehaviour {
private Enemy_Master enemyMaster;
private UnityEngine.AI.NavMeshAgent myNavMesh;
private float checkRate;
private float nextCheck;
p... |
namespace Jade.Music
{
partial class JWave
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_CardLoader : MonoBehaviour {
public static GameObject [] slots = new GameObject[3];
GameObject[] cards = new GameObject[3];
public int loadTime = 3;
bool isLoading = false;
public bool blankFo... |
using System;
using System.Threading.Tasks;
using IdentityServer.Models;
using IdentityServerPlus.Plugin.Base.Interfaces;
using Microsoft.AspNetCore.Authentication;
namespace IdentityServerPlus.Plugin.Base.Structures
{
public abstract class AuthenticationProvider : IAuthenticationProvider
{
public str... |
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点29分
/// </summary>
namespace KilyCore.EntityFrameWork
{
public interface IKilyContext
{
}
}
|
/*
Logger.cs
Handles printing information to files.
***
04/03/2018
ISTE 330.02 - Group 16
Ian Effendi
Jacob Toporoff
*/
// Using statements.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace... |
using UnityEngine;
namespace ZMD
{
public class RaycastSource : MonoBehaviour
{
[SerializeField] Transform source;
[SerializeField] float range = 20f;
[SerializeField] RaycastHitEvent Hit;
[SerializeField] bool triggerOnUpdate = true;
void Update() { if (trigge... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
public interface IGenX<T>
{
string m(T t);
}
public interface IGenY<T>
{
string m(T[] tArr);
}
struct Gen<T,U> : IGenX<T[]>, IGenY<U>
{
string IGenX<T[]>.m(T[]... |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Reductech.Sequence.Core.Abstractions;
namespace Reductech.Sequence.Connectors.Nuix.Tests;
public abstract partial class NuixStepTestBase<TStep, TOutput>
{
public record NuixDeserializeTest : DeserializeCase
{
/... |
<li class="collection-item">
<div class="row">
<div class="col s6">
<a href="/Patient/Profile/DocumentDownload/@Model.Id" class="collections-title">@Model.File</a>
</div>
<div class="col s3">
<span class="task-cat red lighten-2">@Model.DoctorName</span>
</div... |
using Avalonia.Controls;
using Newtonsoft.Json;
using OpenPersonalFinances.Models;
using OpenPersonalFinances.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenPersonalFinances.ViewModels
{
public class NewAccountDialogViewModel : ViewModelBase
{
pr... |
using java.lang;
using loon.action;
using loon.utils;
namespace loon.geom
{
public class RectBox : Shape , BoxSize, XYZW {
public static RectBox At(string v)
{
if (StringUtils.IsEmpty(v))
{
return new RectBox();
}
string[] result = StringUtils.Split(v, ',');
int len = result.Length;
if (len > 3... |
/**
* Copyright 2015-2016 GetSocial B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
using UnityEngine;
using System.Collections;
public class GyroInput : MonoBehaviour
{
// Quaternion offset;
void OnEnable () {
// offset = transform.rotation * Quaternion.Inverse(GyroToUnity(Input.gyro.attitude));
}
void OnDisable () {
}
void Update () {
// this.transform.rota... |
using System;
using System.Diagnostics.Contracts;
using System.Windows;
using System.Windows.Markup;
namespace Nova.Bindings.Base
{
public abstract class NovaMarkUpExtension : MarkupExtension
{
private readonly PropertyPath _path;
protected NovaMarkUpExtension(PropertyPath path)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.