Show / Hide Table of Contents

Interface ICloneable<T>

Extension of the ICloneable interface that provides a strongly typed method and a default implementation of it.

Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.dll
Syntax
public interface ICloneable<out T> : ICloneable where T : notnull, new()
Type Parameters
Name Description
T

Type of object resulting from cloning. Typically, but not necessarily, it is the same type that implements this interface. If the type is not the same as th implementing type, it must implement the specified type.

Methods

| Edit this page View Source

Clone()

Creates a copy of this instance.

Declaration
T Clone()
Returns
Type Description
T

A copy of this instance of type T.

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX