1. Stylelabs.M.Sdk.Models.Content

Class PropertyCopyOption

Default implementation of IPropertyCopyOption.

Inheritance

object

PropertyCopyOption

Implements

IPropertyCopyOption

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class PropertyCopyOption : IPropertyCopyOption

Constructors

PropertyCopyOption(string, PropertyCopyMethod, string)

Initializes a new instance of the PropertyCopyOption class.

Declaration

public PropertyCopyOption(string name, PropertyCopyMethod method, string newValue = null)

Parameters

TypeNameDescription
stringnameThe name of the property.
PropertyCopyMethodmethodThe copy method to use.
stringnewValueThe property new value.

Properties

Method

Gets or sets copy method name.

Declaration

public PropertyCopyMethod Method { get; set; }

Property Value

TypeDescription
PropertyCopyMethod

Name

Gets or sets property name.

Declaration

public string Name { get; set; }

Property Value

TypeDescription
string

NewValue

Gets or sets new value of property.

Declaration

public string NewValue { get; set; }

Property Value

TypeDescription
string

Implements

IPropertyCopyOption

If you have suggestions for improving this article, let us know!