• Manual
  • API Documentation
  • Bayat.Json.Linq
  • JPropertyDescriptor

    Show / Hide Table of Contents
    • Bayat
      • UnityThread
    • Bayat.Core
      • AddReferenceWindow
      • AddReferenceWindow.Dependency
      • AssetReferenceResolver
      • AssetReferenceResolverEditor
      • BayatEditorStyles
      • CoreAssetPostProcessor
      • EditorApplicationUtility
      • MaterialPropertiesResolver
      • MaterialPropertiesResolverEditor
      • ReferenceCheckerWindow
      • ReferenceResolverMode
      • RuntimeMaterialProperties
      • RuntimeMaterialProperty
      • RuntimeMaterialPropertyType
      • SceneReferenceResolver
      • SceneReferenceResolverEditor
      • UnityEditorInternalException
    • Bayat.Core.EditorWindows
      • AssetReferenceManagerWindow
      • AssetReferenceManagerWindow.Styles
      • DatabaseMigrationWindow
      • DatabaseMigrationWindow.SceneMigrationStatus
      • DatabaseMigrationWindow.Styles
      • EditorWindowExtensions
      • EditorWindowUtility
      • EditorWindowWrapper
      • SceneReferenceManagerWindow
      • SceneReferenceManagerWindow.Styles
      • WindowClose
      • WrappedEditorWindow
    • Bayat.Core.Profiling
      • ProfiledSegment
      • ProfiledSegmentCollection
      • ProfilingScope
      • ProfilingUtility
    • Bayat.Core.Reflection
      • AssemblyExtensions
      • Codebase
      • RuntimeCodebase
      • TypeExtensions
      • TypeUtility
    • Bayat.Core.Text
      • StringExtensions
      • StringUtility
    • Bayat.Core.Utilities
      • ExceptionExtensions
      • GuidToReferenceDictionary
      • SerializableDictionary<TKey, TVal>
    • Bayat.Json
      • ConstructorHandling
      • CreateObjectConverterWindow
      • CreateObjectConverterWindow.Styles
      • DateFormatHandling
      • DateParseHandling
      • DateTimeZoneHandling
      • DefaultValueHandling
      • FloatFormatHandling
      • FloatParseHandling
      • Formatting
      • GameObjectSerializationHandler
      • GameObjectSerializationManagerTreeView
      • GameObjectSerializationManagerTreeView.Styles
      • GameObjectSerializationManagerWindow
      • GameObjectSerializationManagerWindow.Styles
      • IArrayPool<T>
      • IJsonLineInfo
      • JsonArrayAttribute
      • JsonConstructorAttribute
      • JsonContainerAttribute
      • JsonContainerType
      • JsonConvert
      • JsonConverter
      • JsonConverterAttribute
      • JsonConverterCollection
      • JsonDefaultSettingsWindow
      • JsonDefaultSettingsWindow.Styles
      • JsonDictionaryAttribute
      • JsonException
      • JsonExtensionDataAttribute
      • JsonIgnoreAttribute
      • JsonObjectAttribute
      • JsonPosition
      • JsonPropertyAttribute
      • JsonReader
      • JsonReader.State
      • JsonReaderException
      • JsonRequiredAttribute
      • JsonSerializationException
      • JsonSerializer
      • JsonSerializerSettings
      • JsonSerializerSettingsPreset
      • JsonTextReader
      • JsonTextWriter
      • JsonToken
      • JsonWriter
      • JsonWriter.State
      • JsonWriterException
      • MemberSerialization
      • MetadataPropertyHandling
      • MissingMemberHandling
      • NullValueHandling
      • ObjectCreationHandling
      • PreserveReferencesHandling
      • ReadType
      • ReferenceLoopHandling
      • Required
      • StringEscapeHandling
      • TypeNameHandling
      • WriteState
    • Bayat.Json.Bson
      • BsonArray
      • BsonBinary
      • BsonBinaryType
      • BsonBinaryWriter
      • BsonObject
      • BsonObjectId
      • BsonProperty
      • BsonReader
      • BsonRegex
      • BsonString
      • BsonToken
      • BsonType
      • BsonValue
      • BsonWriter
    • Bayat.Json.Converters
      • AnimatorConverter
      • AudioClipConverter
      • BinaryConverter
      • BoundsConverter
      • BsonObjectIdConverter
      • ColliderConverter
      • ColorConverter
      • CustomCreationConverter<T>
      • DateTimeConverterBase
      • DiscriminatedUnionConverter
      • EntityKeyMemberConverter
      • ExpandoObjectConverter
      • GameObjectConverter
      • HashSetConverter
      • IsoDateTimeConverter
      • JavaScriptDateTimeConverter
      • KeyValuePairConverter
      • MaterialConverter
      • MaterialConverter.JsonSerializedMaterialProperty
      • Matrix4x4Converter
      • MeshConverter
      • MeshConverter.SerializedIndices
      • MeshFilterConverter
      • ObjectJsonConverter
      • QuaternionConverter
      • RectConverter
      • RectTransformConverter
      • RegexConverter
      • RendererConverter
      • ResolutionConverter
      • ShaderConverter
      • SpriteConverter
      • StringEnumConverter
      • Texture2DConverter
      • TransformConverter
      • UnityBehaviourConverter
      • UnityComponentConverter
      • UnityMonoBehaviourConverter
      • UnityObjectConverter
      • UriConverter
      • VectorConverter
      • VersionConverter
      • XmlNodeConverter
    • Bayat.Json.Linq
      • CommentHandling
      • Extensions
      • IJEnumerable<T>
      • JArray
      • JConstructor
      • JContainer
      • JEnumerable<T>
      • JObject
      • JProperty
      • JPropertyDescriptor
      • JPropertyKeyedCollection
      • JRaw
      • JsonLoadSettings
      • JsonMergeSettings
      • JToken
      • JTokenEqualityComparer
      • JTokenReader
      • JTokenType
      • JTokenWriter
      • JValue
      • LineInfoHandling
      • MergeArrayHandling
      • MergeNullValueHandling
    • Bayat.Json.Linq.JsonPath
      • ArrayIndexFilter
      • ArrayMultipleIndexFilter
      • ArraySliceFilter
      • BooleanQueryExpression
      • CompositeExpression
      • FieldFilter
      • FieldMultipleFilter
      • JPath
      • PathFilter
      • QueryExpression
      • QueryFilter
      • QueryOperator
      • ScanFilter
    • Bayat.Json.Serialization
      • CachedAttributeGetter<T>
      • CamelCasePropertyNamesContractResolver
      • DefaultContractResolver
      • DefaultContractResolver.EnumerableDictionaryWrapper<TEnumeratorKey, TEnumeratorValue>
      • DefaultContractResolverState
      • DefaultReferenceResolver
      • DefaultSerializationBinder
      • DefaultSerializationBinder.TypeNameKey
      • DiagnosticsTraceWriter
      • ErrorContext
      • ErrorEventArgs
      • ExpressionValueProvider
      • ExtensionDataGetter
      • ExtensionDataSetter
      • IAttributeProvider
      • IContractResolver
      • IReferenceResolver
      • ITraceWriter
      • IValueProvider
      • JsonArrayContract
      • JsonContainerContract
      • JsonContract
      • JsonContractType
      • JsonDictionaryContract
      • JsonDynamicContract
      • JsonFormatterConverter
      • JsonISerializableContract
      • JsonLinqContract
      • JsonObjectContract
      • JsonPrimitiveContract
      • JsonProperty
      • JsonPropertyCollection
      • JsonSerializerInternalBase
      • JsonSerializerProxy
      • JsonSerializerReader
      • JsonSerializerReader.CreatorPropertyContext
      • JsonSerializerReader.PropertyPresence
      • JsonSerializerWriter
      • JsonStringContract
      • JsonTypeReflector
      • MemoryTraceWriter
      • ObjectConstructor<T>
      • OnErrorAttribute
      • ReflectionAttributeProvider
      • ReflectionValueProvider
      • ResolverContractKey
      • SerializationCallback
      • SerializationErrorCallback
      • TraceJsonReader
      • TraceJsonWriter
    • Bayat.Json.Shims
      • PreserveAttribute
    • Bayat.Json.Utilities
      • Base64Encoder
      • BidirectionalDictionary<TFirst, TSecond>
      • BufferUtils
      • CollectionUtils
      • CollectionWrapper<T>
      • ConvertUtils
      • ConvertUtils.ConvertResult
      • ConvertUtils.TypeConvertKey
      • Creator<T>
      • DateTimeParser
      • DateTimeUtils
      • DictionaryWrapper<TKey, TValue>
      • DynamicProxy<T>
      • DynamicProxyMetaObject<T>
      • DynamicUtils
      • DynamicUtils.BinderWrapper
      • EnumUtils
      • EnumValue<T>
      • ExpressionReflectionDelegateFactory
      • FSharpFunction
      • FSharpUtils
      • ImmutableCollectionsUtils
      • ImmutableCollectionsUtils.ImmutableCollectionTypeInfo
      • IWrappedCollection
      • IWrappedDictionary
      • JavaScriptUtils
      • JsonTokenUtils
      • LateBoundReflectionDelegateFactory
      • MathUtils
      • MethodCall<T, TResult>
      • MiscellaneousUtils
      • NoThrowExpressionVisitor
      • NoThrowGetBinderMember
      • NoThrowSetBinderMember
      • ParseResult
      • ParserTimeZone
      • PrimitiveTypeCode
      • PropertyNameTable
      • ReflectionDelegateFactory
      • ReflectionMember
      • ReflectionObject
      • ReflectionUtils
      • StringBuffer
      • StringReference
      • StringReferenceExtensions
      • StringUtils
      • ThreadSafeStore<TKey, TValue>
      • TypeInformation
      • ValidationUtils
    • Bayat.SaveSystem
      • AutoSave
      • AutoSaveManager
      • AutoSaveManager.LoadEvent
      • AutoSaveManager.SaveEvent
      • AutoSaveManagerWindow
      • AutoSaveManagerWindow.Styles
      • LoadEventArgs
      • LoadIntoEventArgs
      • SaveEventArgs
      • SaveSystemAPI
      • SaveSystemDefaultSettingsWindow
      • SaveSystemDefaultSettingsWindow.Styles
      • SaveSystemEditorResources
      • SaveSystemJsonSerializer
      • SaveSystemManager
      • SaveSystemSettings
      • SaveSystemSettingsPreset
      • WelcomeWindow
      • WelcomeWindow.Styles
    • Bayat.SaveSystem.Security
      • ISaveSystemEncryption
      • SaveSystemCryptoStream
      • SaveSystemSymmetricCryptoStream
      • SaveSystemSymmetricEncryption
    • Bayat.SaveSystem.Storage
      • BuiltInConnectionFactory
      • ConnectionStringFactory
      • FileStorageStream
      • IConnectionFactory
      • IStorage
      • IStorageStream
      • LocalDiskStorage
      • PlayerPrefsStorage
      • PlayerPrefsStorageStream
      • StorageBackup
      • StorageBase
      • StorageClearOperationResult
      • StorageConnectionString
      • StorageCopyOperationResult
      • StorageDeleteOperationResult
      • StorageFactory
      • StorageFullException
      • StorageInvalidIdentifierException
      • StorageItemNotFoundException
      • StorageListOptions
      • StorageMetaData
      • StorageMoveOperationResult
      • StorageOperationResult
      • StorageStream

    Class JPropertyDescriptor

    Represents a view of a JProperty.

    Inheritance
    System.Object
    System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
    JPropertyDescriptor
    Inherited Members
    System.ComponentModel.PropertyDescriptor.AddValueChanged(System.Object, System.EventHandler)
    System.ComponentModel.PropertyDescriptor.CreateInstance(System.Type)
    System.ComponentModel.PropertyDescriptor.Equals(System.Object)
    System.ComponentModel.PropertyDescriptor.FillAttributes(System.Collections.IList)
    System.ComponentModel.PropertyDescriptor.GetChildProperties()
    System.ComponentModel.PropertyDescriptor.GetChildProperties(System.Attribute[])
    System.ComponentModel.PropertyDescriptor.GetChildProperties(System.Object)
    System.ComponentModel.PropertyDescriptor.GetChildProperties(System.Object, System.Attribute[])
    System.ComponentModel.PropertyDescriptor.GetEditor(System.Type)
    System.ComponentModel.PropertyDescriptor.GetHashCode()
    System.ComponentModel.PropertyDescriptor.GetInvocationTarget(System.Type, System.Object)
    System.ComponentModel.PropertyDescriptor.GetTypeFromName(System.String)
    System.ComponentModel.PropertyDescriptor.GetValueChangedHandler(System.Object)
    System.ComponentModel.PropertyDescriptor.OnValueChanged(System.Object, System.EventArgs)
    System.ComponentModel.PropertyDescriptor.RemoveValueChanged(System.Object, System.EventHandler)
    System.ComponentModel.PropertyDescriptor.Converter
    System.ComponentModel.PropertyDescriptor.IsLocalizable
    System.ComponentModel.PropertyDescriptor.SerializationVisibility
    System.ComponentModel.PropertyDescriptor.SupportsChangeEvents
    System.ComponentModel.MemberDescriptor.CreateAttributeCollection()
    System.ComponentModel.MemberDescriptor.FindMethod(System.Type, System.String, System.Type[], System.Type)
    System.ComponentModel.MemberDescriptor.FindMethod(System.Type, System.String, System.Type[], System.Type, System.Boolean)
    System.ComponentModel.MemberDescriptor.GetInvokee(System.Type, System.Object)
    System.ComponentModel.MemberDescriptor.GetSite(System.Object)
    System.ComponentModel.MemberDescriptor.AttributeArray
    System.ComponentModel.MemberDescriptor.Attributes
    System.ComponentModel.MemberDescriptor.Category
    System.ComponentModel.MemberDescriptor.Description
    System.ComponentModel.MemberDescriptor.DesignTimeOnly
    System.ComponentModel.MemberDescriptor.DisplayName
    System.ComponentModel.MemberDescriptor.IsBrowsable
    System.ComponentModel.MemberDescriptor.Name
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Json.Linq
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public class JPropertyDescriptor : PropertyDescriptor

    Constructors

    | Improve this Doc View Source

    JPropertyDescriptor(String)

    Initializes a new instance of the JPropertyDescriptor class.

    Declaration
    public JPropertyDescriptor(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Properties

    | Improve this Doc View Source

    ComponentType

    When overridden in a derived class, gets the type of the component this property is bound to.

    Declaration
    public override Type ComponentType { get; }
    Property Value
    Type Description
    System.Type

    A System.Type that represents the type of component this property is bound to. When the System.ComponentModel.PropertyDescriptor.GetValue(System.Object) or System.ComponentModel.PropertyDescriptor.SetValue(System.Object, System.Object) methods are invoked, the object specified might be an instance of this type.

    Overrides
    System.ComponentModel.PropertyDescriptor.ComponentType
    | Improve this Doc View Source

    IsReadOnly

    When overridden in a derived class, gets a value indicating whether this property is read-only.

    Declaration
    public override bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean

    true if the property is read-only; otherwise, false.

    Overrides
    System.ComponentModel.PropertyDescriptor.IsReadOnly
    | Improve this Doc View Source

    NameHashCode

    Gets the hash code for the name of the member.

    Declaration
    protected override int NameHashCode { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    System.ComponentModel.MemberDescriptor.NameHashCode
    | Improve this Doc View Source

    PropertyType

    When overridden in a derived class, gets the type of the property.

    Declaration
    public override Type PropertyType { get; }
    Property Value
    Type Description
    System.Type

    A System.Type that represents the type of the property.

    Overrides
    System.ComponentModel.PropertyDescriptor.PropertyType

    Methods

    | Improve this Doc View Source

    CanResetValue(Object)

    When overridden in a derived class, returns whether resetting an object changes its value.

    Declaration
    public override bool CanResetValue(object component)
    Parameters
    Type Name Description
    System.Object component

    The component to test for reset capability.

    Returns
    Type Description
    System.Boolean

    true if resetting the component changes its value; otherwise, false.

    Overrides
    System.ComponentModel.PropertyDescriptor.CanResetValue(System.Object)
    | Improve this Doc View Source

    GetValue(Object)

    When overridden in a derived class, gets the current value of the property on a component.

    Declaration
    public override object GetValue(object component)
    Parameters
    Type Name Description
    System.Object component

    The component with the property for which to retrieve the value.

    Returns
    Type Description
    System.Object

    The value of a property for a given component.

    Overrides
    System.ComponentModel.PropertyDescriptor.GetValue(System.Object)
    | Improve this Doc View Source

    ResetValue(Object)

    When overridden in a derived class, resets the value for this property of the component to the default value.

    Declaration
    public override void ResetValue(object component)
    Parameters
    Type Name Description
    System.Object component

    The component with the property value that is to be reset to the default value.

    Overrides
    System.ComponentModel.PropertyDescriptor.ResetValue(System.Object)
    | Improve this Doc View Source

    SetValue(Object, Object)

    When overridden in a derived class, sets the value of the component to a different value.

    Declaration
    public override void SetValue(object component, object value)
    Parameters
    Type Name Description
    System.Object component

    The component with the property value that is to be set.

    System.Object value

    The new value.

    Overrides
    System.ComponentModel.PropertyDescriptor.SetValue(System.Object, System.Object)
    | Improve this Doc View Source

    ShouldSerializeValue(Object)

    When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.

    Declaration
    public override bool ShouldSerializeValue(object component)
    Parameters
    Type Name Description
    System.Object component

    The component with the property to be examined for persistence.

    Returns
    Type Description
    System.Boolean

    true if the property should be persisted; otherwise, false.

    Overrides
    System.ComponentModel.PropertyDescriptor.ShouldSerializeValue(System.Object)
    • Improve this Doc
    • View Source
    • 0 Comments
    In This Article
    • Constructors
      • JPropertyDescriptor(String)
    • Properties
      • ComponentType
      • IsReadOnly
      • NameHashCode
      • PropertyType
    • Methods
      • CanResetValue(Object)
      • GetValue(Object)
      • ResetValue(Object)
      • SetValue(Object, Object)
      • ShouldSerializeValue(Object)