1. PropertyLoadOption

Class PropertyLoadOption

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Specifies which properties to load.

Inheritance
System.Object
PropertyLoadOption
Namespace: Stylelabs.M.Framework.Essentials.LoadOptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class PropertyLoadOption : object, IPropertyLoadOption, ILoadOption

Constructors

PropertyLoadOption()

Creates an empty property load option. Defaults to None.

Declaration
public PropertyLoadOption()

PropertyLoadOption(IEnumerable<String>)

Creates a property load option that loads specified properties.

Declaration
public PropertyLoadOption(IEnumerable<string> propertyNames)
Parameters
TypeNameDescription
IEnumerable<System.String>propertyNames

Property names.

PropertyLoadOption(LoadOption)

Creates a property load option with specified load option.

Declaration
public PropertyLoadOption(LoadOption loadOption)
Parameters
TypeNameDescription
LoadOptionloadOption

PropertyLoadOption(String[])

Creates a property load option that loads specified properties.

Declaration
public PropertyLoadOption(params string[] propertyNames)
Parameters
TypeNameDescription
System.String[]propertyNames

Property names.

Properties

All

Loads all properties.

Declaration
public static IPropertyLoadOption All { get; }
Property Value
TypeDescription
IPropertyLoadOption

LoadOption

Gets the load option.

Declaration
public LoadOption LoadOption { get; set; }
Property Value
TypeDescription
LoadOption

None

Loads no properties.

Declaration
public static IPropertyLoadOption None { get; }
Property Value
TypeDescription
IPropertyLoadOption

Properties

Gets a list of property names (case insensitive) that need to be loaded. This is only useful when LoadOption is Custom.

Declaration
public string[] Properties { get; set; }
Property Value
TypeDescription
System.String[]

Methods

DeepClone()

Creates a deep clone of this instance.

Declaration
public IPropertyLoadOption DeepClone()
Returns
TypeDescription
IPropertyLoadOption

DeepEquals(IPropertyLoadOption)

Checks if this instance of IPropertyLoadOption is equal to other.

Declaration
public bool DeepEquals(IPropertyLoadOption other)
Parameters
TypeNameDescription
IPropertyLoadOptionother
Returns
TypeDescription
System.Boolean

langword_csharp_True if the instances are equal; otherwise langword_csharp_False.

Implements

この記事を改善するための提案がある場合は、 お知らせください!