text stringlengths 1 932k |
|---|
using System;
public class Casa
{
//Estados - Atributos
public string direccion;
public string color;
public string techo;
public double areaConstruida;
public double areaTerreno;
public int numDormitorios;
public int numPisos;
public int numBaños;
//Comportamientos - Métodos
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Foundation;
using MobileCoreServices;
using ObjCRuntime;
using UIKit;
namespace Microsoft.Maui.Essentials
{
public static partial class FilePicker
{
static async Task<IEnumerable<FileResult>> Pla... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Cryptofolio.Infrastructure.Entities
{
/// <summary>
/// Provides a polymorphic JSON converter for <see cref="Transaction"/>.
/// </summary>
public class TransactionPolymorphicJsonConverter : JsonConverter<Transaction>... |
using System;
using System.Collections.Generic;
namespace Hardware.Info
{
public class CPU
{
public string Caption { get; internal set; } = string.Empty;
public UInt32 CurrentClockSpeed { get; internal set; }
public string Description { get; internal set; } = string.Empty;
publ... |
// GENERATED AUTOMATICALLY FROM 'Assets/BA3SoundDesign/InputActions/GameInputActions.inputactions'
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
namespace BA3SoundDesign.InputActions
{
public class @GameInputAction... |
public abstract class MouseCaptureEventBase<T> : PointerCaptureEventBase<T> // TypeDefIndex: 4147
{
// Methods
// RVA: -1 Offset: -1 Slot: 12
protected override void Init() { }
/* GenericInstMethod :
|
|-RVA: 0x2AAF550 Offset: 0x2AAF651 VA: 0x2AAF550
|-MouseCaptureEventBase<object>.Init
|-MouseCaptureEventBase... |
namespace RSharp.Enum
{
public enum WaterForce
{
None,
Small,
Medium,
Strong,
Max,
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SnowFlakeGamesAssets.TaurusDungeonGenerator.Structure
{
/// <summary>
/// Interface for classes containing branch data
/// </summary>
public interface IBranchDataHolder
{
BranchDataWrapper BranchDataWrapper { get;... |
using UnityEngine;
public static class AudioHelper
{
public static AudioSource PlayClip2D(AudioClip clip, float volume)
{
//create
GameObject audioObject = new GameObject("Audio2D");
AudioSource audioSource = audioObject.AddComponent<AudioSource>();
//configure
audioSou... |
namespace Driver.Native.Enums.Services
{
using System;
/// <summary>
/// Service types.
/// </summary>
[Flags]
internal enum ServiceType : uint
{
/// <summary>
/// Driver service.
/// </summary>
ServiceKernelDriver = 0x00000001,
/// <summary>
... |
@{
var returnUrl = Url.Action("Index", "Admin");
}
<div class="modal fade blog-search" id="blog-search" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body p-0">
<form role="search" as... |
using BabySitter.DataModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Prim... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Jag.Embc.Interfaces.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Maester.Core;
namespace Maester.Elasticsearch
{
public class ElasticsearchAliasClient : IAliasClient
{
public void CreateAlias(string aliasName, string indexName)
{
... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// 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; IReferenceList
using System.Collections; IReferenceList
namespace Org.BouncyCastle.Crypto.Xml
{
... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace ClientNoSqlDB.Serialization
{
static class DbTypes
{
readonly static Dictionary<int, Type> _simpleTypes = new Dictionary<int, Type>();
readonly static Dictionary<Type, DbType> _dbTypes = new Dictionary<Type, Db... |
using rediscover.Common;
using rediscover.DataModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using System.... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading;
using Xunit;
namespace InterProcessCommunication.Tests
{
public class SemaphoreTests : IpcTestBase
{
[ActiveIssue... |
using Education.BLL.DTO.User;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Education.DAL.Entities;
using Education.DAL.Interfaces;
namespace Education.BLL.Services.UserServices.Interfaces
{
public enum KeyStatus
{
Success,
Fail,
... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using restore.Data;
namespace restore.... |
/*******************************************************************************
* Copyright 2012-2019 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... |
using Microsoft.Win32;
using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
using System.Windows;
using System.Xml;
using GalaSoft.MvvmLight.Messaging;
using TLCGen.Dependencies.Messaging.Messages;
using TLCGen.Helpers;
using TLCGen.Integrity;
using TLCGen.Messaging.Messages;
using TLCG... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... |
namespace TODO
{
partial class Register
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... |
using Microsoft.Extensions.Configuration;
using Raven.Client.Documents;
using System;
using System.Security.Cryptography.X509Certificates;
#if NETCOREAPP3_0
using Microsoft.Extensions.Hosting;
#elif NETSTANDARD2_0
using Microsoft.AspNetCore.Hosting;
#endif
namespace Raven.DependencyInjection
{
/// <summary>
... |
using System;
using System.Runtime.InteropServices;
namespace PiHueSphinx
{
public class PiHueSphinx
{
const int CommandTry = 3;
/* Usage:
* PiHueSphinx.exe CONFIG HOTWORD ALSA_INPUT_DEVICE HUE_API_KEY
* Example
* mono --debug PiHueSphinx.exe pocketsphinx.conf "OKAY RASPBERRY" "plug:usb" "<You... |
#region Reference
using Autodesk.Revit.DB;
using Revit.Async;
using Revit.Async.Interfaces;
using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using System.Windows.Input;
#endregion Reference
namespace TestCommand
{
internal class SaveFamilyCommand : ICommand
{
#region Co... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace StoreAPI.Models
{
public class User
{
public string Username { get; set; }
}
} |
using System;
namespace CSharpFunctionalExtensions
{
public static partial class ResultExtensions
{
/// <summary>
/// Returns a new failure result if the predicate is false. Otherwise returns the starting result.
/// </summary>
public static Result<T, E> Ensure<T, E>(this Re... |
//==============================================================================
// TorqueLab ->
// Copyright (c) 2015 All Right Reserved, http://nordiklab.com/
//------------------------------------------------------------------------------
//============================================================================... |
using Celeste;
using Celeste.Mod;
using FMOD.Studio;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Mono.Cecil.Cil;
using Monocle;
using MonoMod;
using MonoMod.Cil;
using MonoMod.RuntimeDetour;
using System;
using System.Collections.Generic;
using Syst... |
namespace UblTr.Common
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2... |
using UnityEngine;
namespace AlchemyBow.Navigation.Surfaces.SafeAccess
{
/// <summary>
/// Threadsafe structure used to get information back from a navigation raycast.
/// </summary>
public sealed class SurfaceImmutableRaycastHit
{
/// <summary>
/// The intersection point in world ... |
using Microsoft.Extensions.Configuration;
using NLog.Config;
namespace NLog.Extensions.Logging
{
/// <summary>
/// Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
/// </summary>
public static class SetupExtensionsBuilderExtensions
{
/// ... |
using UnityEngine;
using System.Collections;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace SS3D.Engine.Tiles.State
{
/**
* A component used by any tilemap tile to store data.
* Note: We don't just serialize the whole component, because the component may be serializing
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Moq;
using Sandbox.ModAPI.Ingame;
using SpaceEngineers.Game.ModAPI.Ingame;
namespace EasyCommands.Tests.ScriptTests {
[TestClass]
public class RefineryBlockTests {
[TestMethod]
public void TurnOnTheRefineries() {
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// maybe a mistake
public class AnimationCtrl : MonoBehaviour
{
AnimationPattern pattern;
AnimationFX fx;
public void Instantiation(AnimationPattern... |
using System;
using System.Threading.Tasks;
using NServiceBus.Router;
class FindSendDestinationsByHeadersRule : FindDestinationsByHeadersRule,
IRule<SendPreroutingContext, SendPreroutingContext>
{
public Task Invoke(SendPreroutingContext context, Func<SendPreroutingContext, Task> next)
{
context.D... |
using System;
using System.Collections.Generic;
using System.Linq;
using AcklenAvenue.Commands;
using Encomiendas.Domain.Application.Commands;
using Encomiendas.Domain.Entities;
using Encomiendas.Domain.Exceptions;
using Encomiendas.Domain.Services;
namespace Encomiendas.Domain.Validators
{
public class PasswordR... |
using System;
namespace Hammock.Tasks
{
#if !SILVERLIGHT
[Serializable]
#endif
public class TaskState : IRetryState
{
#region ITaskState Members
public int RepeatCount
{
get;set;
}
public DateTime? LastRepeat
{
get; set;
}
... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace Jt808TerminalEmulator.Interface
{
public static class DependencyInjectionExtensions
{
public static IServiceCollection UseService(this ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ARKBreedingStats
{
static public class Taming
{
public static void tamingTimes(int speciesI, int level, double tamingSpeedMultiplier, double tamingFoodRateMultiplier,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Discord;
using Discord.Rest;
using Discord.WebSocket;
using Modix.Data.Models.Core;
using Modix.Services.Core;
using Modix.Services.MessageContentPatterns;
using Modix.Services.Moderation;
usi... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ------------------------------------------------------------
using System.Linq;
using System.Text.Json;
using Dapr.Actors.Client;
using Dapr.Actors.Runtime;
using Microsoft.Exte... |
namespace Basket.API.Entities
{
public class BasketCheckout
{
public string UserName { get; set; }
public decimal TotalPrice { get; set; }
//BillingAddress
public string FirstName { get; set; }
public string LastName { get; set; }
public string EmailAddress { ge... |
/*
* Copyright 2022 Rapid Software LLC
*
* 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... |
using DotNetNote.Models;
using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace DotNetMemo
{
public partial class FrmMain : Form
{
public FrmMain()
{
InitializeComponent();
}
private void FrmMain_Load(object sender, EventArgs e)
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using EasyAbp.PrivateMessaging.PrivateMessageNotifications;
using Volo.Abp.Domain.Services;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.ObjectExtending;
using Volo.Abp.Timing;
using Volo.Abp.Uow;
using Volo.Abp.Users;
namespace Easy... |
using Leelite.Framework.Data.Query.Criteria;
using Leelite.Framework.Data.Query.RangeCriteria;
using System;
using System.Linq;
namespace Leelite.Modules.MessageCenter.Models.SessionAgg
{
public static class SessionCriteria
{
/// <summary>
/// 关键字查询,在标题和描述中匹配
/// </summary>
//... |
#if DEF1
#define DEF2
#endif
#if DEF2
Invisible code;
#endif
namespace NameSpace
{
class C
{
public static void Main () {}
}
} |
// <copyright file="EntityFrameworkContext.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Persistence.EntityFramework
{
using System;
using System.Collections.Generic;
using Microsoft.Ent... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using bd = BankProject.DataProvider;
using bc = BankProject.Controls;
using Telerik.Web.UI;
namespace BankProject.TradingFinance.OverseasFundsTransfer
{
pub... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace SEDC.SerializeServices.Services
{
public class HttpService
{
public static string GetData(string url)
{
//HttpClient _client = new HttpClient();
//_client.Dispose();
... |
using Abp;
namespace TakTikan.Tailor.Authorization.Users.Dto
{
public class UnlinkUserInput
{
public int? TenantId { get; set; }
public long UserId { get; set; }
public UserIdentifier ToUserIdentifier()
{
return new UserIdentifier(TenantId, UserId);
}
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
namespace _02._Car_Extension
{
internal class CarExtension
{
static void Main(string[] args)
{
Cars cars = new Cars();
cars.Make = "VW";
cars.Model = "MK3";
cars.Year = 1993;
cars.FuelQuantity = 200;
cars.Fue... |
using System;
using System.Text.RegularExpressions;
using CMS.DataEngine;
using CMS.DocumentEngine;
using CMS.Helpers;
using CMS.MacroEngine;
using CMS.OutputFilter;
using CMS.PortalEngine;
using CMS.SiteProvider;
using HtmlAgilityPack;
namespace Kentico.AcceleratedMobilePages
{
public class AmpFilter
{
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Microsoft.Bot.Builder.Dialogs.Memory.Scopes
{
/// <summary>
/// DialogMemoryScope maps "class" -> dc.ActiveDialog Properties.
/// </summary>
public class ClassMemoryScope : MemorySc... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace JoKenPo.Domain.Helper
{
public static class EnumHelper
{
public static string Description(this System.Enum type)
{
var fieldInfo = type.GetType().GetRuntimeField(type.ToStri... |
namespace Xeora.Web.Basics.ControlResult
{
public enum DataSourceTypes
{
DirectDataAccess,
ObjectFeed,
PartialDataTable
}
} |
using Android.App;
using Android.Bluetooth;
using Android.Content;
using AndroidTest.Droid;
namespace CampfireNet {
public class AndroidBluetoothAdapterFactory {
public AndroidBluetoothAdapter Create(Activity currentActivity, Context applicationContext, BluetoothAdapter nativeBluetoothAdapter) {
var... |
using UnityEngine;
using System.Collections;
public class bonussingle : MonoBehaviour {
public GameObject[] bonuser;
float x,y;
void Start(){
StartCoroutine (bonus());
}
IEnumerator bonus(){
int time = 20;
while(GameObject.FindGameObjectsWithTag("Player").Length==1){
yield return new WaitForSeconds(0.1... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.ServiceProcess;
using System.Timers;
using WMPLib;
namespace Yee
{
class Program
{
private static Timer YeeTimer;
private static WindowsMediaPlayer Player;
privat... |
using System.Linq;
using CodingArena.AI;
namespace CodingArena.Main.Battlefields.Bots.AIs.Demo
{
internal class Juggernaut : BotAI
{
public Juggernaut()
{
BotName = nameof(Juggernaut);
}
public override string BotName { get; }
public override ITurnAction U... |
// Copyright (c) 2012-2021 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the info... |
// Generated by https://quicktype.io
namespace SpotifyApi.NetCore
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public partial class TrackAudioFeatures
{
[JsonProperty("danceability")]
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
namespace System.Collections.Generic
{
internal static partial class Toolbox
{
/// <summary>
/// Used by KeyVa... |
using System.Security.Cryptography;
using System.Text;
namespace CodeMazeNET.TextGenerator
{
public static class HashGenerator
{
public static string SaltedHash()
{
// autu generate key salt
return TextGenerator.Builder(8);
}
public static string MD5(th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using GUC.Scripts.Sumpfkraut.VobSystem.Instances;
using GUC.Scripts.Sumpfkraut.VobSystem.Definitions;
namespace GUC.Scripts.Sumpfkraut.EffectSystem.EffectHandlers
{
public partial class VobInstEffectHan... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace BNolan.AviationWx.NET.Models.XML.METAR
{
[GeneratedCodeAttribute("xsd", "4.6.1055.0")]
[SerializableAttribute()]
[DebuggerStepThroughAttribute()]
[DesignerCateg... |
#if !WATCH
using System;
using System.Runtime.InteropServices;
using XamCore.CoreFoundation;
using XamCore.Foundation;
using XamCore.ObjCRuntime;
using XamCore.UIKit;
using XamCore.CoreGraphics;
namespace XamCore.UIKit {
public partial class UITableViewCell {
public UITableViewCell (UITableViewCellStyle style, st... |
namespace BloxzApi.Exceptions
{
public class FoodAlreadyReservedException : System.Exception
{
public FoodAlreadyReservedException()
: base()
{
}
}
} |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
/************************************************************************************
Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved.
Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License");
you may not use the Oculus VR Rift SDK except in compliance with the License,
which is p... |
//------------------------------------------------------------------------------
// <copyright file="PropertyItem.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//---------------------------------... |
using System;
using ImageGallery.API.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ImageGallery.API.Migrations
{
[DbContext(typeof(GalleryContext))]
[Mig... |
namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.Api20200802
{
using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions;
/// <summary>The machine extension instance view.</summary>
public partial class MachineExtensionPropertiesInstanceView
{
/// ... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 01.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
using System.ComponentModel.Design;
using System.Runtime.Serialization;
namespace System.Resources.NetStandard
{
// This class implements a partial type resolver for the BinaryFormatter.
// This is needed to be able to read binary serialized content from older
// NDP types and map them to newer versions.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Serilog.Core;
using Serilog.Events;
using Serilog.Parameters;
using Serilog.Parsing;
using Serilog.Tests.Support;
namespace Serilog.Tests.Parameters
{
[TestFixture]
public class PropertyValueConverterTests
{
... |
using System;
using System.Linq;
public class Test {
static int[] a = new int[10];
public static void Main() {
for (int i = -1
/* updated */
; i != 10; i++) {
a[i, 0] = i + 100;
}
}
} |
// Author:yaoshuai
// Email:yscode@126.com
// Date:2021-11-30
// ------------------------------
namespace YNet.IOCP
{
public abstract partial class IOCPClient<T> where T : IOCPSession, new()
{
public bool IsConnected => CurrentNetworkState == NetworkState.Connected;
public NetworkState CurrentN... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace GraphAlgorithms
{
public class Graph<CONTENT> where CONTENT : IEquatable<CONTENT>
{
public readonly HashSet<Node<CONTENT>> NodeSet;
public int Count => NodeSet.Count;
public Graph()
... |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Umbraco.Core;
using Umbraco.Core.Exceptions;
namespace Umbraco.Web.WebApi
{
/// <summary>
/// Used to convert the format of a DateTime object when serializing
/// </summary>
internal class CustomDateTimeConvertor : IsoDateTim... |
#if WCF
using fiskaltrust.ifPOS.v0;
using fiskaltrust.Middleware.Interface.Client.Shared;
using fiskaltrust.Middleware.Interface.Client.Soap;
using fiskaltrust.Middleware.Interface.Client.Tests.Helpers;
using fiskaltrust.Middleware.Interface.Client.Tests.Helpers.Grpc;
using FluentAssertions;
using NUnit.Framework;
us... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ad... |
namespace SkiaSharp.Components
{
public interface IMeasurable
{
SKSize Measure(SKSize available);
}
} |
using System.Collections;
using System.Collections.Generic;
namespace ZulipAPI {
public class ResponseUsers : ResponseBase {
public IList<User> Members { get; set; }
}
} |
// 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.Immutable;
using System.Diagnostics;
using System.Text;
using Microsoft.CodeAnalysis.Colle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XFormsLifecycle
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
BindingContext =... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.Recruiting
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace = "urn:... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("St... |
using System;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Threading.Tasks;
using Titanium.Web.Proxy.EventArguments;
using Titanium.Web.Proxy.Helpers;
using Titanium.Web.Proxy.Models;
namespace Titanium.Web.Proxy.Network.Tcp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ventas.modelos
{
public class Categoria
{
public int Id { get; set; }
public string Descripcion { get; set; }
public Categoria()
{
}
... |
using IdentityDemo.Data;
using IdentityDemo.Models;
using IdentityDemo.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
us... |
// <copyright file="BrowserTypes.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet Ltd.
// 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/lic... |
using System;
namespace uvod
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
automobil A1 = new automobil();
A1.MarkaAutomobila = "Pontiac";
A1.MarkaAutomobila = "Lada";
Console.WriteLine(A1.Mark... |
using Microsoft.ApplicationBlocks.Data;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace SRP_DAL
{
public class TenantStatusReport
{
public int RegisteredPatrons { get; set; }
public int PointsEarned { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.