content stringlengths 23 1.05M |
|---|
using Chatter.CQRS.Commands;
using Chatter.MessageBrokers.Context;
using Chatter.MessageBrokers.Receiving;
using Chatter.MessageBrokers.Routing.Options;
using Chatter.MessageBrokers.Sending;
using System.Threading.Tasks;
namespace Chatter.MessageBrokers.Routing.Slips
{
public static class BrokeredMessageDispatche... |
using System.Web.Mvc;
namespace ViewAssembly.Area
{
public class ARViewEngine : RazorViewEngine
{
public ARViewEngine()
{
ViewLocationFormats = new string[]
{
"~/Areas/AnalisisRiesgo/Views/{1}/{0}.cshtml"
};
}
}
}
|
using System;
using System.Xml;
namespace Camstar.XMLClient.API
{
internal class csiResponseDataImpl : csiXMLElementImpl, csiResponseData, csiXMLElement
{
public csiResponseDataImpl(csiDocument doc, XmlElement domElement)
: base(doc, domElement)
{
}
public csiResponseDataImpl(csiDocument doc, csiXMLEleme... |
using System;
using System.Collections.Generic;
namespace CauseRequestWpf
{
public class CauseDoc
{
public int DBID { get; set; }
public int ID { get; set; }
public string DocType { get; set; }
public int DocDate { get; set; }
public string GetDate {
get
... |
using System.ComponentModel.DataAnnotations;
namespace ALS.DTO
{
public class DisciplineDTO
{
[Required]
public string Name { get; set; }
public string Cipher { get; set; }
}
}
|
// <snippetisvalidstatetransition>
// Create an EntityReference to represent an open case
EntityReference caseReference = new EntityReference()
{
LogicalName = Incident.EntityLogicalName,
Id = _caseIncidentId
};
IsValidStateTransitionRequest checkState =
new IsValidStateTransitionRequest();
//... |
using System;
namespace SmartRoadSense.Android {
/// <summary>
/// Interface for fragments that need to be aware about their display status.
/// </summary>
public interface IDisplayAwareFragment {
/// <summary>
/// Called when the fragment is shown.
/// </summary>
void... |
using System;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace TcpMsg.Server
{
class ClientSocket
{
private readonly ConnectionsManager _connectionsManager;
private readonly TcpClient _socket;
private const string CancelMsg = "<<di... |
namespace Votorantim.Application.Base
{
internal interface IAdapter<in TResquest, out TResponse, TRecord>
where TResquest: IRequest
where TResponse : IResponse
{
TRecord Adapt(TResquest request);
TResponse Adapt(TRecord record);
}
}
|
using UnityEngine;
using UnityEngine.UI;
namespace VoidWars {
/// <summary>
/// Class for setting button text colours when the button becomes disabled.
/// </summary>
public class ButtonEx : MonoBehaviour {
void Start() {
_button = GetComponent<Button>();
_text = _butto... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Grpc.AspNetCore.Server.Model;
using MagicOnion.Server;
using MagicOnion.Server.Glue;
using MagicOnion.Server.Hubs;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection.Extensions;
using ... |
using System;
using Nebula.Connectivity;
using Nebula.Packets;
using Nebula.Serialization;
using NFluent;
using NSubstitute;
using NUnit.Framework;
using UnityEngine;
namespace Tests.Nebula.Serialization
{
public class SpawnPacketSerializerTests
{
private SpawnPacketSerializer _serializer;
pri... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
namespace RagiSharkServerCS.TShark
{
class CaptureInterface
{
public int No { get; set; }
... |
using Knx.Common;
using Knx.Common.Attribute;
namespace Knx.DatapointTypes.Dpt4ByteFloatValue
{
[DatapointType(14, 51, Unit.Kilogram, Usage.General, Description = "mass")]
public class DptMass : Dpt4ByteFloat
{
public DptMass(byte[] twoBytes)
: base(twoBytes)
{
... |
namespace TravelAgent.Services.Tours
{
using System.Collections.Generic;
using TravelAgent.Services.Tours.Models;
public interface IToursService
{
IEnumerable<ToursListingServiceModel> All(int page = 1);
IEnumerable<ToursListingServiceModel> Bulgaria(int page = 1);
IEnumerabl... |
#if EF6
using System;
using System.Data.Entity;
using System.Linq.Expressions;
namespace EntityFramework.BulkInsert.Extensions
{
public static class DbContextExtensions
{
private static Delegate originalConnectionStringDelegate;
private static readonly object syncLock;
static DbConte... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ThirtySecondsOfCSharp.Lists
{
public partial class Lists
{
public static Dictionary<TResult, int> CountBy<T, TResult>(List<T> list, Func<T, TResult> keySelector)
{
return list.GroupBy(keySelector)
... |
using JetBrains.Annotations;
using System.Security.Claims;
namespace Plus.Authorization.Permissions
{
public class PermissionValueCheckContext
{
[NotNull]
public PermissionDefinition Permission { get; }
[CanBeNull]
public ClaimsPrincipal Principal { get; }
public Perm... |
public class TrainingSettings
{
public static bool ShowHitboxes = false;
public static bool BlockAlways = false;
public static bool OnHit = false;
public static bool CpuOff = false;
public static int Stance = 0;
}
|
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LinqToDB.SqlQuery
{
public class SqlInsertStatement : SqlStatementWithQueryBase
{
public SqlInsertStatement() : base(null)
{
}
public SqlInsertStatement(SelectQuery selectQuery) : base(selectQuery)
{
}
pub... |
using System;
using Uno.Compiler.API.Domain.Graphics;
using Uno.Compiler.API.Domain.IL;
using Uno.Compiler.API.Domain.IL.Members;
using Uno.Compiler.Backends.UnoDoc.Builders.Naming;
namespace Uno.Compiler.Backends.UnoDoc.Builders
{
public class EntityNaming : IEntityNaming
{
public string GetPageTitle... |
// Copyright 2020-present Etherna Sagl
//
// 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... |
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Diagnostics.CodeAnalysis;
/// <content>
/// Contains the <see cref="DevInstallFlag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenNLP.Tools.Util
{
/// <summary>
/// Type signature for a class that supports the basic operations required
/// of a typesafe heterogeneous map.
///
/// @author dra... |
using System;
using System.Reflection;
using System.Windows.Forms;
namespace BrawlLib.Modeling.Collada
{
public partial class Collada : Form
{
public Collada()
{
InitializeComponent();
}
public Collada(Form owner, string title)
: this()
{
... |
// Copyright (c) Dominick Baier & Brock Allen. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace IdentityModel.AspNetCore.OAuth2Introspection
{
/// <summary>
/// Defaults for OAuth 2.0 introspection authentication
///... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace CartApp.Models
{
/// <summary>
/// Class to ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Peque.Traffic
{
[System.Serializable]
public class WaypointData
{
public WaypointData previousWaypoint;
public WaypointData nextWaypoint;
[Tooltip("If the previous waypoint is in a different s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using todo.Models;
using Microsoft.Extensions.Options;
namespace todo.Controllers
{
public class ItemController : Controller
{
private readon... |
using csv_import.domain;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.ModelConfiguration;
namespace csv_import.datalayer.Configurations
{
public class FileDetailMapping: EntityTypeConfiguration<File>
{
public FileDeta... |
using System;
using UnityEngine;
namespace CommonComponent
{
public class PathTool
{
private static string s_persistentDataPath = string.Empty;
public static string GetPersistentDataPath()
{
if (string.IsNullOrEmpty(s_persistentDataPath))
{
#if UNITY_ANDROID &&... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
... |
using GoodAI.Core;
using GoodAI.Core.Observers;
using GoodAI.Core.Observers.Helper;
using GoodAI.Modules.Retina;
using ManagedCuda;
namespace GoodAI.Modules.Observers
{
public class MyPupilControlObserver : MyNodeObserver<MyPupilControl>
{
public MyPupilControlObserver()
{
m_kernel... |
/*
*Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf
*/
using System.Drawing;
using System.Windows;
using System.Windows.Forms;
namespace OsEngine.Charts.ColorKeeper
{
/// <summary>
/// Логика взаимодействия для ChartMasterColorKeeperUi.xaml
/... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2018-2019
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* ... |
namespace Xerris.DotNet.Core.Utilities.Mapper.Converter
{
public abstract class AbstractValueConverter<T> : IValueConverter<T>
{
public virtual T Convert(object value) => InternalConvert(AsString(value));
protected virtual string AsString(object value) => (value??string.Empty).ToString();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Framework.Binding;
using DotVVM.Framework.Controls;
namespace DotVVM.DevExtreme.Controls
{
public class TextBox : HtmlEditWidgetControlBase
{
public TextBox() : base("dx-tex... |
namespace AzSK.ARMChecker.Lib
{
public class IntegerValueControlData
{
public ControlDataMatchType Type { get; set; }
public int Value { get; set; }
public string IfNoPropertyFound { get; set; }
}
}
|
using MailinatorClient.Core;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace MailinatorClient.AspNetCore
{
public static class MailinatorApplicationBuilder
{
public static IServiceCollection SetupMailinatorClient(this IServiceCollection app, string apiKey)
{
... |
using UnityEngine;
using System.Collections;
public class ReloadStation : MonoBehaviour {
private const float refillAmount = 50;
[SerializeField]
private double capacity = 150;
[SerializeField]
private bool fillIron = true;
[SerializeField]
private bool fillSteel = false;
[SerializeF... |
namespace Objectivity.Bot.Tests.Stories.StoryModel
{
public class PerformanceStep<T> : IStoryStep<T>
{
protected const string OptionsToken = "buttons";
protected const string TokenValueKey = "value";
public PerformanceStep(T messageActivity)
{
this.MessageA... |
namespace simpleserver;
public class SimplePathsMiddleware
{
private readonly RequestDelegate next;
private readonly ILogger<SimplePathsMiddleware> logger;
public SimplePathsMiddleware(RequestDelegate next, ILogger<SimplePathsMiddleware> logger) =>
(this.next, this.logger) = (next, logger);
p... |
using System;
using System.Collections.Generic;
using ChainVitae_Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTesting
{
[TestClass]
public class NodeInstanceTest
{
[TestMethod]
public void TestMethod1()
{
}
[TestMethod]
public ... |
namespace Domains.DataTransferObjects
{
public class OriginalPhotoDTO
{
public string PhotoUrl { get; set; }
}
}
|
using McMaster.Extensions.CommandLineUtils;
using NSeed.Abstractions;
using NSeed.Cli.Assets;
namespace NSeed.Cli.Subcommands.Seed
{
[Command("seed", Description = Resources.Seed.CommandDescription)]
internal partial class SeedSubcommand : BaseCommand
{
}
}
|
namespace Snittlistan.Test.Domain
{
using System.Collections.Generic;
using NUnit.Framework;
using Snittlistan.Web.Areas.V2.Domain.Match;
[TestFixture]
public class MatchSerieTest
{
[Test]
public void ValidMatchSerie()
{
// Arrange
v... |
@model Forms.Web.Models.FormComponents.ErrorMessage
<span id="@Model.Id" class="govuk-error-message">
<span class="govuk-visually-hidden">Error: </span>@Model.Error
</span>
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using FMOD;
using FMOD.Studio;
public sealed class FMODEventInstancer
{
//we store fmod event instances into dict to pass out reference to same instance between different control points
private Dictionary<St... |
using Microsoft.JSInterop;
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using TG.Blazor.IndexedDB;
namespace BlazorWorker.Demo.IoCExample
{
public class MyIndexDBService
{
private readonly IJSRuntime jsRuntime;
private readonly IndexedDBManager indexedDBMa... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Bondage.Tier.Entities.Classes;
using Bondage.Tier.ViewModels.Classes.Additions;
using Bondage.Tier.ViewModels.Classes.Views;
namespace Bondage.Tier.Services.Interfaces
{
/// <summary>
/// Represents a <see cref="IEffortService"/> interface... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace UnrealEngine.Runtime
{
/*public struct SizeOf<T> where T : struct
{
static SizeOf()
{
Value = Marshal.SizeOf<T>();
}
public static ... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System;
namespace UnityEngine.Perception.GroundTruth
{
/// <summary>
/// The origin to use for bounding box calculation
/// </summary>
public enum BoundingBoxOrigin
{
/// <summary>
/// (0, 0) is located at the top-left of the image, with +y pointing down.
/// </summary... |
#Thu Sep 06 03:39:39 BST 2018
lib/features/com.ibm.websphere.appserver.autoSecurityS4U2-1.0.mf=f9186184f13cbc846c6f24167329924f
lib/com.ibm.ws.security.token.s4u2_1.0.22.jar=2fbd38907775159d5af233f3dacb429c
|
using Microsoft.Xrm.Sdk.Discovery.Async;
namespace Microsoft.Xrm.Sdk.Client.Async
{
internal sealed class DiscoveryServiceContextInitializer : ServiceContextInitializer<IWcfAsyncDiscoveryService>
{
public DiscoveryServiceContextInitializer(AsyncDiscoveryServiceProxy proxy) : base(proxy)
{
... |
using System.Data;
using System.Data.SqlClient;
using Dapper;
using Resgrid.Model.Repositories;
using Resgrid.Config;
using System.IO;
using Resgrid.Providers.Migrations.Migrations;
namespace Resgrid.Repositories.DataRepository
{
public class OidcRepository : IOidcRepository
{
public bool UpdateOidcDatabase()
{... |
using Autofac;
using System.Reflection;
using Xunit;
namespace Pellared.Owned.Tests
{
public class RegisterAutofacOwnedTests : RegisterOwnedTests
{
protected override void RegisterOwned(ContainerBuilder builder)
{
builder.RegisterAutofacOwned();
}
}
public class R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovingSound : MonoBehaviour
{
private AudioSource source;
private Vector3 lastPos;
private float lastVelocity;
private float velocity;
public float Velocity { get => velocity; }
public float speedSca... |
//-----------------------------------------------------------------------
// <copyright file="IHttpDirectRequest.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Dot... |
using NQI_LIMS.IRepository.Base;
//using NQI_LIMS.Model.Models.LIMSORACLE;
using NQI_LIMS.Model.Models;
namespace NQI_LIMS.IRepository
{
/// <summary>
/// IPREORDTASKRepository
/// </summary>
public interface IPREORDTASKRepository : IBaseRepository<PREORDTASK>
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TalkBtnR : MonoBehaviour
{
public GameObject Button;
public GameObject talkUI;
private void OnTriggerEnter2D(Collider2D other)
{
Button.SetActive(true);
}
private void OnTriggerExit2D(Collider... |
using UnityEngine;
using System.Collections;
public class UIMain : MonoBehaviour
{
void Awake()
{
Framework.RegisterEvent(ThisGameEvent.HideUI, EventHideUI);
}
void OnDestroy()
{
Framework.UnregisterEvent(ThisGameEvent.HideUI, EventHideUI);
}
// Use this for initialization
... |
// This file is licensed to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Spines.Hana... |
using Microsoft.Extensions.Configuration;
using MySqlConnector;
using System;
using System.IO;
using System.Threading.Tasks;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.IO;
namespace DataSeeder
{
public class ApiGatewayAdminDataSeedContributor : IDataSeedContributor, IScopedDependency
... |
using System.Xml.Serialization;
using VRage.ObjectBuilders;
using VRageMath;
namespace Sandbox.Game.WorldEnvironment.ObjectBuilders
{
[MyObjectBuilderDefinition]
public class MyObjectBuilder_EnvironmentDataProvider: MyObjectBuilder_Base
{
[XmlAttribute("Face")]
public Base6Directions.Direc... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
using System.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json.Linq;
using System.IO;
namespace App2.Xjtu
{
/// <summary>
/// card.xjtu.edu.cn
/// </summary>
public c... |
using System;
using GatewayApiClient.DataContracts;
using GatewayApiClient.Utility;
namespace GatewayApiClient.ResourceClients.InterfacesCielo {
public interface IBuyerResourceCielo {
HttpResponse<GetBuyerData> GetBuyer(Guid buyerKey);
HttpResponse<CreateBuyerResponse> CreateBuyer(CreateBuyerRequ... |
using Cake.Core.IO;
namespace Cake.Newman.Reporters
{
/// <summary>
/// Extension methods for the <see cref="HtmlReporterSettings" /> class.
/// </summary>
public static class HtmlReporterSettingsExtensions
{
/// <summary>
/// Specify a path where the output HTML file will be w... |
using System.Collections.Generic;
using System.IO;
using FontStashSharp;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using static Blocks.Constants;
namespace Blocks
{
class App : Game
{
private static App instance;
private readonly GraphicsDeviceManager g... |
using Dropbox.Api;
using Dropbox.Configuration;
using MediaBrowser.Common;
using MediaBrowser.Common.Plugins;
namespace Dropbox.Dependencies
{
public class DependencyModule : IDependencyModule
{
public void BindDependencies(IDependencyContainer container)
{
Bind<IConfigurationRetri... |
namespace Be.Vlaanderen.Basisregisters.Redis.Populator.Tests
{
using Infrastructure;
using Xunit;
using System;
using Fixtures;
public class GivenABatchWasAlreadyStarted
{
private readonly RedisStore _sut;
public GivenABatchWasAlreadyStarted()
{
_sut = new R... |
using System;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
using OpenMod.API;
using OpenMod.API.Ioc;
using OpenMod.API.Persistence;
using OpenMod.API.Prioritization;
using OpenMod.Core.Ioc;
namespace OpenMod.Core.Persistence
{
[OpenModInternal]
[UsedImplicitly]
[ServiceImpl... |
using Newtonsoft.Json;
using RestEase;
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using WireMock.Client;
namespace WireMock.Net.Client.Net472
{
class Program
{
static async Task Main(string[] args)
{
// Create an implementation of ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RGBPhotoListener : MonoBehaviour {
public GameObject display;
public float receiveFrequency = .5f;
private PythonClient clientObject;
private float elapsedTime = 0.0f;
// Use this for initialization
void Start () {
... |
/*
* Copyright 2020 James Courtney
*
* 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 agreed... |
using System;
public class RectangleArea
{
public static void Main()
{
/*Problem 2. Rectangle Area
* Write a program, which calculates a rectangle’s area, based on its width and height.
* The width and height come as floating point numbers on the console,
* formatted to th... |
namespace LinkZoneSdk
{
public interface IFirewall : IFluentInterface
{
}
} |
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Chart.Win;
using DevExpress.ExpressApp.Dashboards.Win;
using DevExpress.ExpressApp.FileAttachments.Win;
using DevExpress.ExpressApp.Notifications.Win;
using DevExpress.ExpressApp.Office.Win;
using DevExpress.ExpressApp.PivotChart.Win;
using DevExpress.ExpressApp... |
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build gofuzz
// package csv -- go2cs converted at 2020 October 09 04:59:44 UTC
// import "encoding/csv" ==> using csv = go.encoding.csv_package
// Original... |
using System;
namespace _05.Family_House
{
class Program
{
static void Main(string[] args)
{
int months = int.Parse(Console.ReadLine());
double electricitySum = 0;
double waterSum = months * 20;
double internetSum = months * 15;
double... |
using System.Linq;
using static System.Math;
namespace SolutionsByProgrammingTask
{
internal static class Program
{
public static void Main(string[] args)
{
int[] a = {1, 2, 3};
var rootMeanSquare = Sqrt(a.Sum(i => i * i) / a.Length);
}
}
}
|
using CineTeatro.ServiceLayer.Facades;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CineTeatro.Common.Entities;
using System.Data.SqlClient;
using CineTeatro.DataLayer.Repositories.Facades;
using CineTeatro.DataLayer;
namespace Ci... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TextCounterScript : MonoBehaviour{
public Text text;
void Start()
{
Coin.OnCoinCollected
+= ScriptOnOnMoneyCollected;
}
void ScriptOnOnMone... |
#region License Information
/*
* This file is part of HEAL.Bricks which is licensed under the MIT license.
* See the LICENSE file in the project root for more information.
*/
#endregion
using Dawn;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tas... |
namespace dotnetCampus.Cli
{
/// <summary>
/// 为 <see cref="ICommandLineFilter"/> 提供执行上下文参数。
/// </summary>
public interface ICommandLineFilterContext
{
/// <summary>
/// 获取当前的命令行上下文。
/// </summary>
CommandLine CommandLine { get; }
/// <summary>
/// ... |
using System;
namespace Microsoft.Maui.Platform
{
public class WindowsNativeMessageEventArgs : EventArgs
{
public WindowsNativeMessageEventArgs(IntPtr hwnd, uint messageId, IntPtr wParam, IntPtr lParam)
{
Hwnd = hwnd;
MessageId = messageId;
WParam = wParam;
LParam = lParam;
}
public IntPtr Hwnd... |
@using Sitecore.Mvc
@using Sitecore.Mvc.Presentation
@using Sitecore.Web.UI.Controls.Common.UserControls
@model Sitecore.Mvc.Presentation.RenderingModel
@Sitecore.ContentTesting.Components.FilteredComboBox.GetHtmlString(Model.Rendering)
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Protoinject;
namespace Protogame
{
public class DefaultUserInterfaceController : IUserInterfaceController
{
private readonly IKernel _kernel;
private readonly IHierarchy _hierarchy;
private reado... |
using System.Collections;
namespace DataLink.Core.Interceptors {
public interface IsLoadInterceptor {
void OnLoad(IEnumerable entities);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGC.Core.Mathematica;
using TGC.Core.SceneLoader;
using TGC.Group.Objetos;
namespace TGC.Group.Model
{
class ArbolDirectorio : Colisionable
{
Pieza piezaAsociada;
Pista pistaAsociada;
Item... |
using System.Collections;
using UnityEngine;
//-----Script body-----\\
public class CameraRotate : MonoBehaviour
{
//-----Privates variables-----\\
private Vector3 offset;
//-----Publics variables-----\\
[Header("Variables")]
public Transform player;
[Space]
[Header("Position")]
p... |
//
// Author:
// Aaron Bockover <abock@xamarin.com>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Xamarin.Interactive.Messages
{
sealed class MessageAction
{
public const string DismissActionId = "_xi-message-action-dismiss... |
using System.Windows;
using System.Windows.Forms;
namespace MyGantt.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
okno = Window.GetWindo... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
[MapsApi("c... |
/*
* PROJECT: Atomix Development
* LICENSE: BSD 3-Clause (LICENSE.md)
* PURPOSE: Rem MSIL
* PROGRAMMERS: Aman Priyadarshi (aman.eureka@gmail.com)
*/
using System;
using System.Reflection;
using Atomix.Assembler;
using Atomix.Assembler.x86;
using Atomix.CompilerExt;
using ... |
namespace Monq.Core.HttpClientExtensions.Extensions
{
/// <summary>
/// The class provides a set of wrapper methods over the <see cref="RestHttpClientSerializer"/>.
/// </summary>
static class JsonExtensions
{
/// <summary>
/// Deserialize the JSON string into an object of type <typ... |
namespace HockeyApp
{
public static class ExitCodes
{
/// <summary>
/// Used when command fails to execute successfully
/// </summary>
public static int CommandFailed => 1000;
/// <summary>
/// Used when the user specified an invalid command
/... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RoyalCode.Metadata.Models
{
class MetaProperty
{
}
}
|
using System;
namespace bugTrapKit
{
public enum TrackerStatus
{
CurrentTracker,
Disabled,
Enabled,
ComingSoon
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.