content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
using System.Linq;
using DSCore;
using NUnit.Framework;
namespace Dynamo.Tests
{
[TestFixture]
class ColorRangeTests
{
private Color red = Color.ByARGB(255, 255, 0, 0);
private Color blue = Color.ByARGB(255, 0, 0, 255);
private Color orange = Colo... |
namespace Blueprint.Validation
{
public interface IValidationSource
{
}
}
|
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using Azos.Conf;
namespace Azos.Security
{
/// <summary>
/// User r... |
using System;
using System.Windows.Forms;
using ModelComponents;
namespace PreprocessorLib
{
public partial class DeleteLinesControl : UserControl
{
ProjectForm parent;
public DeleteLinesControl()
{
InitializeComponent();
}
public DeleteLinesControl(Project... |
using System;
using System.Collections.Generic;
using HtmlTags;
using MvcForms.Styles;
namespace MvcForms
{
public abstract class Styler : IStyler
{
public delegate HtmlTag ApplyStyle(IControl control, HtmlTag tag);
private static readonly ApplyStyle _applyNoStyle = (c, t) => t;
... |
using ConventionMapper;
using ConventionMapper.Test.Models.Base;
using ConventionMapper.Test.Mirrors.Base;
using System.Collections.Generic;
namespace ModelMappings
{
internal partial class BaseTestToModel : MappingBase, IMapping<BaseTest, BaseTestMirror>
{
public BaseTestToModel(IConversionCache _cac... |
namespace StripeTests
{
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Stripe;
using Xunit;
public class BalanceServiceTest : BaseStripeTest
{
private readonly BalanceService service;
public BalanceServiceTest(
Stri... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SmartSql.Data
{
public class DataReaderWrapper : DbDataReader
{
public DbDataReader... |
using System;
class Aula12{
static void Main(){
int n1,n2,n3,n4,media;
string nome;
System.Console.Write("qual e o nome do aluno ? ");
//nome=Convert.ToString(Console.ReadLine());
nome=(string)Console.ReadLine();
System.Console.Write("quanto o {0} tirou d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AllenCopeland.Abstraction.Slf.Cli.Metadata.Blobs
{
public enum SignatureKinds
{
/// <summary>
/// Represents the signature of a method definition.
/// </summary>
MethodDe... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Checs
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct FreeEntitySlotList : IDisposable
{
private const int DefaultCapacity = 8;
internal int count;
internal int capacity;
internal int* slot... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using ShaderTools.Utilities.PooledObjects... |
using A4CoreBlog.Data.Common.Models;
namespace A4CoreBlog.Data.Models
{
public class BlogComment : DeletableEntity
{
public int Id { get; set; }
public int CommentId { get; set; }
public virtual Comment Comment { get; set; }
public int BlogId { get; set; }
public virt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
namespace Havit.NewProjectTemplate.WebAPI.Infras... |
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using ReduxSharp.Internal;
namespace ReduxSharp
{
/// <summary>
/// A store that holds the complete state tree of your application.
/// </summary>
/// <typeparam name="TState">A type of root state tree</typeparam>
public seale... |
using SqlKata;
using SqlKata.Execution;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UNetwork.Utility;
namespace UServer.Database
{
public static class Users
{
private static QueryFactory db = new QueryFactory(Adapter.Connect... |
using net.jancerveny.sofaking.Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace net.jancerveny.sofaking.BusinessLogic
{
public static class TPBProxies
{
private static Proxy[] Proxies = new Proxy[] {
};
private static int LastProxyIndex { get;... |
namespace ProjectUntitled.Models
{
public class Liked
{
public int Id { get; set; }
public string LikeByUserId { get; set; }
public int ClipId { get; set; }
public Clips Clips { get; set; }
}
} |
// Copyright (c) 2018 The Fox Council
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FCGameBot.Models;
using Telegram.Bot.Types;
namespace FCGameBot.Commands
{
class MeCommand : ICommand
{
public bool Private { get; } = false;... |
using System;
using EGameFrame.Message;
using EGameFrame.Login;
using EGameFrame.Gate;
using ET;
namespace EGameFrame.Services.Gate
{
public static partial class PlayerActorProxyComponent_Layer
{
public static void OnReceiveChatText(this PlayerActorProxyComponent playerActorProxy, string chatText)
... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Linq;
using Bloom.Data.Interfaces;
using Bloom.Domain.Models;
namespace Bloom.Data.Repositories
{
/// <summary>
/// Access methods for genre data.
/// </summary>
/// <seealso cref="Bloom.Data.Repositories.IGenreReposi... |
namespace Relm.Constants
{
public static partial class TextureNames
{
public static string Pixel = "Pixel";
public static string Logo = "Logo";
public static string UserInterfaceSkin = "UserInterfaceSkin";
}
} |
using System;
using System.Windows.Markup;
namespace PS.WPF.Markup
{
[MarkupExtensionReturnType(typeof(double))]
public class Double : BaseFloatingMarkupExtension<double>
{
#region Constructors
public Double()
{
}
public Double(double value)
: base(val... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WiteNoise : BaseNoise, INoiseBase
{
public WiteNoise(int w, int h): base(w, h)
{
for (int i = 0; i < h; i++)
{
for (int j = 0; j < w; j++)
{
float r = (NoiseHelp... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DamaCoreCMS.Framework.Core.App.Scheduler
{
public class ScheduleTaskManager
{
public static bool IsRunning { get; set; }
private int _heartBit = 1000;
public void Start()
{
}
publi... |
using System;
using System.Numerics;
using gaemstone.Common.Processors;
using Silk.NET.OpenGL;
using ModelRoot = SharpGLTF.Schema2.ModelRoot;
namespace gaemstone.Client.Graphics
{
public class MeshManager
: IProcessor
{
const uint POSITION_ATTRIB_INDEX = 0;
const uint NORMAL_ATTRIB_INDEX = 1;
const uint UV... |
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace Fpe.Thief
{
public class TrapmasterCardController : CardController
{
public TrapmasterCardController(Card card, TurnTakerController turnTakerController)
: base(card, turnTakerController)
{
}
public override v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace UltimateChanger
{
[StructLayout(LayoutKind.Sequential)]
public struct SYSTEMTIME
{
public short wYear;
public short wMonth;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SlimMesh
{
public class VertexChannelCollection<T> : TrackedCollection<VertexChannel<T>>
{
public VertexChannel<T> Last
{
get { return Count == 0 ? null : this[Count - 1]; }
}
... |
using Newtonsoft.Json;
namespace AdvancedTypeScript3Discogs.Models.Discogs
{
public class PaginationResults
{
[JsonProperty(PropertyName = "per_page")]
public int PerPage { get; set; }
[JsonProperty(PropertyName = "pages")]
public int Pages { get; set; }
[JsonProperty(PropertyName = "page")]
... |
#nullable disable
namespace RayCarrot.RCP.Metro;
/// <summary>
/// The result when saving a file
/// </summary>
public class SaveFileResult : UserInputResult
{
/// <summary>
/// The selected location to save the file
/// </summary>
public FileSystemPath SelectedFileLocation { get; set; }
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Object will turn to face the camera. Used to create flat, hoving sprites. Icons over 3D objects.
/// </summary>
public class BillboardSprite : MonoBehaviour {
internal Camera mainCam;
internal MainCameraHandler ha... |
using AutoMapper;
using Liquid.Core.Interfaces;
using Liquid.Services.Configuration;
using Microsoft.Extensions.Logging;
using System.Diagnostics.CodeAnalysis;
using System.ServiceModel;
namespace Liquid.Services.Wcf
{
/// <summary>
/// Base Wcf service client class.
/// </summary>
/// <seealso cref="... |
using System;
namespace Lox
{
public interface IVisitor<T>
{
T Visit(Binary binary);
T Visit(Grouping grouping);
T Visit(Literal literal);
T Visit(Unary unary);
T Visit(Variable variable);
T Visit(Assign assign);
}
}
|
namespace PPDFramework.Vertex.DX9
{
class VertexDeclaration : VertexDeclarationBase
{
public SharpDX.Direct3D9.VertexDeclaration _VertexDeclaration
{
get;
private set;
}
public VertexDeclaration(SharpDX.Direct3D9.VertexDeclaration vertexDeclaration)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
[Range(1f, 7f)] public float mouseSensitivity = 1.5f;
public float Xmax = 30.0f;
public float Xmin = -30.0f;
public float speed = 100f;
public float maxAngle = 20f;
f... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Webshop.Api.Models.ModelsDTO
{
public class OrderCreateDTO
{
[Required]
public string CustomerId { get; set; }
[Required]
public List<OrderDetailsCreateDto> Products { get; se... |
using System;
using Cosmos.Core.PCInformation;
using Cosmos.Debug.Kernel;
namespace Cosmos.Core.SMBIOS
{
public unsafe class CPUInfo : SMBIOSTable
{
private EntryPointTable entryPointTable;
//TODO: convert to private
public byte SocketDesignationID = 0xff;
public byte Processo... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
namespace Pipaslot.Logging.Queues
{
public enum RecordType
{
Record,
ScopeBegin,
ScopeBeginIgnored,
ScopeEndIgnored
}
} |
/*
* Copyright 2013 DigitasLBi Netherlands 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 ... |
using VisioAutomation.VDX.Internal;
using SXL = System.Xml.Linq;
namespace VisioAutomation.VDX.Elements
{
public class Connect
{
public Connect(Shape from_shape, string from_cell, Shape to_shape, string to_cell)
{
if (string.IsNullOrEmpty(to_cell))
{
thro... |
using Futura.Engine.ECS;
using Futura.Engine.ECS.Systems;
using Futura.Engine.Utility;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Futura.Engine.Core
{
public class WorldSystem : SubSystem
{
public EcsWo... |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... |
// Copyright (c) Jon Thysell <http://jonthysell.com>
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
using Mono.Unix;
using Mono.Unix.Native;
namespace Mzinga.Engine
{
public class SigIntMonitor
{
public event EventHandler SigIntReceived;
... |
using Sharpen.Engine.SharpenSuggestions.Common.AsyncAwaitAndAsyncStreams;
using static Sharpen.Engine.SharpenSuggestions.Common.AsyncAwaitAndAsyncStreams.EquivalentAsynchronousMethodFinder;
namespace Sharpen.Engine.SharpenSuggestions.CSharp50.AsyncAwait
{
internal sealed class ConsiderAwaitingEquivalentAsynchrono... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace TSTTrie.Tests.TSTTrie
{
[TestFixture]
public class Base
{
[Test]
public void Testing()
{
TSTTrie<int> trie... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : MonoBehaviour
{
public bool IsEnemy = false;
public Sprite CharacterImage;
void Awake()
{
foreach (Transform indicator in this.gameObject.transform)
{
if (indicator.GetCo... |
using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
using System.Windows.Markup;
namespace FirstFloor.ModernUI.Windows.Converters {
[ContentProperty(nameof(Converters)), ContentWrapper(typeof(ValueConverterCollection))]
public class Chai... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Wolverine.Core;
namespace Wolverine.Service.Model
{
public class ProjectAsTable1
{
public ProjectAsTable1()
{
ID = Guid.NewGuid().ToSt... |
namespace Voodoo.CodeGeneration.Models
{
public enum WebFramework
{
Angular1 = 1,
Aurelia = 2,
Angular2 = 3,
React = 4,
Vue =5
}
} |
using FlexOleoConcentrador.Modelos;
using FlexOleoConcentrador.Repositorios;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FlexOleoConcentrador.Servicos
{
public interface IOrdemServicoService
{
Task<OrdemServico> CreateOrdemServicoAsync();
Task<OrdemS... |
using Futurum.Microsoft.Extensions.DependencyInjection;
namespace Futurum.NanoController;
public class NanoControllerSerilogLoggerModule : IModule
{
public void Load(IServiceCollection services)
{
services.AddSingleton<INanoControllerLogger, NanoControllerLogger>();
}
} |
using AppInterfaces.Infrastructure;
using RepositoryLayer;
using System.Data.Entity;
namespace RepositoryInfrastructure
{
/// <summary>
/// Context Factory for project
/// </summary>
public sealed class DBContextFactory
: IContextFactory<DbContext>
{
/// <summary>
/// The c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CardGame.Data.Common
{
public enum Position
{
InDeck,
InHand,
OnField,
OnDiscardPanel
}
}
|
using System;
using NuGet.VisualStudio;
namespace NuGet.Cmdlets.Test
{
internal class MockProductUpdateService : IProductUpdateService
{
public void CheckForAvailableUpdateAsync()
{
if (UpdateAvailable != null)
{
UpdateAvailable(this, new Prod... |
using GameBooster;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Velocity2D))]
public class TouchMovement : MonoBehaviour
{
//se cada direção está pressionada
public bool left { get; set; }
public bool right { get; set; }
public bool up { get; ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityStandardAssets.Characters.FirstPerson;
public class ProxyPlayerController : NetworkBehaviour {
//public PlayerIdentity playerIdentity = PlayerIdentity.kNone;
private FirstPersonController fi... |
using System;
namespace LinqAn.Google.Metrics
{
#pragma warning disable 660,661
public abstract class Metric<T> : IMetric<T>
#pragma warning restore 660,661
{
internal Metric(string name, bool allowedInSegments, string id)
{
Name = name;
AllowedInSegments = allowedInSeg... |
namespace TickTrader.FDK.Common
{
/// <summary>
/// Swap type.
/// </summary>
public enum SwapType
{
/// <summary>
/// Points (by default)
/// </summary>
Points = 0,
/// <summary>
/// Percentage per year
/// </summary>
PercentPerYear ... |
using AppApi.Dto;
using AppApi.Models;
using System.Collections.Generic;
namespace AppApi.Dto
{
public class EventDto
{
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Locale { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public enum UIPanelsType {
DefaultPanel,
LoginAccountAndPasswordPanel,
LoginPhoneAndVerificationCodePanel,
RegisterPhoneAndVerificationCodePanel,
RegisterEmailAndVerificationCodePanel,
InfoType1Panel,
Log... |
using System;
using Photon;
namespace CloseEnough
{
/// <summary>
/// Networked room creation handler
///
/// <para>
/// @Author: Alex Berthon, Brian Fann
/// @Updated: 5/4/18
/// </para>
/// </summary>
public class CreateRoomService : PunBehaviour
{
public static Creat... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Ogmas.Models.Entities;
using Ogmas.Repositories.Abstractions;
namespace Ogmas.Repositories
{
public class GameParticipantsRepository : BaseEntityRepository<GameParticipant>, IGameParticipantsRepository
{
pub... |
global using Microsoft.Maui;
global using Microsoft.Maui.Graphics;
global using Comet;
global using System.Linq;
global using Microsoft.Maui.Primitives; |
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace JsonFeed.Tests
{
public class FeedItemTests
{
[Fact]
public void NullForNullId()
{
var json = new Dictionary<string, object>
{
{ "id", "" },
{ "title", "Should Be Null" }
};
var feedItem = new FeedItem(json);
A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesktopBookmarks.View
{
public class FilterTreeEventArgs
{
public string SearchText { get; private set; }
public FilterTreeEventArgs(string query)
{
... |
using System;
namespace ElasticsearchNETCoreSample.ViewModels
{
public class HomeViewModel
{
public string InsertedData { get; set; }
}
}
|
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Reflection;
using MassTransit;
using DR.Packages.MassTransit;
using Microsoft.Extensio... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Horizen.FullNode.API.Net.Standard
{
public interface IAddress
{
string address { get; set; }
bool ValidateAddress(string address);
}
public class PublicAddress: IAddress
{
public string address { ... |
namespace IrregularZ.Graphics;
public readonly struct Frustum
{
public readonly Plane[] Planes;
private readonly Plane _near;
private readonly Plane _far;
private readonly Plane _left;
private readonly Plane _right;
private readonly Plane _top;
private readonly Plane _bottom;
public F... |
using System;
using Mono.Linker;
using Mono.Linker.Steps;
namespace Log
{
public class LogStep : IStep
{
public void Process (LinkContext context)
{
var msgError = MessageContainer.CreateCustomErrorMessage ("Error", 6001);
var msgWarning = MessageContainer.CreateCustomWarningMessage (context, "Warning", 6... |
using PdfSharp.Pdf;
using System;
using System.Collections.Generic;
using System.Text;
namespace PdfSharp.Pdf.Signatures
{
internal class PositionTracker
{
public PdfItem Item { get; private set; }
public int Start { get; private set; }
public int End { get; private set; }
pub... |
// 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 System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Microsoft.AspNetCore.SignalR
... |
using dotnet_5_role_based_authorization_api.Entities;
using System.Collections.Generic;
namespace WebApi.Entities
{
public class Tag
{
public string TagId { get; set; }
public ICollection<JobPost> JobPosts { get; set; }
public List<Jobs_Tags> JobPostTags { get; set; }
}
}
|
using EvilDICOM.Core;
using EvilDICOM.Core.Element;
using EvilDICOM.Core.Helpers;
using EvilDICOM.Core.Interfaces;
using EvilDICOM.Core.Selection;
using EvilDICOM.Network.Enums;
using C = EvilDICOM.Network.Enums.CommandField;
namespace EvilDICOM.Network.DIMSE
{
public class CGetResponse : AbstractDIMSEResponse, I... |
@model dynamic
<div id="branding">
<div id="app">@Html.ActionLink(T("Project Orchard").ToString(), "Index", new { Area = "", Controller = "Home" })</div>
<div id="site">@Html.ActionLink(T("Your Site").ToString(), "Index", new { Area = "", Controller = "Home" })</div>
</div> |
using System.Globalization;
using UnityEngine;
namespace Assets.Scripts.Binding
{
public class UnityValueConverter<T> : ValueConverter<T,T>
{
private static UnityValueConverter<T> _instance;
public static UnityValueConverter<T> Instance
{
get { return _instance ?? (_instan... |
using System.CodeDom;
namespace FluentDOM
{
public class CodeExpressionBuilder
{
private CodeExpression _codeExpression;
public CodeExpression Build()
{
return _codeExpression;
}
}
} |
using System;
using Tesla.NET.Models;
using TeslaTizen.Utils;
namespace TeslaTizen.Models
{
public class TeslaAuthentication
{
/// <summary>
/// Gets the access token.
/// </summary>
public string AccessToken { get; }
/// <summary>
/// Gets the type of the <see... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameCompletedUIManager : MonoBehaviour {
public Text highMessage;
public Text mediumMessage;
public Text lowMessage;
public void OnCloseMenuBtnClicked() {
GameManager.Instance.Current... |
// 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 System.ServiceModel.Channels
{
using System;
using System.ServiceModel.Description;
using Syst... |
using System;
using System.Collections.Generic;
namespace Karambolo.ReactiveMvvm
{
public readonly struct ObservedValue<T> : IEquatable<ObservedValue<T>>
{
public static implicit operator ObservedValue<T>(ObservedValue _)
{
return default;
}
public static implicit ... |
// Strongly-typed signature string for writing a variant with an object path.
struct ObjectPath
{
private string _value;
public ObjectPath(string value) => _value = value;
public override string ToString() => _value ?? "";
} |
using System;
using Gageas.Lutea.Core;
namespace Gageas.Lutea.OutputDevice
{
interface IOutputDevice : IDisposable
{
int Freq { get; }
int Chans { get; }
bool CanAbort { get; }
bool Pause { get; set; }
float Volume { get; set; }
ulong BufferedSamples... |
using Net.Light.Framework.Entity.Base;
using Net.Light.Framework.Entity.QueryBuilding;
using Net.Light.Framework.Logic.BaseDal;
using Net.Light.Framework.Logic.Extensions;
using System;
namespace BookmarksStocker.Source.DL
{
internal class BookmarksDL : BaseDL
{
internal BookmarksDL()
: bas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
using ChessBoard;
namespace ChessBoardWPFDisplay
{
public cl... |
using ConceptMatrix.Models;
using ConceptMatrix.Utility;
using ConceptMatrix.Views;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Media3D;
namespace ConceptMatrix.ViewModel
{
... |
namespace Mappy.UI.Controls
{
using System.Drawing;
using Mappy.UI.Painters;
public class PainterLayer : AbstractLayer
{
private readonly IPainter painter;
public PainterLayer(IPainter painter)
{
this.painter = painter;
}
public voi... |
namespace Xena.Contracts.Domain
{
public class CalculatedAccountantMembershipDto : IHasIdDto
{
public long? Id { get; set; }
public long MembershipId { get; set; }
public long FiscalSetupId { get; set; }
public long UserId { get; set; }
public long? ResourceId { get; set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PoolController : MonoBehaviour {
public GameObject prefab;
public int columnPoolSize = 5;
public float columnMin = -1f;
public float columnMax = 3.5f;
public float spawnRate = 4f;
private float spawnXp... |
using System;
using System.Windows;
using PixiEditor.Models.UserPreferences;
using PixiEditor.Views;
namespace PixiEditor.Models.Dialogs
{
public class NewFileDialog : CustomDialog
{
private int height = (int)PreferencesSettings.GetPreference("DefaultNewFileHeight", 16L);
private int width = ... |
using System.ComponentModel.DataAnnotations;
namespace LinFx.Module.Identity.ViewModels
{
public class RoleUpdateInput
{
/// <summary>
/// 姓名
/// </summary>
[Required]
public string Name { get; set; }
/// <summary>
/// 开启锁定功能
/// </summary>
... |
// 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.
#nullable disable
extern alias DSR;
using System.Collections.Immutable;
using System.Reflection.Metadata;
using S... |
using System;
using System.Collections.Generic;
namespace EFCore.IncludeBuilder.Tests.Common.Models;
public class Post
{
public Guid Id { get; set; }
public Guid BlogId { get; set; }
public Blog Blog { get; set; } = null!;
public Guid AuthorId { get; set; }
public User Author { get; set; } = null... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Azure.Mobile.Analytics;
using Zermelo.API.Exceptions;
namespace Zermelo.App.UWP.Helpers
{
class ExceptionHelper
{
public static void HandleException(Exception ex, string location, Action<string> ShowError,
... |
using System.Collections.Generic;
public class TagCollection : IReadonlyTags
{
private HashSet<int> tags = new HashSet<int>();
public TagCollection()
{
}
public TagCollection(int[] initialTags)
{
for (int i = 0; i < initialTags.Length; i++)
{
tags.Add(initialTags[i]);
}
}
public TagCollection(strin... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace RptToXml
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: RptToXml.exe <RPT filename | wildcard> [outputfilename]");
Console.W... |
// Copyright 2010 Chris Patterson
//
// 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... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AbilitySwap : MonoBehaviour
{
public enum AbilityType
{
Bridge,
Hook,
Cannon,
Boat,
Wall,
Horn,
None
}
public const string untaggedTag = "Untagged";
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.