content stringlengths 23 1.05M |
|---|
using Xamarin.Forms;
namespace GiTracker.Controls
{
public partial class ImageWithLabel : ContentView
{
public static readonly BindableProperty ImageUrlProperty =
BindableProperty.Create<ImageWithLabel, string>(p => p.ImageUrl, null);
public static readonly BindableProperty TextPr... |
using System;
using Lidgren.Network;
namespace UnitTests
{
public static class BitVectorTests
{
public static void Run()
{
NetBitVector v = new NetBitVector(256);
for (int i = 0; i < 256; i++)
{
v.Clear();
if (i > 42 && i < 65)
v = new NetBitVector(256);
if (!v.IsEmpty())
throw n... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
#nullable enable
using ExtraDry.Core;
using System;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Sample.Shared
{
public class Employee
{
[Key]
[Rules(RuleAction.Block)]
[JsonIgnore]
public int Id { get; set; }
public Gui... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DotBPE.Gateway
{
public interface IHttpRequestParsePlugin : IHttpPlugin
{
Task<(object, StatusCode, string)> ParseAsync(HttpRequest request);
}
}
|
using System;
using System.Threading.Tasks;
namespace EasyDesk.Tools.Observables;
public interface IAsyncObservable<out T>
{
ISubscription Subscribe(AsyncAction<T> handler);
}
public static class AsyncObservableExtensions
{
public static ISubscription Subscribe<T>(this IAsyncObservable<T> observ... |
namespace Fitability.Api.Models
{
public class GreetingResponse
{
public virtual string Message { get; set; }
}
} |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using System;
using System.IO;
namespace SearchCSharp
{
class CSharpStringSearcher : CSharpSyntaxWalker
{
int _foundMatches;
SyntaxTree _tree;
readonly Func<string,... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace BitGo.Objects.Key
{
public class KeyInfoList
{
[JsonProperty("keys")]
public KeyInfo[] Keys { get; internal set; }
[JsonProperty("limit")]
public int Limit { get; internal set; }... |
using System;
using System.Collections.Generic;
namespace PluginsEnvironment
{
public static partial class Extentions
{
public static IEnumerable<T> GetEnumValues<T>() where T : struct
{
return (T[])Enum.GetValues(typeof(T));
}
public static string[] GetEnumNames<T... |
using Benchmark.Common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Benchmark
{
public class ManualMapper_ListOfDeepMapper_ShallowCopy : MapperTestBase, IMaperTest
{
public bool UseParallel { get; set; }
public int R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;
namespace System.ComponentModel.DataAnnotations
{
public class MobileValidationAttribute : ValidationAttribute
{
public override bool IsValid(object value)
{
if (value == null) return tr... |
using System;
using Emeraude.Application.Admin.EmPages.Schema;
using Emeraude.Contracts;
using MediatR;
namespace Emeraude.Application.Admin.EmPages.Data.Requests.EmPageDataEdit;
/// <inheritdoc/>
public interface IEmPageDataEditCommandHandler<TEditCommand, TEntity, TModel> : IRequestHandler<TEditCommand, Guid?>
... |
using System.Web.Http;
using Korz.GenericRavenDataInterfaces;
namespace Korz.GenericRestWebApiControllers
{
public abstract class EntityController<TEntity, TEntityCriteria, TEntityDataFactory> : ApiController
where TEntity : IEntity
where TEntityCriteria : ISingleCriteriaEntity
where TEnti... |
using System;
using System.IO;
using System.Text;
namespace AutoTest.TestRunners.Shared.Logging
{
public class FileLogger : ILogger
{
private object _lock = new object();
private bool _outputEnabled;
private bool _debugEnabled;
private string _file;
public FileLogger(bool outputEnabled, string logFile) {... |
using System.Collections.Generic;
namespace SecurePipelineScan.VstsService.Response
{
public class PermissionsSetId
{
public IEnumerable<Permission> Permissions { get; set; }
public string CurrentTeamFoundationId { get; set; }
public string DescriptorIdentifier { get; set; }
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Reflection;
namespace CLX
{
public class Program
{
public class Resource
{
public MemberTypes memberType;
public System.Type returnType;
public string name;
... |
[NativeHeaderAttribute] // RVA: 0xE6ED0 Offset: 0xE6FD1 VA: 0xE6ED0
[StaticAccessorAttribute] // RVA: 0xE6ED0 Offset: 0xE6FD1 VA: 0xE6ED0
[NativeHeaderAttribute] // RVA: 0xE6ED0 Offset: 0xE6FD1 VA: 0xE6ED0
[NativeClassAttribute] // RVA: 0xE6ED0 Offset: 0xE6FD1 VA: 0xE6ED0
public sealed class Font : Object // TypeDefInd... |
/*
* Copyright 2020-2021. Huawei. Technologies 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/L... |
namespace OdinPlugs.OdinCore.ConfigModel.ConsulModel
{
public class CheckOptionModel
{
public int DeregisterCriticalServiceAfter { get; set; }
public string HealthApi { get; set; }
public int Interval { get; set; }
public int Timeout { get; set; }
}
public class ConsulOpt... |
using UnityEngine;
public class PowerUp : MonoBehaviour
{
public float duration;
public float scaleY;
public GameObject fxDestroy;
public void Destroy()
{
// Instantiate(fxDestroy);
Destroy(gameObject);
}
}
|
namespace AiForms.Effects.iOS
{
[Foundation.Preserve(AllMembers = true)]
public static class Effects
{
public static void Init() { }
}
}
|
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Ne... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LocationDisplay : MonoBehaviour
{
private string location = "Glade";
public Text locationText;
void Start()
{
setLocation("Intro Glade");
}
void setLocation(string place)... |
using System.Collections.Generic;
using System.Linq;
namespace FuncSharp
{
internal class IsoMorphism<A, B> : Morphism<A, B>, IIsoMorphism<A, B>
{
public IsoMorphism(IEnumerable<IProduct2<A, B>> mappings)
: base(mappings)
{
Inverse = Morphism.Create(mappings.Select(m =>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NeverEndingJob.Application;
using NeverEndingJob.Components;
namespace NeverEndingJob.Managers
{
public class NetworkManager : Singleton<NetworkManager>
{
#region Variables
#endregion
#region Public
... |
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
namespace UnityEngine.UIElements
{
internal class ClampedDragger<T> : PointerClickable
where T : IComparable<T>
{
[Flags]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class HSkinComponent : MonoBehaviour {
SkinnedMeshRenderer skinMeshRender;
public SkinnedMeshRenderer SkinMeshRenderer
{
get
{
if (skinMeshRender == null)
{
... |
using AutoMapper;
using TaskoMask.Application.Share.Dtos.Common.Base;
using TaskoMask.Application.Share.Dtos.Common.Users;
using TaskoMask.Application.Mapper.MappingActions;
using TaskoMask.Domain.Core.Models;
using TaskoMask.Domain.Share.Models;
namespace TaskoMask.Application.Mapper.Profiles
{
public class Comm... |
using System;
using System.Collections.Generic;
using System.Text;
using OpenTK;
namespace GLFrameworkEngine
{
public class DrawingHelper
{
public static GLVertex[] GetSphereVertices(float radius, float subdiv)
{
List<GLVertex> vertices = new List<GLVertex>();
float ha... |
namespace PseudoLocalizer.Core
{
using System.Xml;
/// <summary>
/// Applies transforms to string values in Resx resource files.
/// </summary>
public sealed class ResxProcessor : XmlProcessor
{
/// <inheritdoc />
protected override XmlNodeList SelectNodes(XmlDocument document,... |
namespace Bulksign.Api
{
public enum TextInputValidationTypeApi
{
PhoneNumber = 1,
EmailAddress = 2,
Time = 3,
Regex = 4,
Date = 5,
Number = 6
}
public class NumberValidationApiModel
{
public bool AllowFloatingPointNumbers
{
get;
set;
}
public string DecimalSeparator... |
// World Conquer Online Project 2.5517 - Phoenix Project Based
// This project has been created by Felipe Vieira Vendramini and updated by Cristian Ocaña Soler
// Source Infrastructure based on Phoenix Source, written by Gareth Jensen
// This source is targeted to Conquer Online, client version 5517
//
// File Creat... |
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Cayan, LLC")]
[assembly: AssemblyProduct("Stumps")]
[assembly: AssemblyCopyright("Copyright \x00a9 2018 Cayan LLC All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: Assembl... |
using System;
using System.Collections.Generic;
using Noterium.Core.DataCarriers;
namespace Noterium.Core
{
public interface IDataStore
{
void SaveNote(Note note);
void SaveNoteBook(Notebook noteBook);
List<Note> GetNotes(Notebook mg);
int GetNoteCount(Notebook mg);
int... |
using Roguelike2.Components.Ai;
using Roguelike2.Fonts;
using Roguelike2.GameMechanics.Factions;
using SadRogue.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Roguelike2.Entities
{
public static class ActorAtlas
{
private static readon... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace WSharp.Compiler.Syntax
{
public sealed class SeparatedSyntaxList<T>
: IEnumerable<T>
where T : SyntaxNode
{
internal SeparatedSyntaxList(ImmutableArray<SyntaxNode> nodesAndSeparators) =>
... |
namespace IdentityServer3.Postgres
{
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Npgsql;
using NpgsqlTypes;
using IdentityServer3.Core.Models;
using IdentityServer3.Core.Services;
public... |
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Bellow.Client.Services;
using Bellow.Client.ViewModels;
using Bellow.Client.Views;
using ReactiveUI;
using Splat;
namespace Bellow.Client
{
public class App : Application
{
public ... |
namespace _07.ConcurrentChanges
{
using System.Linq;
using _01.CreateContextForNorthwind;
using System;
/// <summary>
/// Try to open two different data contexts and perform concurrent changes
/// on the same records. What will happen at SaveChanges()? How to deal with it?
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
namespace DataBase.DataModels
{
public class PhoneType
{
public int id { get; set; }
public string phoneType { get; set; }
public virtual List<... |
<H1>Welcome to Cooking School!</H1>
<p><a asp-controller="Author" asp-action="Create">Create a course</a></p>
<p><a asp-controller="Book" asp-action="Create">Create a student</a></p>
<p><a asp-controller="Author" asp-action="ViewAll">View all courses</a></p>
<p><a asp-controller="Book" asp-action="ViewAll">View al... |
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Project858.Web
{
/// <summary>
/// Resolver na upravu json vystupu
/// </summary>
public sealed class LowerCaseContractResolver : DefaultContractResolver
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CitizenFX.Core
{
public class EventHandlerDictionary : Dictionary<string, EventHandlerEntry>
{
public new EventHandlerEntry this[string key]
{
g... |
using Prius.Contracts.Interfaces;
using Prius.Contracts.Interfaces.Connections;
using Prius.Contracts.Interfaces.External;
using Prius.Contracts.Interfaces.Factory;
namespace Prius.Orm.Connections
{
public class ContextFactory: IContextFactory
{
private readonly IDataEnumeratorFactory _dataEn... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FixIt.Services.Interfaces
{
public interface IRecommendService<T> where T : class
{
Task<List<T>> Recommend(string userId);
}
}
|
using System;
using NUnit.Framework;
namespace TravisCILab
{
[TestFixture]
public class Math
{
[Test]
public void McManigalAdd_Valid()
{
Assert.AreEqual(3, Program.Add("1", "2"));
Assert.AreEqual(5, Program.Add("3", "2"));
Assert.AreEqual(12, Prog... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DAL.Models.Customer_Related
{
public class Business_Situation : AuditableEntity
{
public int Business_Situation_ID { get; set; }
// Foreign Key of Person
public int BS_Business_Person_ID { get; set; }
... |
using System.Collections.Generic;
using Funq;
using NUnit.Framework;
using ServiceStack;
using ServiceStack.Data;
using ServiceStack.DataAnnotations;
using ServiceStack.OrmLite;
namespace NewApi.Customers
{
public class AppHost : AppSelfHostBase
{
public AppHost() : base("Customer REST Exa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Aubergine : Plant
{
public GameObject smashPrefab;
public float upgradedAbilityTimer;
public override void DoAbility()
{
if (myStage == PlantStage.second)
{
abilityTimerSe... |
using Leopotam.Ecs;
using System.Collections;
using System.Collections.Generic;
using TowerDefenceLeoEcs.AppData;
using TowerDefenceLeoEcs.Components;
using TowerDefenceLeoEcs.Components.Events;
using TowerDefenceLeoEcs.Components.WrappersMonoBehaviour;
using TowerDefenceLeoEcs.Extensions.Components;
using TowerDefenc... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static PTSchool.Data.Models.Validations.StaticValidator.Club;
namespace PTSchool.Data.Models
{
public class Club
{
// GENERAL
public Guid Id { get; set; }
[Required]
[MaxLength(M... |
using UnityEngine;
using System.Collections;
using LeefClient;
using Msg;
public class LoginModel : BaseModel<LoginModel>
{
protected override void InitAddTocHandler()
{
AddTocHandler(typeof(SignUpResponse), TocLogin);
}
private void TocLogin(object data)
{
SignUpResponse toc = da... |
#nullable enable
using System;
using System.Linq;
using System.IO;
using U8Xml;
using U8Xml.Unsafes;
using System.Text;
using System.Collections.Generic;
namespace UnitTest
{
internal static class TestCases
{
public static IEnumerable<Func<XmlObject>> GetTestCases(ReadOnlySpan<byte> xml)
{
... |
using System.Collections.Generic;
namespace GamesDatabase.Data.Models
{
public class Publisher : Company
{
}
} |
// <copyright file="NotNullWhenAttribute.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
#if NETSTANDARD2_0
// ReSharper disable once CheckNamespace
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Parameter)]
i... |
using System;
using UnityEngine;
using System.Collections;
using Assets.scripts;
using Toolbox;
namespace Assets.Scripts
{
public class Lives : Base2DBehaviour
{
private int _lives = -1;
// Use this for initialization
void Start()
{
}
// Update is called once... |
using UnityEngine;
using System.Collections;
public class ScrambleUVs : MonoBehaviour
{
Vector3[] vertices;
Mesh mesh;
public Vector2 uvDistancementAmount = new Vector2(1, 1);
void Start()
{
mesh = GetComponent<MeshFilter>().mesh;
vertices = mesh.vertices;
var ta... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using ResourceProvisioning.Abstractions.Aggregates;
using ResourceProvisioning.Abstractions.Data;
namespace ResourceProvisioning.Abstractions.Repositories
{
public abstract class Repository<TContext, TAggrega... |
namespace GoodToCode.Analytics.Ingress.Unit.Tests
{
public struct AppConfigurationKeys
{
public const string SentinelSetting = "Shared:Sentinel";
public const string CognitiveServices = "Gtc:Analytics:CognitiveServices";
public const string CognitiveServicesEndpoint = "Gtc:Analytics:Cog... |
namespace COLID.RegistrationService.Common.Constants
{
public static class PidUriTemplateIdType
{
public const string Type = "https://pid.bayer.com/kos/19050#PidUriTemplateIdType";
public const string Guid = "GUID";
public const string Number = "Number";
}
}
|
namespace Nancy.Owin.Tests
{
using System.Net.Http;
using global::Owin;
using Microsoft.Owin.Testing;
using Nancy.Testing;
using Xunit;
public class AppBuilderExtensionsFixture
{
[Fact]
public void When_host_nancy_via_IAppBuilder_then_should_handle_reques... |
// Copyright (c) True Goodwill. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.Market.Providers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Nito.AsyncEx;
... |
using System;
using Gtk;
namespace Microsoft.Maui.Native
{
public class MauiSearchBar : Gtk.SearchBar
{
public MauiSearchBar() : base()
{
Entry = new (string.Empty);
Child = Entry;
SearchModeEnabled = true;
}
public Gtk.Entry Entry { get; }
}
} |
using System;
using System.Runtime.InteropServices;
namespace DSerfozo.LibclangSharp.Native
{
[StructLayout(LayoutKind.Sequential)]
internal struct CXSourceLocation
{
public readonly IntPtr ptr_data0;
public readonly IntPtr ptr_data1;
public readonly uint int_data;
}
}
|
using MessagePack;
namespace Intersect.Network.Packets.Client
{
[MessagePackObject]
public class RetrieveBagItemPacket : SlotQuantityPacket
{
//Parameterless Constructor for MessagePack
public RetrieveBagItemPacket() : base( 0, 0 )
{
}
public RetrieveBagItemPacket(... |
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<section class="h-100">
<div class="container h-100">
<div class="d-flex align-items-center justify-content-center h-100">
<div class="d-flex flex-column">
<canvas id="c" width='600' heigh... |
using System.Net;
using System.Net.Http;
namespace Modalmais.Core.Extensions
{
public static class HttpExtensions
{
public static bool IsSuccess(this HttpStatusCode statusCode) =>
new HttpResponseMessage(statusCode).IsSuccessStatusCode;
}
}
|
using HouseHub.Web.UserApi.Core.Models.Entities;
namespace HouseHub.Web.UserApi.Core.Repositories.Interfaces
{
public interface ILocationRepository : IRepository<Location>
{
}
} |
namespace PddOpenSdk.Models.Response.Pmc;
public partial class QueryPmcAccrueResponse : PddResponseModel
{
/// <summary>
/// response
/// </summary>
[JsonPropertyName("pmc_user_get_response")]
public PmcUserGetResponseResponse PmcUserGetResponse { get; set; }
public partial class PmcUserGetResp... |
namespace TweetLib.Core.Systems.Configuration {
public interface IConfigInstance {
void Save();
void Reset();
}
}
|
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Umbrella.Database
{
public class DatabaseTest : MonoBehaviour
{
[SerializeField] private InputField _sendDataInputField;
[SerializeField] private Button _sendDataButton;
[SerializeField] priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse;
namespace MizuMod
{
public abstract class CompWaterNet : ThingComp
{
private bool lastIsActivatedForWaterNet;
protected bool IsBrokenDown
{
get
{... |
#Fri Oct 13 05:04:07 BST 2017
dev/api/spec/com.ibm.websphere.javaee.jsf.2.2_1.0.18.jar=b41e69e966ca9ed23ce65e3427b6f4ac
lib/features/com.ibm.websphere.appserver.javax.jsf-2.2.mf=f9f82752c4c24558c1a5fd26ebe8eeb8
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using AdoNetCore.AseClient.Tests.ParameterProvider;
using NUnit.Framework;
namespace AdoNetCore.AseClient.Tests.Unit
{
#if NET_FRAMEWORK
[TestFixture(typeof(SapParameterProvider))]
#endif
[TestFixture(typeof(CoreFxPara... |
using System;
using System.Threading.Tasks;
using SimpleGPIO.Boards;
namespace SimpleGPIO.Examples.CLI
{
internal static class Program
{
private static async Task Main()
{
var pi = new RaspberryPi();
var redLED = pi.Pin16;
redLED.TurnOn();
... |
using UnityEngine;
using Unity.Barracuda;
namespace MediaPipe.PoseDetect {
[CreateAssetMenu(fileName = "PoseDetector",
menuName = "ScriptableObjects/MediaPipe/PoseDetector Resource Set")]
public sealed class ResourceSet : ScriptableObject
{
public NNModel model;
public ComputeShader preproces... |
namespace School_classes
{
using System;
using System.Collections.Generic;
public class School
{
private List<ClassOfStudents> schoolClasses = new List<ClassOfStudents>(); //Field
public List<ClassOfStudents> SchoolClasses //Property
{
get
{
... |
/*************************************************************************
* 文件名称 :CodeController.cs
* 描述说明 :字典控制器类
*
* 创建信息 : create by liuhuisheng.xm@gmail.com on 2012-11-10
* 修订信息 : modify by (person) on (date) for (reason)
*
* 版权信息 : Copyright (c) 2013 厦门纵云信息科技有限公司 www.zoewin.com... |
// Maybe: Unit Tests
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2019
namespace MaybeF.Testing.MaybeExtensions_Tests;
public class AssertSome_Tests
{
[Fact]
public void Is_None__Throws_IsTypeException()
{
// Arrange
var maybe = Create.None<string>();
// Act
var action = () => maybe.Asser... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GamerProject
{
class CampainManager : ICampainService
{
public void AddCampain(Campain campain)
{
Console.WriteLine("Kampanya eklendi");
}
public void DeleteCampain(Campain campain)
... |
using UAlbion.Formats.Assets;
namespace UAlbion.Formats.MapEvents
{
public interface ILockedInventoryEvent : IBranchingEvent, ITextEvent
{
byte PickDifficulty { get; }
ItemId Key { get; }
byte OpenedText { get; }
byte UnlockedText { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Animations
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ShakeAnimation : ContentPage
{
public ShakeAnimation ()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RealTask
{
class SendKeysValues
{
#region elements Value Declarations
public static string EmailAddressToRegister { get; set; }
public static string FirstName {... |
using DotNetPepper.Tests.Helpers;
using DotNetPepper.Tests.Publisher;
using FluentAssertions;
using Xunit;
namespace DotNetPepper.Tests
{
public class CompileFlagTests
{
[Fact]
public void WhenClassesAreConditionallyDefined_CodeShouldRespectConsumingProjectsCompileFlags()
{
... |
using System;
using Microsoft.Extensions.Logging;
namespace NamespacePlaceholder
{
/// <summary>
/// Grpc logger implementation that uses .NET Core logging capabilities.
/// It allows to plugin any logger externally that is compatible with .NET Core logging api like Serilog
/// </summary>
public c... |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Autofac;
using Autofac.Extras.DynamicProxy;
using NLog;
using DwFramework.Core;
using DwFramework.Core.AOP;
namespace CoreExample
{
class Progra... |
using SearchAcceleratorFramework.Strategies.Database;
namespace SearchAcceleratorFramework.Collectors.SqlServer
{
public class SqlQueryStrategy : ISqlQueryStrategy
{
public SqlQueryStrategy(string sqlStatement)
{
SqlStatement = sqlStatement;
}
public string SqlStatement { get; }
}
} |
#if UNITY_EDITOR
using UnityEngine;
namespace Map
{
public class MapEditorSetting : ScriptableObject
{
/// <summary>
/// 资源导出的路径
/// </summary>
public string AssetExportDirectory;
/// <summary>
/// 预览用的Scene的路径
/// </summary>
public string PreviewScenePath;
/// <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.
internal partial class Interop
{
internal static partial class Hhctl
{
public unsafe struct HH_FTS_Q... |
using System;
using Atc.Cosmos.EventStore.Events;
namespace Atc.Cosmos.EventStore.Cosmos
{
internal class GuidEventIdProvider : IEventIdProvider
{
public string CreateUniqueId(IStreamMetadata metadata)
=> Guid.NewGuid().ToString();
}
} |
using OpenQA.Selenium;
namespace Kontur.Selone.Selectors.Context
{
public class ContextItemBy : IContextItemBy
{
public ContextItemBy(ISearchContext searchContext, ItemBy itemBy)
{
SearchContext = searchContext;
ItemBy = itemBy;
}
public ISearchContext ... |
#if !NETCOREAPP2_1
using System;
using Datadog.Trace;
namespace LogsInjectionHelper.VersionConflict
{
public static class LoggingMethods
{
/// <summary>
/// Prepend a string to log lines that should not be validated for logs injection.
/// In other words, they're not written within a D... |
using System.Collections.Generic;
namespace SignalRMiddleware.Models
{
public class AudioEventData : EventData
{
public AudioData Data { get; set; }
}
public class AudioEvent
{
public IList<AudioEventData> EventList { get; set; }
}
... |
// --------------------------------------------------------------------------
// File: FixNet.cs
// Version 20.1.0
// --------------------------------------------------------------------------
// Licensed Materials - Property of IBM
// 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21
// Copyright IBM Corp... |
namespace SolutionLib
{
using SolutionLib.Interfaces;
using SolutionLib.ViewModels.Browser;
/// <summary>
/// Contains methods for generating library objects that are exposed via interface only.
/// </summary>
public sealed class Factory
{
private Factory()
{
}
... |
using System;
using System.Collections.Generic;
using System.Text;
using FunBrainDomain;
namespace FunBrainInfrastructure
{
public class UserRankingRepositoryInMemory: IUserRankingRepository
{
public IEnumerable<UserRanking> Get()
{
yield return new UserRanking
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Ezreal.EasyPay.Abstractions.ApiModels.Response;
namespace Ezreal.EasyPay.MergeChannels.CCB.ApiModels.Response
{
public class CCBReversePayResponse:CCBPayCommonResponseModel,IResponseModel
{
/// <summary>
/// 是否重调
... |
/*
* Copyright 2016 Jan Tschada
*
* 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;
using System.Threading.Tasks;
using Dwares.Dwarf;
using Dwares.Dwarf.Toolkit;
using Dwares.Drudge.Airtable;
using Beylen.Models;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Beylen.Storage.Air
{
public partial class AirStorage : AirClient, IAppStorage
{
//static ClassRef @class =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.