content stringlengths 23 1.05M |
|---|
using UnityEngine;
using UnityEngine.Events;
namespace SHMUP.Events
{
public class OnTriggerStay2DEvent : MonoBehaviour
{
public UnityEvent<Collider2D> onTriggerStay2D = new UnityEvent<Collider2D>();
void OnTriggerStay2D(Collider2D collision)
{
if (onTriggerStay2D == null)
... |
/*
Copyright 2011 Google 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 agreed to in writing, software
dis... |
using Newtonsoft.Json;
namespace BoxOptions.CoefficientCalculator.Algo
{
[JsonObject(MemberSerialization.OptIn)]
internal class BoxOption
{
// Transient (ScriptIgnoreAttribute)
private long _startsInMS;
private long _lenInMS;
private double _relatUpStrike;
private d... |
using CodingArena.Annotations;
using CodingArena.Common;
using System;
using System.Configuration;
using System.Windows;
using CodingArena.AI;
namespace CodingArena.Main.Battlefields.FirstAidKits
{
public sealed class FirstAidKit : Collider, IFirstAidKit
{
[NotNull] private readonly Battlefield myBatt... |
using UnityEngine;
using System.Collections;
using System.IO;
public class FileData {
public string fileName;
public long fileSize;
public FileData(string file) {
fileName = file;
fileSize = new System.IO.FileInfo(file).Length;
}
}
|
namespace Appleseed.Services.Base.Engine.Processors.Impl
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Logging;
using SolrNet;
using Appleseed.Services.Base.Engine.Processors.Impl.SolrModel;
using Microsoft.Practices.ServiceLocatio... |
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
using System.Collections.Generi... |
using System.Windows.Input;
namespace Xmf2.Common.Extensions
{
public static class CommandExtensions
{
public static void TryExecute(this ICommand command, object parameter = null)
{
if (command != null && command.CanExecute(parameter))
{
command.Execute(parameter);
}
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using TCCarShare.IServices;
using TCCarShare.Entity.Request;
using TCCarShare.Entity.Response;
using TCCarShare.Models;
using TCCarShare.Services;
using TC.ZBY.Framewo... |
using ProtocolSharp.Types;
using ProtocolSharp.Utils;
namespace ProtocolSharp.Entities.Entities
{
public class ArmorStand : LivingEntity
{
public override EntityType Type => EntityType.ArmorStand;
public override float BoundingBoxX
{
get
{
if (IsSmall) return 0.25f;
return IsMarker ? 0.0f : 0.5... |
using System;
using System.Linq;
using System.Reflection;
using TeeSquare.TypeMetadata;
using TeeSquare.Writers;
using MethodInfo = System.Reflection.MethodInfo;
using PropertyInfo = System.Reflection.PropertyInfo;
namespace TeeSquare.Reflection
{
public class ReflectiveWriterOptions : IReflectiveWriterOptions, I... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using NUnit.Framework;
using Shouldly;
using Wyam.Common.Documents;
using Wyam.Common.IO;
using Wyam.Common.Meta;
using Wyam.Testing;
using Wyam.Testing.Documents;
using Wyam.... |
namespace Goofy.Data
{
public class GoofyDataConfiguration
{
public string DataProviderName { get; set; } = "sqlite";
public ConnectionConfiguration DefaultConnection { get; set; } = new ConnectionConfiguration();
}
}
|
using System.Collections.Generic;
using System.Text;
using ALaCart.Data;
using ALaCart.Models;
using ALaCart.Data.Interfaces;
namespace ALaCart.Service
{
public interface IRestaurantService
{
Restaurant GetById(int Id);
ICollection<Restaurant> GetAll();
}
public class RestaurantSe... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Pharmacy_Management
{
public partial class Form1 : Form
{
List <... |
using Newtonsoft.Json;
using RaiBlocks.Interfaces;
using RaiBlocks.Results;
using System;
using System.Collections.Generic;
namespace RaiBlocks.Actions
{
public class AccountsPending : IAction<AccountsPendingResult>
{
public AccountsPending(List<string> accounts, long count, bool source)
{
... |
using Survey.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Survey.ViewModels
{
public class PerguntaViewModel
{
public int Id { get; set; }
public string Titulo { get; set; }
public string Descricao... |
using System.Diagnostics.Contracts;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ErrorProne.NET.Extensions
{
public static class ExpressionExtensions
{
public static string GetLiteral(this ExpressionSyntax expression, SemanticModel semanticMode... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIMissionBriefingMap : MonoBehaviour
{
public Transform MapPointRoot { get { return m_MapPointRoot; } }
[SerializeField] private Transform m_MapPointRoot;
[SerializeField] private UIMissionBr... |
// 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.
using System;
using System.Reflection;
using System.Diagnostics;
namespace System.Reflection.Runtime.CustomAttribut... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Matching;
using M... |
using API.SharedObjects.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace API.DataLayer.ConcreteClass
{
public class Property
{
[Key]
public Guid propertyId { ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ThreadSafe
{
public class StateModifier<T>
{
private readonly Repository<T> m_repos;
/// <summary>
/// Get/Set WIP state. Modify this state directly.
/// </summary>
public T WorkingState { get; set; }
/// <summary>
/// Get ... |
//
// Copyright (c) 2018 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
namespace nanoFramework.Tools.Debugger
{
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// !!! KEEP IN S... |
/* Copyright © 2021 Yusuf Sulaeman <sufsulae@gmail.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 limitation the rights to
* use, copy... |
// ReSharper disable once CheckNamespace
namespace Svg.ExCSS
{
public abstract class Term
{
public static readonly InheritTerm Inherit = new InheritTerm();
}
}
|
namespace DryRun
{
public interface IUnknownService
{
void AddRef();
string QueryInterface(string key);
void Release();
}
} |
// Copyright (C) 2020 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Charites.Windows.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace Charites.Windows.Samples.SimpleLoginDemo
{
public class Sim... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AchtungStarter.Core
{
public class Controller
{
private readonly StateStorage _stateStorage;
private readonly ServerManager _serverManager;
pri... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Braco.Services
{
/// <summary>
/// Defines that the inheriting member will setup one or more services.
/// </summary>
public interface ISetupService : IHaveConfigurationSection
{
/// <summary>
/// N... |
using System;
using log4net;
using RatTracker.Models.Journal;
namespace RatTracker.Infrastructure.Events
{
public class JournalEvents
{
private readonly ILog log;
public JournalEvents(ILog log)
{
this.log = log;
}
public event EventHandler<Location> Location;
public event EventHand... |
// Copyright 2016 Raymond Neilson
//
// 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 ag... |
using System.Collections.Generic;
/**
* Utilitary functions for dictionary
* @author zeh
*/
public class JSONDictUtils {
public static Dictionary<string, object> getDict(Dictionary<string, object> input, string key, Dictionary<string, object> defaultValue = null) {
if (input.ContainsKey(key)) return (Dictionary... |
using Dapper;
using Shared.Domains;
using Shared.Domains.Enumerations;
using System.Data;
namespace Shared.Contracts.DapperExtensions
{
public interface IQueryParameters<T>
{
IQueryParameters<T> AddQueryParameter(string name, object value,
QueryType queryType = QueryType.Equal,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace UCPeer.Builder
{
public class NodeBuilder
{
private readonly List<MiddlewareWrapper> _middlewares = new List<MiddlewareWrapper>();
private INetwork _network;
private Func<PipelineContext, Task> _endpoint... |
using System;
namespace Gsemac.IO {
[Flags]
public enum FindFileOptions {
None = 0,
Default = None,
IgnoreExtension = 1,
IgnoreCase = 2
}
} |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2022 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... |
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
namespace Windows.Devices.Adc
{
internal interface IAdcController
{
bool IsChannelModeSupported(AdcChannelMode channelMode);
AdcChannel OpenChannel(int channelNumber);
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Whitespace.Entities
{
/// <summary>
/// Indicates if a channel is blocked.
/// </summary>
public enum BlockedType
{
/// <summary>
/// Channel is not blocked fo... |
using System.Windows;
namespace iBank.Operator.Desktop
{
/// <summary>
/// Interaction logic for TextPopup.xaml
/// </summary>
public partial class TextPopupWindow : Window
{
public TextPopupWindow()
{
InitializeComponent();
}
public TextPopupWindow(str... |
namespace NetCoreTeamCity.Clients
{
internal interface ITeamCityApiClient
{
T Get<T>(string url);
T Post<T>(string url, T obj);
T2 Post<T1, T2>(string url, T1 obj);
T Put<T>(string url, T obj);
T2 Put<T1, T2>(string url, T1 obj);
void Delete<T>(string url, T obj)... |
using System;
using System.Data;
using System.Xml.Serialization;
namespace IBatisNet.Common
{
/// <summary>
/// Factory interface to create provider specific ado.net objects.
/// </summary>
public interface IDbProvider
{
/// <summary>
/// The name of the assembly which conatins the definition of the provider... |
using System;
using System.Reflection;
namespace Core.Reflection.Contracts
{
public interface IReflectionClient : IDisposable
{
string BaseAssemblyPath { get; }
Assembly CurrentAssembly { get; }
}
}
|
using DFC.App.CareerPath.FunctionalTests.Model.API;
using RestSharp;
using System.Threading.Tasks;
namespace DFC.App.CareerPath.FunctionalTests.Support.API
{
public interface ICareerPathAPI
{
Task<IRestResponse<CareerPathAPIResponse>> GetById(string id);
}
}
|
namespace Shouldly.MessageGenerators
{
internal class ShouldContainWithinRangeMessageGenerator : ShouldlyMessageGenerator
{
public override bool CanProcess(IShouldlyAssertionContext context)
{
return context.ShouldMethod.StartsWith("Should")
&& context.ShouldMethod... |
namespace ThreeDPrinting.Tests.Controllers.Admin.HomeController
{
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThreeDPrinting.Models;
using ThreeDPrinting.Tests.Mocks;
using ThreeDPrinting.We... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace DissectingAsyncMethods
{
public struct _GetStockPriceForAsync_d__1 : IAsyncStateMachine
{
public StockPrices __this;
public strin... |
using System.Collections.Generic;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;
namespace NetTopologySuite.Operation.Distance
{
/// <summary>
/// Extracts a single point
/// from each connected element in a Geometry
/// (e.g. a polygon, linestring or point)
/// and returns them in a l... |
// ================================================================================================
// <summary>
// ゲーム開始ユースケースソース</summary>
//
// <copyright file="StartGameUseCase.cs">
// Copyright (C) 2018 Koichi Tanaka. All rights reserved.</copyright>
// <author>
// Koichi Tanaka</author>
// =======... |
using tvn.cosine.api;
using tvn.cosine.ai.util;
namespace tvn.cosine.ai.agent.agentprogram.simplerule
{
/// <summary>
/// Base abstract class for describing conditions.
/// </summary>
public abstract class Condition : IEquatable, IHashable, IStringable
{
public abstract bool evaluate(Objec... |
// 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.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Cli.FunctionalTests.Templates
{
... |
using Mapsui.Geometries;
using System;
namespace Mapsui.Widgets
{
public abstract class Widget : IWidget
{
public HorizontalAlignment HorizontalAlignment { get; set; } = HorizontalAlignment.Right;
public VerticalAlignment VerticalAlignment { get; set; } = VerticalAlignment.Bottom;
publ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
using Xamarin.Forms.Core.UITests;
#endif
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers =... |
using EventCentric.Publishing;
using EventCentric.Publishing.Dto;
using EventCentric.Transport;
namespace EventCentric.Messaging
{
public interface IInMemoryEventPublisherRegistry
{
void Register(IPollableEventSource publisher);
}
public interface IInMemoryEventPublisher : IInMemoryEventPubli... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////... |
/*
*
* XMLTree.cs
*
* Copyright 2017 Yuichi Yoshii
* 吉井雄一 @ 吉井産業 you.65535.kir@gmail.com
*
* 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... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Android.Content;
using Cirrious.MvvmCross.Droid.Platform;
using Cirrious.MvvmCross.Application;
using Cirrious.MvvmCross.Binding.Droid;
using Cirrious.MvvmCross.Interfaces.ServiceProvider;
using Cirrious.MvvmCross.Interfaces.ViewModels;
usin... |
namespace exclucv.Repository.RepositoryContracts
{
using exclucv.DAL.Entities;
using System;
using System.Threading.Tasks;
public interface IApplicationUserRepository : IRepository<Template>
{
Task<User> Register(User user);
bool IsExistingUser(string email);
User GetUserBy... |
using PiRhoSoft.Utilities.Editor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
namespace PiRhoSoft.Utilities.Samples
{
public class FrameCodeSample : CodeSample
{
public override void Create(VisualElement root)
{
var frame = new Frame();
frame.IsCollapsable = true;
fra... |
@model CurrencyConverter
@{
decimal priceRUB = 1000;
}
<div>
Цена товара в российских рублях: @priceRUB руб.
<div>
@($"Курс доллара: {Model.USD}. Цена в долларах: {Decimal.Round(Model.ConvertToUSD(priceRUB), 2)}")
</div>
<div>
@($"Курс евро: {Model.EUR}. Цена в евро: {Decimal.Round(... |
using RoboBogus.Conventions;
using RoboBogus;
interface IAutoConventionGenerator
{
bool CanGenerate(AutoConventionConfig config, AutoGenerateContext context);
object Generate(AutoConventionContext context);
} |
using System;
class EmployeeData
{
static void Main()
{
Random randomGenerator = new Random();
string firstName = "Mariyan";
string lastName = "Vasilev";
byte age = 23;
bool isMale = true;
long personalID = (long)((randomGenerator.NextDouble() * 2.0 - 1.0) * 99... |
using System;
using System.Data.Entity;
using System.Threading.Tasks;
using Farming.WpfClient.Models;
using MaterialDesignThemes.Wpf;
namespace Farming.WpfClient.ViewModels.Database
{
public class UsersTypesViewModel : DatabaseTableViewModel<UserTypeViewModel>
{
public UsersTypesViewModel(ISnackbarMes... |
using System;
using UnityEngine;
public class OdeJointHinge : OdeJoint
{
public Vector3 anchor
{
get
{
Vector3 v;
UnityOde.odeJointGetHingeAnchor(JointId, out v.x, out v.y, out v.z);
return v;
}
set
{
UnityOde.odeJointSetH... |
// Copyright 2018 Ionx Solutions (https://www.ionxsolutions.com)
// Ionx Solutions licenses this file to you under the Apache License,
// Version 2.0. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
using System;
using System.Collections.Generic;
using System.Net;
using System.Ne... |
using Unity.Cloud.Collaborate.Presenters;
using Unity.Cloud.Collaborate.Views;
namespace Unity.Cloud.Collaborate.Tests.Presenters
{
internal class TestStartView : IStartView
{
public bool buttonVisible;
public IStartPresenter Presenter { get; set; }
public string Text { get; set; }
... |
/* SerializableInt.cs, CWebb.
*/
using UnityEngine;
[CreateAssetMenu(menuName = "Serializable/Int", fileName = "New Serializable Int")]
public class SerializableInt : Serializable<int> { } |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InteractWithPhysics : MonoBehaviour
{
void OnControllerColliderHit(ControllerColliderHit hit)
{
Rigidbody body = hit.collider.attachedRigidbody;
if (body != null && !body.isKinematic)
body... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DogsIRL.Services
{
public interface INotificationRegistrationService
{
Task DeregisterDeviceAsync();
Task RegisterDeviceAsync(params string[] tags);
Task RefreshRegistrationAsync(... |
using System;
using System.Windows;
using System.Windows.Controls;
using Drachenhorn.Core.IO;
using Drachenhorn.Core.Lang;
using Drachenhorn.Core.UI;
using Drachenhorn.Desktop.Views;
using Drachenhorn.Xml.Sheet.Common;
using GalaSoft.MvvmLight.Ioc;
namespace Drachenhorn.Desktop.UserControls
{
/// <summary>
//... |
using System;
using System.Collections.Generic;
using System.Globalization;
namespace RevendaDeCarro.model
{
class Carro : IComparable
{
public int codigo { get; private set; }
public string modelo { get; private set; }
public int ano { get; private set; }
public double precoBa... |
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
namespace Microsoft.Azure.Management.ANF.Samples.Model
{
using System.Collections.Generic;
/// <summary>
... |
using System;
namespace stringFeatures
{
class Program
{
static void Main(string[] args)
{
// some string features
Console.Write("Please enter your name: ");
string name = Console.ReadLine();
if (String.IsNullOrEmpty(name))
{
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ipfs.Registry
{
[TestClass]
public class MultiBaseAlgorithmTest
{
[TestMethod]
public void Bad_Name()
{
Assert.ThrowsException<ArgumentNullException>(() => MultiBaseAlgorithm.Register(null, '?'));
... |
using UnityEngine;
namespace SuperPivot
{
namespace Samples
{
/// <summary>
/// Demo script to highlight runtime pivot position edition
/// </summary>
[RequireComponent(typeof(Collider))]
public class SetPivotUnderMouseClick : MonoBehaviour
{
public ... |
using Composite.Sample;
using System;
namespace Composite
{
class Program
{
static void Main(string[] args)
{
Sample.Composite root = new Sample.Composite("系统配置");
Sample.Composite sysConfig = new Sample.Composite("系统设置");
Sample.Composite menu = new Sampl... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace PaletteConversion
{
public class HexConversion : IPaletteFormatReader, IPaletteFormatWriter
{
private IList<string> _fileExtensio... |
namespace FakeItEasy.Tests.ArgumentConstraintManagerExtensions
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using FakeItEasy.Core;
using FakeItEasy.Tests.TestHelpers;
using Xunit;
public class EqualToWithComparerConstraintTests
: Argumen... |
// -----------------------------------------------------------------------
// <copyright file="Serialization.cs" company="Asynkron HB">
// Copyright (C) 2015-2016 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.Collections.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.StatusEffects
{
public interface IEffective
{
// Effects which the owner gets
public List<BaseEffect> OwnerEffects { get; set; }
// Effects whic... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KiteNeedDeleteAnimationCache
{
private Dictionary<GameObject, HashSet<Type>> _deleteAnimationCache = new Dictionary<GameObject, HashSet<Type>>();
public void Add(GameObject obj, System.Type animationTyp... |
using Takenet.Textc;
namespace Axaprj.Textc.Vect
{
/// <summary>
/// Textc.Vect Text Cursor
/// </summary>
public interface IVTextCursor : ITextCursor
{
/// <summary>Textc.Vect Request Context</summary>
IVRequestContext VContext { get; }
}
/// <summary>
/// Cursor with ... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
namespace Microsoft.VisualStudio.Text.Differencing
{
using System;
public interface IDifferenceViewer3 : IDifferenceViewer2
{
/// <sum... |
namespace Musoq.Schema.Os.Zip
{
public class ZipBasedTable : ISchemaTable
{
public ZipBasedTable()
{
Columns = SchemaZipHelper.SchemaColumns;
}
public ISchemaColumn[] Columns { get; }
}
} |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using ArcanumTextureSlicer.Core;
using ArcanumTextureSlicer.Gui.Commands;
using MessageBox = System.Windows.Mes... |
using System.Runtime.Serialization;
namespace Rain.Client
{
[DataContract]
public class ExceptionEntry : Entry
{
[DataMember]
public string Source { get; set; }
[DataMember]
public string Message { get; set; }
[DataMember]
public string Description { get; set; }
public override boo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CalibrationUI : UIElement
{
/// <summary>
/// The text objects contained in the CalibrationUI
/// </summary>
private enum Texts
{
Title,
Message
}
/// <summary>
/// S... |
using TaskCore.Domain;
namespace TaskCore.Data.Interfaces
{
public interface IAttachmentRepository : IBaseRepository<Attachment>
{
}
} |
// <summary>
// Command line parser.
// </summary>
namespace Odgs.Common
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
/// <summary>
/// Parses the command line.
/// </summary>
/// <remarks>
/// The p... |
using System.Collections;
using PlayFab;
using PlayFab.ClientModels;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.ResourceProviders;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace TheGamedevGuru
{
public class PlayFabDemo : MonoBehaviour
{
[S... |
using HRM.Domain.Models;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace HRM.Application.ViewModels
{
public class EmployeeViewModel
{
[Key]
public Guid Id { get; set; }
[Required(ErrorMessage = "The First Name is Required")]
[... |
// 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.
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
us... |
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
using System;
namespace Microsoft.AppInspector
{
public class WriterFactory
{
public static Writer GetWriter(string writerName, string defaultWritter, strin... |
using System;
using System.Linq;
using System.Collections.Generic;
using Knowledgebase.UnitOfWork;
using Knowledgebase.Models.AppUser;
namespace Knowledgebase.Application.Services
{
public class AppUserService : _ServiceBase
{
private readonly IRepository<Entities.AppUser> _usersRepository;
pu... |
using CoCSharp.Csv;
using System;
using System.Diagnostics;
namespace CoCSharp.Logic
{
/// <summary>
/// Represents a Clash of Clans <see cref="VillageObject"/> that can be constructed.
/// </summary>
[DebuggerDisplay("{DebuggerDisplayString}")]
public abstract class Buildable<TCsvData> : VillageO... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.DependencyInjection;
namespace Carupano
{
using Persistence;
using Carupano.Messaging;
using Configuration;
using InMemory;
public static class Extensions
{
public static BoundedContextModelBu... |
using BenchmarkDotNet.Attributes;
using System;
using System.Collections;
namespace LinqAF.Benchmark.Benchmarks
{
public class ToList
{
static string[] Source1 = new[] { "foo", "bar", "fizz" };
static System.Collections.Generic.IEnumerable<string> Source2 = new UnsizedEnumerable();
cl... |
using System.Runtime.Serialization;
namespace Nop.Plugin.Shipping.EasyPost.Domain.Batch
{
/// <summary>
/// Represents batch status enumeration
/// </summary>
public enum BatchStatus
{
/// <summary>
/// Unknown
/// </summary>
Unknown,
/// <summary>
... |
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using Luna.Repository;
namespace Luna.Dapper.Repository
{
public abstract class DapperRepositoryBase<TEntity, TPrimaryKey> : IRepository<TEntity, TPrimaryKey>
where TEntity : class, IEntity<... |
using System.Collections.Generic;
namespace SFA.DAS.Experiment.Application.Cms.Models
{
public class DomainArticle
{
public string LandingPageSlug { get; set; }
public string LandingPageTitle { get; set; }
public List<DomainArticleSection> Sections { get; set; }
public s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.