content stringlengths 23 1.05M |
|---|
using System;
namespace NSW.EliteDangerous.INARA
{
internal class TestSystemClock : ISystemClock
{
public DateTime Now => new DateTime(2019, 9, 2, 17, 0, 0, DateTimeKind.Utc);
}
} |
// <auto-generated />
// Built from: hl7.fhir.r4b.core version: 4.1.0
// Option: "NAMESPACE" = "fhirCsR4"
using fhirCsR4.Models;
namespace fhirCsR4.ValueSets
{
/// <summary>
/// This example value set defines a set of codes that can be used to indicate species of animal patients.
/// </summary>
public stati... |
using System;
using Memoria.Prime.Collections;
public static partial class FF9BattleDB
{
public static readonly TwoWayDictionary<Int32, String> GEO = new TwoWayDictionary<Int32, String>(true)
{
{240, "GEO_ACC_F0_BBT"},
{238, "GEO_ACC_F0_BBX"},
{227, "GEO_ACC_F0_BIN"},
{437, "GEO_ACC_F0_BLK"},
{226, "GE... |
namespace Manatee.Wpf.Forms.ViewModel
{
public interface IFieldValidationRule<in T>
{
string Validate(T value);
}
} |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
//using Microsoft.Extensions.Logging.Abstractions;
namespace inercya.EntityLite
{
public static class ConfigurationLite
{
static ConfigurationLite()
{
... |
using System;
using System.Collections.Generic;
namespace LinqFromScratch
{
public static class SampleData
{
public static readonly Employee[] EmployeeList = new[] {
new Employee(){EmployeeId = 1, DepartmentId = 1, Name = "Eddie Van Halen"},
new Employee(){EmployeeI... |
using System;
using DataApi.Network.Messages;
using NetworkCommsDotNet;
namespace DataApi.Network.Wrapper
{
public class NetworkManager : INetworkManager
{
private readonly NetworkConfiguration _networkConfiguration;
public NetworkManager(NetworkConfiguration networkConfiguration)
{
... |
using FatecMauaJobNewsletter.Domains.Contexts;
using FatecMauaJobNewsletter.Domains.Models;
using FatecMauaJobNewsletter.Repositories.Interfaces;
using System.Linq;
namespace FatecMauaJobNewsletter.Repositories
{
public class UserRepository : Repository<User>, IUserRepository
{
public UserRepository(D... |
using System;
using System.Collections.Generic;
namespace ServiceStack.OrmLite
{
public interface IDynamicRow
{
Type Type { get; }
}
public interface IDynamicRow<T> : IDynamicRow
{
T Fields { get; }
}
public struct DictionaryRow : IDynamicRow<Dictionary<string,object>>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HKH.Exchange.Test
{
public class Student
{
public string Name { get; set; }
public string ClassName { get; set; }
public DateTime Birthday { get; set; }
public string Name2 { get; set; }
public double Total { g... |
// <copyright file="GroupBuilderSupport.cs" company="Fubar Development Junker">
// Copyright (c) 2016 Fubar Development Junker. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using System;
using BeanIO.Internal.Config;
using B... |
using System;
namespace Inflow.Modules.Wallets.Application.Wallets.DTO;
internal class TransferDto
{
public string Type { get; set; }
public Guid TransferId { get; set; }
public Guid WalletId { get; set; }
public decimal Amount { get; set; }
public string Currency { get; set; }
public string N... |
using System.Runtime.InteropServices;
using System.IO;
using System;
using Reign.Core;
namespace Reign.Video
{
// Header version 2
[StructLayout(LayoutKind.Sequential)]
struct PVRHeader
{
public uint HeaderLength;
public uint Height;
public uint Width;
public uint NumMipmaps;
public uint Flags;
public... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using Xenko.Core;
using Xenko.Core.Annotations;
using Xenko.Shaders;
namespace Xenko.Rendering.Mat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Thinktecture.IdentityModel.Hawk.Core.Helpers;
using Thinktecture.IdentityModel.Hawk.Core.MessageContracts;
using Thinktecture.IdentityModel.Hawk.Core.Extensions;
using Thinktecture.IdentityModel.Hawk.Etw;
usi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using ExcelDna.Integration;
namespace Uploader
{
// 1. ExcelMethods contains the single function registered with Excel,
// and the two macros that will trigger the upload
public st... |
namespace FATX.FileSystem
{
public enum Platform
{
Xbox,
X360
}
}
|
using FbonizziMonoGame.StringsLocalization.Abstractions;
using System.Globalization;
namespace Rellow.Assets
{
public class GameStringsLoader
{
public const string YellowColorKey = "ColorsYellowKey";
public const string RedColorKey = "ColorsRedKey";
public const string GreenColorKey = ... |
using Ardalis.Specification;
using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;
namespace Microsoft.eShopWeb.ApplicationCore.Specifications
{
public class CustomerOrdersWithReturnSpecification : Specification<Order>
{
public CustomerOrdersWithReturnSpecification(int orderId)
{
... |
using CssUI.Rendering;
using System.Runtime.InteropServices;
namespace CssUI.CSS
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct Vertex2i
{
#region Properties
/// <summary>
/// X axis position of the vertex
/// </summary>
public int X;
/// <s... |
namespace Gibe.Umbraco.Blog.Models
{
public class BlogSectionsBase : IBlogSections
{
}
}
|
using System;
namespace MakeFunctionJson
{
internal class ConsoleLogger : ILogger
{
public void LogError(string message)
{
Console.Error.WriteLine(message);
}
public void LogErrorFromException(Exception e)
{
Console.Error.WriteLine(e);
}... |
using MinorShift._Library;
using System;
using System.Collections.Generic;
//using System.Drawing;
//using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using UnityEngine;
using uEmuera.Drawing;
//using System.Threading.Tasks;
namespace MinorShift.Emuera.Content
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VC
{
public static class Defines
{
public static string[] EmailsDefault = new string[] { "eebyrne@gmail.com" };
public static readonly string RootDirectory... |
namespace FakeItEasy.Tests.Core
{
using FakeItEasy.Core;
using FakeItEasy.Tests.TestHelpers;
using FluentAssertions;
using Xunit;
public class FakeCreationExceptionTests
: ExceptionContractTests<FakeCreationException>
{
[Fact]
[UsingCulture("en-US")]
... |
//---------------------------------------------------------------------
// <copyright file="NamedValueToQueryValueUpdater.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------... |
// This file is part of SharpNEAT; Copyright Colin D. Green.
// See LICENSE.txt for details.
using SharpNeat.EvolutionAlgorithm;
using ZedGraph;
using static SharpNeat.Windows.App.Forms.ZedGraphUtils;
namespace SharpNeat.Windows.App.Forms.TimeSeries;
public class FitnessTimeSeriesForm : StatsGraphForm
{
const in... |
namespace SharpVectors.Dom
{
/// <summary>
/// Represents a processing instruction, which XML defines to keep processor-specific
/// information in the text of the document.
/// </summary>
/// <seealso href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113">
/// Document Object Mod... |
namespace In.ProjectEKA.HipServiceTest.Consent.Builder
{
using Bogus;
using Common.Builder;
using HipService.Common.Model;
using HipService.Consent.Model;
public class TestBuilder
{
private static Faker faker = new Faker();
internal static Faker Faker() => faker ??= new Faker();... |
using System.Collections;
namespace Patterns.CSharp.Patterns.Composite
{
public class ConcreteComponentComposite : AbstractComponent
{
private ArrayList nodes = new ArrayList();
public ConcreteComponentComposite(string name) : base(name)
{
}
public override vo... |
using System;
namespace BoardGamesNook.Model
{
public class GameResult
{
public int Id { get; set; }
public DateTimeOffset CreatedDate { get; set; }
public DateTimeOffset ModifiedDate { get; set; }
public Guid CreatedGamerId { get; set; }
public Guid GamerId { get; set;... |
using UnityEngine;
using System.Collections;
public class ColorButtons : MonoBehaviour {
public TurnManager manager;
public Color color;
public int type;
public bool randomizer = false;
void Start()
{
if (randomizer == false)
{
switch (type)
{
... |
using DotCommon.Extensions;
using Xunit;
namespace DotCommon.Test.Extensions
{
public class TypeExtensionsTest
{
[Fact]
public void GetAssembly_Test()
{
var assembly = typeof(TypeExtensionsTest).GetAssembly();
Assert.Equal("DotCommon.Test", assembly.GetName().Na... |
// IGameState.cs
// Copyright (c) 2014+ by Michael Penner. All rights reserved.
namespace ARuncibleCargo.Framework
{
/// <summary></summary>
public interface IGameState : Eamon.Framework.IGameState
{
#region Properties
/// <summary></summary>
long DreamCounter { get; set; }
/// <summary... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
namespace Arnible.Xunit
{
[ExcludeFromCodeCoverage]
public sealed class DeafLogger : ISimpleLoggerForTests
{
public bool IsLoggerEnabled => false;
public void EnableLogging(bool value)
{
// intentionally empty
}
... |
using ScottPlot.Drawing;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace ScottPlot.Plottable
{
/// <summary>
/// A colorbar translates numeric intensity values to colors.
... |
using System.Threading.Tasks;
namespace Staticsoft.Jobs.Abstractions
{
public interface Job
{
Task Run();
Schedule Schedule { get; }
}
}
|
/*
' /====================================================\
'| Developed Tony N. Hyde (www.k2host.co.uk) |
'| Projected Started: 2019-06-01 |
'| Use: General |
' \====================================================/
*/
using System;
using K2... |
using Assets.UnityFoundation.Code.TimeUtils;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DiceSideChecker : MonoBehaviour
{
public event Action<DiceSideSO> OnDiceSideChecked;
private List<Dice> evaluateDices = new List<Dice>();
private void OnT... |
namespace Mvb.FakeContacts.ModelBinders.Errors
{
public class ModelBindersErrorArgs
{
public ModelBindersErrorArgs(string message, int errorcode = -1)
{
this.Message = message;
this.ErrorCode = errorcode;
}
public int ErrorCode { get; }
public s... |
/*
Problem: https://www.hackerrank.com/challenges/simple-array-sum/problem
C# Language Version: 6.0
.Net Framework Version: 4.7
Tool Version : Visual Studio Community 2017
Thoughts :
1. Store all the input numbers in an array. Let there be n elements in the array.
2. Initialize a number s wh... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RES_QRCode.Models
{
public class ResponseMessageModel
{
string responseMessage;
bool responseStatus;
public bool ResponseStatus { get => responseStatus; set => responseStatus = value; }
publi... |
using Domain.Services;
using System;
using System.Security.Cryptography;
namespace Application.Common.ApplicationServices.SecurePasswordSaltGenerator
{
public class SecurePasswordSaltGeneratorService : ISecureRandomStringGeneratorService
{
public string GenerateSecureRandomString()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for Node_Response
/// </summary>
public class Node_Response
{
public Node_Response()
{
}
public string response_type = "";
public string message_text = "";
public stri... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CinemaConstructor.Database.Entities
{
public class Cinema
{
[Key]
public long Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string ... |
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
namespace Catalyst3D.XNA.Engine.EntityClasses.Input
{
public class InputAction
{
public Buttons Button;
public Keys Key;
public string Name;
public bool IsPressed;
public float PressTime;
public float PressPower;
public Ges... |
using System;
using System.Collections.Generic;
using System.Xml;
namespace GenieLamp.Core.Metamodel
{
class Schemas : MetaObjectNamedCollection<ISchema, Schema>, ISchemas
{
public Schemas(Model model)
: base(model)
{
}
public void Update()
{
foreach(Entity ent in Model.Entities)
... |
// Copyright 2013 Zynga Inc.
//
// 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 or agree... |
using Csla.Server;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Csla.Server.Hosts
{
/// <summary>
/// Data portal to be invoked by the brokered
/// data portal proxy/host implementation.
/// </summary>
public class BrokeredPor... |
using System;
using System.Collections.Generic;
namespace AScore_DLL.Managers
{
/// <summary>
/// Represents an individual spectrum. Default IComparable sorts by Mz, ascending
/// </summary>
public class ExperimentalSpectraEntry : IComparable<ExperimentalSpectraEntry>
{
/// <summ... |
using AutoMapper;
using goldfish.WebUI.Models;
using goldfish.WebUI.ViewModels;
namespace goldfish.WebUI
{
public class AutoMapperConfig
{
public static void Register(IMapperConfigurationExpression cfg)
{
//site service
cfg.CreateMap<SiteService, VMSiteService>();
... |
using System;
using System.IO;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Fluid;
using Fluid.Accessors;
using Fluid.Values;
using Microsoft.AspNetCore.Mvc.Localization;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
us... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GoNorth.Data.Exporting
{
/// <summary>
/// Interface for Database Access for Object Export Snippet Snapshots
/// </summary>
public interface IObjectExportSnippetSnapshotDbAccess
{
/// <summary>
/// ... |
using DataBaseBackupManager.Interfaces;
using DataBaseBackupManager.Models;
namespace DataBaseBackupManager.Repository
{
public class LocalFileWriterFactory : IWriterStrategyFactory
{
/// <summary>
/// Instantiate a new writer.
/// </summary>
/// <param name="table">The table t... |
using backend_asp_dotnet.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace backend_asp_dotnet.Services {
public interface INoteRepo {
public Guid CreateNewNote(string token, string title, string note);
public bool UpdateNote(string tok... |
using System.Threading.Tasks;
namespace Abp.BackgroundJobs
{
public abstract class AsyncBackgroundJob<TArgs> : BackgroundJobBase<TArgs>, IAsyncBackgroundJob<TArgs>
{
public abstract Task ExecuteAsync(TArgs args);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
//NOTE: This class uses a now deprecated storage client api. Look for the latest API for new apps.
namespace SoulService
{
public class BlobStorage
{
... |
namespace TeamLegend.Services.Contracts
{
using Models;
using System.Threading.Tasks;
using System.Collections.Generic;
public interface ITeamsService
{
Task<Team> CreateAsync(Team team);
Task<Team> GetByIdAsync(string id);
Task<List<Team>> GetAllAsync();
Task<L... |
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SuperNAT.Model
{
[Table("map")]
public class Map : BaseModel, IModel
{
[Key]
public int id { get; set; }
public string name... |
using SerieFlix.Domain.Contracts.RepositoryServices;
using SerieFlix.Domain.Entities;
using SerieFlix.Repositories.Repository;
using SerieFlix.Repository.Context;
using SerieFlix.Tests.MockData;
using SerieFlix.Tests.MockData.Repository;
using System.Linq;
using Xunit;
namespace SerieFlix.Tests.Units.Repositories
{
... |
using System;
using System.Configuration;
using System.Threading.Tasks;
using Mandrill.Models;
using Mandrill.Requests.Templates;
using NUnit.Framework;
namespace Mandrill.Tests.IntegrationTests.Templates
{
[TestFixture]
public class TemplateInfoTests : IntegrationTestBase
{
[Test]
public async Task Sho... |
using Autodesk.DesignScript.Runtime;
namespace Camber.Civil.Styles
{
[IsVisibleInDynamoLibrary(false)]
public enum StyleCollections
{
CodeSetStyles,
GradingCriteriaSets,
QuantityTakeoffCriterias
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using BlockChyp.Client;
using BlockChyp.Entities;
using FsCheck;
using FsCheck.Xunit;
using Xunit;
using Xunit.Abstractions;
namespace BlockChypTest.Client
{
public class CryptoTest
{
private readonly ITestOutput... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.ComponentModel;
using System.Diagnostics;
namespace System.Text.Json.Serialization.Metadata
{
/// <summary>
/// Provides JSON serialization-related metadata ab... |
using Common.Crafting;
namespace StasisTorpedo
{
partial class StasisTorpedo: PoolCraftableObject
{
public static new TechType TechType { get; private set; } = 0;
protected override TechInfo getTechInfo() => new
(
new (TechType.ComputerChip),
new (TechType.Magnetite, 2),
new (TechType.Titanium)
);... |
using System;
using System.Collections.Generic;
using System.Linq;
using EVATransfer.Framework;
using UnityEngine;
namespace EVATransfer
{
public class TransferGroup
{
private bool onBoard;
private Vessel vesselA, vesselB;
protected TransferableResource resource;
protected string name;
private string sho... |
using System;
using DxLibDLL;
namespace Amaoto
{
/// <summary>
/// ログクラス。
/// </summary>
public class Logger
{
/// <summary>
/// ログを追加する。
/// </summary>
/// <param name="str">内容。</param>
/// <returns>このクラスのインスタンス。</returns>
public Logger Add(string s... |
using System.Data;
using System.Data.SqlClient;
using Dapper;
using DevChatter.DevStreams.Core.Model;
using DevChatter.DevStreams.Core.Services;
using DevChatter.DevStreams.Core.Settings;
using Microsoft.Extensions.Options;
namespace DevChatter.DevStreams.Infra.Dapper.Services
{
public class ChannelPermissionsSer... |
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace ImageBoardBrowser.Converters
{
public class StringToBrushConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... |
//
// The MIT License(MIT)
//
// Copyright(c) 2015 Christopher McLendon (http://www.bitunify.com)
//
// 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 restriction, including without... |
using RTData.Geometry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RTData.Radiotherapy.ROIs
{
/// <summary>
/// Represents a single slice of the ROI which may contain multiple polygons
/// </summary>
public class RegionO... |
using System;
using System.Threading.Tasks;
using Amazon.SQS;
using LambdaSharp;
using LambdaSharp.SimpleQueueService;
namespace LogBuster.ReadAndFailFunction {
public class Message {
//--- Properties ---
public int Counter;
}
public sealed class Function : ALambdaQueueFunction<Message> ... |
//
// Copyright (c) 2002-2016 Mirko Matytschak
// (www.netdataobjects.de)
//
// Author: Mirko Matytschak
//
// 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 restriction, incl... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
namespace Server
{
[Route("[controller]")]
[ApiController]
[Authorize]
public class MessageController : Co... |
using Araumi.Server.Protocol.Attributes;
using Araumi.Server.EntityComponentSystem.Core;
namespace Araumi.Server.EntityComponentSystem.Components.Battle.Effect.Unit {
[TypeUid(636364931473899150L)]
public class UnitTargetingConfigComponent : Component {
public float TargetingPeriod { get; set; }
public flo... |
using Gov.Lclb.Cllb.Interfaces.Models;
namespace Gov.Lclb.Cllb.Public.Models
{
/// <summary>
/// ViewModel transforms.
/// </summary>
public static class IndigenousNationExtensions
{
/// <summary>
/// Convert a given voteQuestion to a ViewModel
/// </summary>
... |
using System;
namespace SmartSql.Test.DTO
{
public class UserVW
{
public UserVW()
{
}
public UserVW(long id)
{
Id = id;
}
public UserVW(long id, string name)
{
Id = id;
UserName = name;
}
pu... |
using System;
using GameFramework.DataTable;
using UnityEngine;
[Serializable]
public class MagicWaterData : EntityData {
public MagicWaterData (int entityId, int typeId) : base (entityId, typeId) {
IDataTable<DRMagicWater> dtMagicWater = GameEntry.DataTable.GetDataTable<DRMagicWater> ();
DRMagicWa... |
namespace Multiformats.Codec.Tests;
using System.Text;
using Xunit;
/// <summary>
/// Class MulticodecPackedTests.
/// </summary>
public class MulticodecPackedTests
{
/// <summary>
/// Defines the test method CanGetStringValuOfCode.
/// </summary>
/// <param name="code">The code.</param>
/// <para... |
namespace GVFS.FunctionalTests
{
public static class Categories
{
public const string FullSuiteOnly = "FullSuiteOnly";
public const string FastFetch = "FastFetch";
public const string GitCommands = "GitCommands";
}
}
|
// Copyright 2020, Google Inc. 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
namespace ISSApp
{
public class User
{
public User()
{
}
public User(string firstName, string lastName, string code, UserType userType)
{
FirstName = firstName;
LastName = lastName;
Code = code;
Type = userType;
}
... |
using BookLibraryApi.Models.Entities.Interfaces;
namespace BookLibraryApi.Models.Entities
{
public sealed class VolumeExemplar : IEntity
{
public int Id { get; set; }
public int VolumeId { get; set; }
public Volume Volume { get; set; }
public decimal? Price { get; set; }
... |
using System;
using System.IO;
namespace Xe.Tools.Items
{
public class ItemModule : IInfoLastEdit
{
public string FileName { get; private set; }
public ItemModule(string filename)
{
FileName = filename;
}
public DateTime? GetInfoLastEdit()
{
if (!File.Exists(FileName))
return null;
return... |
using UnityEngine;
using System.Collections;
/// <summary>
/// 子弹行为
/// </summary>
public class ShotScript : MonoBehaviour
{
#region 1 - 变量
/// <summary>
/// 造成伤害
/// </summary>
public int damage = 1;
/// <summary>
/// 子弹归属 , true-敌人的子弹, false-玩家的子弹
/// </summary>
public bool isE... |
using System;
using System.Windows.Forms;
namespace Captura.Webcam
{
class DummyForm : Form
{
public DummyForm()
{
Opacity = 0;
ShowInTaskbar = false;
}
protected override void WndProc(ref Message M)
{
const int msgLeftButtonDown = 5... |
using UnityEngine;
using System.Collections;
using UnityEditor;
//[CustomEditor(typeof(VoxelMesh))]
public class VoxelEditor : Editor
{
[MenuItem("Window/VoxelEditor")]
public static void ShowWindow() {
EditorWindow.GetWindow(typeof(VoxelEditor));
}
public VoxelMesh voxel;
//public Serial... |
using NsauT.Shared.Enums;
using NsauT.Web.BLL.Services.Period.DTO;
using System.Collections.Generic;
namespace NsauT.Web.BLL.Services.Period
{
public static class PeriodValidator
{
public static List<(string Key, string Message)> Validate(PeriodDto period)
{
var errors = new List<(... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace MacomberMap.UI.DgvFilterPopup {
/// <summary>
/// Represents the method that will handle an event related to a column filter.
/// </summary>
/// <param name="sender">The source of the event.</par... |
/** 1 2 3 4 5 6 7 8
* 45678901234567890123456789012345678901234567890123456789012345678901234567890
*
* Common.Dialogs <Font>: Common library providing WPF dialogs, v.0.0.1
* Johnathan Graham McKnight <akoimeexx@gmail.com>
*
*
* Copyright (c) 2016,... |
using Content.Server.Atmos.Components;
using Content.Server.Clothing.Components;
using Content.Shared.Alert;
using Content.Shared.Clothing;
using Content.Shared.Inventory.Events;
namespace Content.Server.Clothing
{
public sealed class MagbootsSystem : SharedMagbootsSystem
{
[Dependency] private readonl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FredericRP.EventManagement
{
[CreateAssetMenu(menuName = "FredericRP/Integer Game Event")]
public class IntGameEvent : GameEvent
{
public int parameter;
public override void Raise()
{
EventHa... |
using System.Security.Principal;
namespace SFA.DAS.MA.Shared.UI.Configuration
{
public class UserContext : IUserContext
{
public string HashedAccountId { get; set; }
public IPrincipal User { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
// 06/02/2014 by aldentea : namespaceをAldentea.Wpf.Document.Xmlに移動.
// 01/04/2012 by aldentea : プロジェクトを移動.それに伴い,namespaceをSPP.mutus.DataからDocumentに変更.
namespace Aldentea.Wpf.Document
{
namespace Xml
{
//... |
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
using Dwares.Dwarf;
using Dwares.Dwarf.Toolkit;
namespace Beylen.ViewModels
{
public class SettingsSection : PropertyNotifier
{
//static ClassRef @class = new ClassRef(typeof(SettingsSection));
public SettingsSection()
{
//Debug.EnableTraci... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AppLauncher.Models
{
public class Config
{
public WindowInfo MainWindowInfo { get; set; }
public int AppListListBoxSelectedIndex { get; set; }
public bool MainWindowTopmost { get; set; }
public bool... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace Snoffleware.LLBLGen.Identity.Core.Models
{
public class ApplicationUser : IdentityUser
{
public ApplicationUser()
{
}
//set some defaults so that things work out of the box
//you... |
/********************************************************
* Project Name : VAdvantage
* Class Name : AcctSchemaDefaultCopy.
* Purpose : Add or Copy Acct Schema Default Accounts
* Class Used : ProcessEngine.SvrProcess
* Chronological Development
* Deepak 23-Nov-2009
***************... |
/***************************************************************************
* Listener.cs
* -------------------
* begin : May 1, 2002
* copyright : (C) The RunUO Software Team
* email : info@runuo.com
*
* ... |
using System;
using System.Collections.Generic;
namespace UwCore.Services.Navigation
{
public interface IAdvancedNavigationService
{
void Navigate(Type viewModelType, Dictionary<string, object> parameter = null, string context = null);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.