content stringlengths 23 1.05M |
|---|
// -----------------------------------------------------------------------
// <copyright file="RasterImage.cs" company="">
// Christian Woltering, Triangle.NET, http://triangle.codeplex.com/
// </copyright>
// -----------------------------------------------------------------------
namespace MeshExplorer.IO
{
usin... |
namespace RecipeApp.UI.WPF.ViewModels.Recipe
{
public interface IRecipeViewModel
{
}
} |
using System;
using System.Globalization;
using Microsoft.CodeAnalysis.Text;
using Xunit;
namespace NationalInstruments.Analyzers.Utilities.UnitTests
{
/// <summary>
/// Tests for <see cref="SourceTextExtensions"/>.
/// </summary>
public sealed class SourceTextExtensionTests
{
[Fact]
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public sealed class PlatformFactory
{
public ObjectPool pool;
public static PlatformFactory instance;
private InGamePlatform _inGamePlatform;
public static PlatformFactory GetInstance()
{
if (insta... |
using Xunit;
using CSharpDS;
namespace CSharpDSTests
{
public class MostCommonWordProblemTests
{
private MostCommonWordProblem tSub;
public MostCommonWordProblemTests()
{
tSub = new MostCommonWordProblem();
}
[Fact]
public void UniqueSubstringTest1(... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace MscLib {
/// <summary>
/// This can spawn a variety of items, primarily those sold by Teimo with few others
/// </summary>
public class Spawner : MonoBehaviour {
private static Spawner _instance;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using GameEngine.Common;
using TestHarness.TestHarnesses.SocketHarness;
namespace SocketHost
{
public class ClientRegistrationService : IDisposable
{
public const int Port ... |
using System;
using amulware.Graphics;
using OpenTK.Input;
namespace Squarrel
{
public abstract class WorldObject<Env> where Env : GameEnvironment<Env>
{
protected Env environment {
get;
private set;
}
protected KeyboardDevice keyboard {
get { retur... |
using System;
using MonoTouch.CoreFoundation;
using MonoTouch.Foundation;
namespace Toggl.Ross
{
public static class DispatchQueueExtensions
{
public static void DispatchAfter (this DispatchQueue self, TimeSpan delay, NSAction action)
{
var time = new DispatchTime (DispatchTime.Now... |
using System.Diagnostics;
using FreeSql;
using FreeSql.Internal;
using LinCms.Core.Entities;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace LinCms.IdentityServer4
{
public static class DependencyInjectionExtensions
{
#region FreeSql
/// <sum... |
namespace P01.CommandPattern
{
using P01.CommandPattern.Core;
using P01.CommandPattern.Core.Interfaces;
public class StartUp
{
internal static void Main()
{
ICommandInterpreter command = new CommandInterpreter();
IEngine engine = new Engine(command);
... |
// ReSharper disable InconsistentNaming
namespace BuildMaster.Net.Native.Models
{
public class EventOccurrenceDetails
{
public int EventOccurence_Id { get; set; }
public string Event_Code { get; set; }
public string Detail_Name { get; set; }
public object Detail_Value { get; se... |
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (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 ap... |
// ----------------------------------------------------------
// <project>QCV</project>
// <author>Christoph Heindl</author>
// <copyright>Copyright (c) Christoph Heindl 2010</copyright>
// <license>New BSD</license>
// ----------------------------------------------------------
using System;
using System.Coll... |
using Laser.Orchard.MultiStepAuthentication.Controllers;
using Laser.Orchard.MultiStepAuthentication.Permissions;
using Orchard.Environment.Extensions;
using Orchard.Localization;
using Orchard.UI.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Laser.Orchard.... |
using DevOps.Util;
using DevOps.Util.DotNet;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace DevOps.Util.DotNet
{
public readonly struct NGenAssembl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// 该接口用于进行玩家施法状态同步。该接口的实例作为Unit的成员变量存储于Unit中。
/// </summary>
public interface ISyncPlayerCastingState
{
/// <summary>
/// 同步技能开始施法。
/// </summary>
/// <param name="instant... |
using System.Data.Entity.ModelConfiguration;
namespace AIM.Service.Entities.Models.Mapping
{
public class UserMap : EntityTypeConfiguration<User>
{
public UserMap()
{
// Primary Key
this.HasKey(t => t.UserId);
// Properties
this.Property(t => t.F... |
using Xunit;
namespace FacioRatio.CSharpRailway.Tests
{
public class ResultEmptyTExtensionsTests
{
[Fact]
public void Empty_Fails()
{
var sut = Result.Fail<int>("fail");
var result = sut.Empty();
Assert.True(result.IsFailure);
Assert.Is... |
using Catalog.Api.Datas.Interfaces;
using Catalog.Api.Entities;
using Catalog.Api.Utilities.Constants;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace Catalog.Api.Datas
{
public class CatalogContext : ICatalogContext
{
public CatalogContext(IConfiguration config)
{
... |
using Jarvis.Framework.Shared.ReadModel;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jarvis.Framework.Tests.SharedTests.ReadModel
{
[TestFixture]
public class AbstractChildReadModelTests
{
[Test]... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.CompilerServices;
namespace MvcHelpers.Validation
{
public sealed class PropertyRequiredAttribute : RequiredAttribute
{
public string PropertyName { get; private set; }
public PropertyRequiredAttribute([CallerMemb... |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;
public class BuildPostprocessor
{
private const string ExtractorPath = "Tools/AssetBundleExtractor/AssetBundleExtractor.exe";
private readonly string _bundleP... |
using System;
using System.Linq;
namespace NGitLab.Mock
{
public sealed class BadgeCollection : Collection<Badge>
{
public BadgeCollection(GitLabObject parent)
: base(parent)
{
}
public Badge GetById(int id)
{
return this.FirstOrDefault(badge =>... |
using System;
using System.Collections.Generic;
namespace SharpShell.ServerRegistration
{
/// <summary>
/// Represents registration info for a server.
/// </summary>
public class ShellExtensionRegistrationInfo
{
internal ShellExtensionRegistrationInfo()
{
}
... |
using System.Collections.Generic;
namespace Jirapi.Resources
{
public class EggGroup
{
public int Id { get; set; }
public string Name { get; set; }
public List<Name> Names { get; set; }
/// <summary>
/// A list of all Pokémon species that are members of this egg gr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace FirePlace.Util
{
public class SceneCheckPoint : MonoBehaviour
{
public enum Action { Load, Unload };
//public enum Tipo { Clique, Colisao };
//public Tipo tipo = Tipo.Clique;
public... |
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using SoundByte.Core.Items.Podcast;
using SoundByte.UWP.ViewModels;
namespace SoundByte.UWP.Views
{
public sealed partial class PodcastShowView
{
public PodcastShowViewModel ViewModel { get; } = new PodcastShowViewModel();
publ... |
using System;
class A
{
~A() {
Console.WriteLine("Destruct instance of A");
}
}
class B
{
object Ref;
public B(object o) {
Ref = o;
}
~B() {
Console.WriteLine("Destruct instance of B");
}
}
class Test
{
static void Main() {
B b = new B(new A());
b = null;
GC.Collect();
GC.WaitForPendingFinalizers(... |
using Cofoundry.Core.Configuration;
using System.ComponentModel.DataAnnotations;
namespace Bogevang.Website.Configuration
{
public class ThemeSettings : IConfigurationSettings
{
[Required]
public string SiteTitle { get; set; }
[Required]
public string SiteSubTitle { get; set; }
}
} |
using Metrics.SignalFx.Helpers;
namespace Metrics.NET.SignalFx.UnitTest.Fakes
{
public class GenericFakeRequestorFactory<TRequestor> : IWebRequestorFactory
where TRequestor : IWebRequestor, new()
{
public IWebRequestor GetRequestor()
{
return new TRequestor();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
using GCDiscreetNotification;
namespace GCDiscreetNotificationDemo
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User In... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Dnx.Testing.Framework;
using Xunit;
namespace Bootstrapper.FunctionalTests
{
[Collection(nameof(BootstrapperTestColl... |
using OnlineChessCore.Game.Board;
using OnlineChessCore.Game.Pieces;
namespace OnlineChessCore.Game.Events.Args
{
public class PawnUpgradedArgs
{
public Piece NewPiece { get; set; }
public Coords Coords { get; set; }
}
} |
using Eternity.FlatBuffer;
public interface IReformer : IShipItemBase
{
/// <summary>
/// 基础数据
/// </summary>
/// <returns></returns>
Item GetBaseConfig();
/// <summary>
/// 转化炉数据
/// </summary>
/// <returns></returns>
Weapon GetConfig();
/// <summary>
/// lv
/// </summary>
/// <returns></returns>
in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Codeable.Foundation.Common.Daemons
{
[Serializable]
public class DaemonConfig
{
public string InstanceName { get; set; }
public bool ContinueOnError { get; set; }
public int StartDelayMi... |
using Hl7.Fhir.ElementModel;
using Hl7.Fhir.Model;
using Hl7.Fhir.Serialization;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Utility;
using Microsoft.Health.Fhir.Anonymizer.Core.Models;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Health.Fhir.Anonymizer.Core.Models
{
/// <summary>
... |
using Darecali.Strategy;
using NUnit.Framework;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Darecali.Tests.Strategy
{
[Category("Strategy")]
public class EveryNthYearOnSpecifiedDayAndMonthStrategyFixture
{
... |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.IO;
using OpenFTTH.DesktopBridge.GeographicalAreaUpdated;
namespace OpenFTTH.DesktopBridge.Bridge;
public class DesktopBridgeHost : IHostedService
{
private readonly ILogger<D... |
using GestaoContratos.Teste.Util;
using GestaoContratos.Util;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace GestaoContratos.Teste
{
[TestClass]
public class Inicializacao
{
[AssemblyInitialize]
public static void IniciarAplicacao(TestContext context)
{... |
namespace XML_Processing_in.NET
{
using System;
using System.Xml;
public class DOMParser
{
static void Main()
{
var doc = new XmlDocument();
doc.Load("../../catalog.xml");
var root = doc.DocumentElement;
Console.WriteLine(root);
... |
/** Game.Audio
*/
namespace Game.Audio
{
/** Se
*/
public sealed class Se : System.IDisposable
{
/** audio_se_gameobject
*/
private UnityEngine.GameObject se_gameobject;
/** audiosource_list
*/
private UnityEngine.AudioSource[] audiosource_list;
/** volume
*/
public float volume;
public int ... |
namespace Ofl.Slack.WebApi
{
public class Response
{
public bool Ok { get; set; }
public string? Error { get; set; }
public string? Warning { get; set; }
}
}
|
namespace DateTimeExtensions.Tests
{
using System;
using System.Linq;
using DateTimeExtensions.WorkingDays;
using NUnit.Framework;
[TestFixture]
public class NLHolidaysTests
{
private readonly WorkingDayCultureInfo dateTimeCulture = new WorkingDayCultureInfo("nl-NL");
[Test... |
using Fortnox.SDK.Serialization;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Fortnox.SDK.Entities
{
[Entity(SingularName = "Offer", PluralName = "Offers")]
public class Offer
{
///<summary> Direct url to the record and URL to Taxreduction for the offer (URL to ... |
using System;
namespace CienciaArgentina.Microservices.Storage.Azure.QueueStorage.Messages
{
[Serializable()]
public class AppException
{
public DateTime? Date { get; set; }
public string IdFront { get; set; }
public string Message { get; set; }
public string Detail { get; ... |
using System;
using System.Threading.Tasks;
namespace Spawn.Demo.Store
{
public abstract class StoreRetrier
{
private readonly int connection_retries = 10;
private readonly int wait_between_connections = 2000;
protected async Task<T> RunWithRetryAsync<T>(Func<T> func)
{
... |
using ControleContas.Application.Interfaces;
using ControleContas.Application.ViewModels;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace MVCWebApp.Controllers
{
public class ContasTiposController : Controller
{
private readonly IContasTiposService _contastiposSer... |
namespace ConsoleWebServer.Framework.Handlers
{
using System;
using System.IO;
using System.Net;
public class StaticFileHandler
{
public bool CanHandle(IHttpRequest request)
{
return request.Uri.LastIndexOf(".", StringComparison.Ordinal)
> request.Uri... |
namespace TicTacToe.Web.DataModels
{
using System;
using AutoMapper;
using Mapping;
using TicTacToe.Models;
public class UserDataModel : IMappableFrom<User>, IHaveCustomMappings
{
public string Username { get; set; }
public DateTime DateRegistration { get; set; }
publ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FileTransfer.Model
{
public enum SocketMessageType
{
Heart = 1,
Request = 2,
BigData = 3,
Allow = 5,
Refuse = 6,
}
}
|
namespace GrocerySupplyManagementApp.Entities
{
public class POSDetail
{
public long Id { get; set; }
public string EndOfDay { get; set; }
public long UserTransactionId { get; set; }
public string InvoiceNo { get; set; }
public decimal SubTotal { get; set; }
publ... |
using UnityEngine;
public interface Interface1
{
string name { get; set; }
}
public interface Interface2
{
int select { get; set; }
}
public class SomeClass
{
public static void Foo(Interface1 data)
{
Debug.Log(string.Format("SomeClass.Foo, got name: {0}", data.name));
... |
using HelpMyStreet.Utils.Models;
using HelpMyStreetFE.Models.RequestHelp.Enum;
using Microsoft.AspNetCore.Mvc;
using System;
namespace HelpMyStreetFE.Models.Registration
{
public class StepTwoFormModel
{
[BindProperty(Name = "first_name")]
public string FirstName { get; set; }
[BindPr... |
using Sockets.Core.Conversion;
using System;
using System.IO;
using System.Text;
namespace Sockets.Core.IO
{
/// <summary>
/// Equivalent of System.IO.BinaryWriter, but with either endianness, depending on
/// the EndianBitConverter it is constructed with.
/// </summary>
public class EndianBinaryWriter : IDispos... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using UnityEngine.Scripting;
namespace Siccity.GLTFUtility {
// https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#scene
[Preserve] public class GLTFScene {
/// <summary> Indices of nodes </summary>
public List<int>... |
using System;
using System.Configuration;
namespace SimpleLogs.Simple
{
public class LogLevelHelper
{
public static Lazy<LogLevel> LogLevelLazy = new Lazy<LogLevel>(TryReadFromConfig);
public static bool IsLevelEnabled(LogLevel current)
{
return current >= LogLevelLazy.Val... |
using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace Calibration.Controllers
{
public class ClickControll
{
[DllImport("user32.dll", EntryPoint = "SetCursorPos")]
private static extern bool SetCursorPos(int X, int Y);
[DllImport("user32.dll")]
pu... |
namespace destiny_chat_client.Repositories.Interfaces
{
/// <summary>
/// An interface to accessing and playing sounds.
/// </summary>
public interface ISoundRepository
{
/// <summary>
/// Play the sound that would signify a notification.
/// </summary>
void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Consultas_medicas.Models
{
//Essa classe deve conter os mesmos atributos da tabela do banco de dados , junto com get e set
public class Funcionarios
{
public int codFuncionario { get; set; }
pu... |
namespace FootballAnalyzes.Services
{
using System.Collections.Generic;
using FootballAnalyzes.Services.Models.Prediction;
public interface IPredictionService
{
IEnumerable<AllListingSM> All();
PredictGamesSM PredictGames(string name);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace DigitalMenu.Models
{
public class Category
{
public Category()
{
this.Items = new HashSet<Item>();
}
public int Id { get; s... |
namespace Telnyx
{
/// <summary>
/// Interface that identifies entities returned by Telnyx that have an `id` attribute.
/// </summary>
public interface IHasId
{
/// <summary>
/// Gets or sets unique identifier for the object.
/// </summary>
string Id { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Click_Change_Position_SC : MonoBehaviour
{
public GameObject target;
public Vector2 position0; //按下去的位置
public Vector2 position1; //拖到新的位置
public float horizon_dist; //兩點之間的水平距離
public float ver... |
namespace Elements.Services.Admin.Interfaces
{
using Elements.Models;
using Elements.Services.Models.Areas.Admin.ViewModels;
using System.Collections.Generic;
public interface IManageUsersService
{
IEnumerable<AdministrateUserViewModel> GetAllUsersWithTopics();
IEnumerable<Adminis... |
using MediatR;
namespace Taobao.Area.Api.Domain.Events
{
public class AnalysisJsCompletedEvent : INotification
{
}
}
|
using System;
using System.Collections.Generic;
namespace IServiceCollectionExtension.LazyLoadService.Test.TestClasses
{
internal class StepChecker
{
private readonly List<string> _stepsPassed = new List<string>();
public void AddStep(string step)
{
_stepsPassed.Add(step);
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RepoDb.Resolvers;
using RepoDb.Types;
using System;
namespace RepoDb.SqlServer.UnitTests.Resolvers
{
[TestClass]
public class SqlServerTypeNameToClientTypeResolverTest
{
/*
* Taken:
* https://docs.microsoft.com/en-us/dotne... |
using System;
namespace custom_attributes
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Invoking custom instrumentation");
Transaction();
}
[NewRelic.Api.Agent.Transaction]
static void Transaction()
{
... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Acquaintance.ScatterGather
{
/// <summary>
/// A pending scatter/gather operation. Allows the monitoring and control of
/// asynchronous responses
/// </summary>
/// <typeparam name="TRe... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections;
using System.Linq;
using System.IO;
using SongFeedReaders;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using SongFeedReaders.Readers.BeatSaver;
namespace SongFeedReadersTests.BeatSaverReaderTests
{
[TestC... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System;
using NUnit.Framework;
using SciChart.UI.Reactive.Observability;
namespace SciChart.UI.Reactive.Tests.Observability
{
[TestFixture]
public class ObservablePropertyTests
{
public class SomeClass
{
public SomeClass()
{
SomeProp = new Obse... |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.Activities.Statements
{
using System.Activities;
using System.Activities.Expressions;
using Sy... |
namespace ChatCommon
{
public class ChatMessageResponse
{
public ChatUser User { get; }
public string Message { get; }
public ChatMessageResponse(ChatUser user, string message)
{
User = user;
Message = message;
}
}
} |
namespace MultiControlDocking
{
partial class ContentInput
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Collections.Generic;
... |
namespace Orc.Controls
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
public interface ICallout
{
Guid Id { get; }
string Name { get; }
string Title { get; }
object Tag { get; }
bool IsOpen { get; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundManager : Singleton<SoundManager> {
const float musicChangeTime = 1.0f;
public float MasterVolume {
get {
return _masterVolume;
}
set {
_masterVolume = value;
musicSource.volume = _musicVolume * MasterVo... |
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion ("1.0.0.0")]
[assembly: AssemblyCulture ("en-US")]
public class Lang
{
}
|
using WatiN.Core;
namespace Coypu.Drivers.Watin
{
internal class WatiNElement : Element
{
internal WatiNElement(WatiN.Core.Element watinElement)
{
Native = watinElement;
}
private T GetNativeWatiNElement<T>()
where T : WatiN.Core.Element
{
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace Dnn.Modules.ResourceManager.Components
{
using System.Drawing;
using Dnn.Modules.ResourceManager.C... |
using System.Collections.Generic;
using System.Threading.Tasks;
using DeployMe.Api.Models;
using DeployMe.Http.WebApiExtensions;
using DeployMe.Http.WebApiExtensions.Extensions;
using DeployMe.Http.WebApiExtensions.Utility;
using Microsoft.AspNetCore.Mvc;
using StackExchange.Redis.Extensions.Core.Abstractions;
namespa... |
using THUnity2D.Interfaces;
using THUnity2D.Utility;
//所有游戏人物,道具,子弹的基类
namespace THUnity2D.ObjClasses
{
public enum ObjType
{
Empty = 0,
Wall = 1,
Prop = 2,
Bullet = 3,
BirthPoint = 4,
OutOfBoundBlock = 5
}
public abstract class Obj : GameObject, IObj //道具,墙
{
public override G... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Master40.DB.DataModel
{
/*
* Previous called MachineGroup, now describes a Skill to do something
* owns a list of Resources
*/
public class M_ResourceSkill : BaseEntity
{
public stri... |
namespace BasicMultiplayerGamesCP.Data;
public class BasicMultiplayerGamesPlayerItem : SimplePlayer
{ //anything needed is here
}
|
using MAVN.Service.EligibilityEngine.Client.Enums;
namespace MAVN.Service.EligibilityEngine.Client.Models
{
/// <summary>
/// Represents a response model containing error information.
/// </summary>
public class EligibilityEngineErrorResponseModel
{
/// <summary>
/// The error code.... |
namespace TopGearApi.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RemoverCarroAgencia : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Carroes", "AgenciaId", "dbo.Agencias");
DropIndex("dbo.Carroes",... |
using GameRules;
using Movement.States;
using StateMachine;
using UnityEngine;
namespace Movement
{
public class MovementColliderConsumer : MonoBehaviour, ISMOutputConsumer
{
public int GetPriority()
{
return 0;
}
//Make adjustments to the colliders as necessary
... |
using Unity.Entities;
using System;
using UnityEngine;
namespace E7.ECS.LineRenderer
{
/// <summary>
/// This is some properties of the line that could be shared between different lines.
/// When line corners and line caps are supported, this component could also be used with them.
/// </summary>
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace pEditorGrafico
{
class Retangulo : Figura
{
private Ponto[] vertices;
public Ponto[] Vertices
{
ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Framework.ViewModel;
using DotVVM.Framework.Controls;
using System.ComponentModel.DataAnnotations;
using PhotoGallery.Data.Services;
using PhotoGallery.Data.DTO;
using DotVVM.Framework.Stora... |
namespace RadeonResetBugFixService.Contracts
{
using System;
interface ILogger : IDisposable
{
void Log(string message);
void LogError(string message);
}
}
|
namespace AillieoUtils
{
public enum ScheduleMode
{
Dynamic = 0,
Static,
LongTerm,
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace locgen
{
/// <summary>
///
/// </summary>
public interface ILocGeneratorSettings
{
/// <summary>
/// Gets or sets the path for the generated file (including file name and extension).
/// </summary>
string TargetDir { get; set; ... |
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using Swashbuckle.AspNetCore.Swagger;
namespace TinkoffBank.TQM.WebConfiguration.Swagger
{
class RequiredSchemaFilter : ISchemaFilter
{
public void Apply(Schema model, SchemaFilterContext context)
{
if (context.SystemType.IsVal... |
using System;
using System.Reactive.Disposables;
using Prism.AppModel;
using Prism.Navigation;
using ReactiveUI;
namespace Sample
{
public abstract class ViewModel : ReactiveObject,
IPageLifecycleAware,
INavigatingAware
{
Com... |
using Com.LuisPedroFonseca.ProCamera2D;
using TMPro;
using UnityEngine;
public class PlayerAttributesController : MonoBehaviour
{
// Variables
#region Variables
// Public Variables
// --------------------------------
[Header("Player Attributes")]
public int playerHealth; // Current... |
using System.Diagnostics.CodeAnalysis;
using SCUMSLang.SyntaxTree.Definitions;
using SCUMSLang.SyntaxTree.References;
namespace SCUMSLang.SyntaxTree
{
internal class ParentBlockFeature : IHasParentBlock
{
[AllowNull]
public BlockContainer ParentBlockContainer {
get => parentBlockCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
namespace Device
{
public class DeviceWMI
{
public string Name { get; set; }
public string ClassGUID { get; set; }
public List<string> HardwareID { get; set; }
public string DeviceID ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.