Class EditableObjectBase
Inheritance
System.Object
EditableObjectBase
Assembly: Emby.Web.GenericEdit.dll
Syntax
public abstract class EditableObjectBase : IEditableObject
Fields
JsonSerializer
Declaration
protected static IJsonSerializer JsonSerializer
Field Value
Properties
EditorDescription
Gets the editor description.
Declaration
[Browsable(false)]
public virtual string EditorDescription { get; }
Property Value
Type |
Description |
System.String |
The editor description.
|
EditorTitle
Declaration
[Browsable(false)]
public abstract string EditorTitle { get; }
Property Value
Type |
Description |
System.String |
The editor title.
|
FeatureRequiresPremiere
Declaration
[Browsable(false)]
public virtual bool FeatureRequiresPremiere { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsNewItem
Declaration
[Browsable(false)]
public virtual bool IsNewItem { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[Browsable(false)]
public virtual ButtonItem TitleButton { get; }
Property Value
Methods
CreateEditContainer()
Declaration
public virtual IEditObjectContainer CreateEditContainer()
Returns
Declaration
public IEditableObject DeserializeFromJsonStream(Stream jsonStream, IJsonSerializer serializer)
Parameters
Type |
Name |
Description |
System.IO.Stream |
jsonStream |
|
IJsonSerializer |
serializer |
|
Returns
Declaration
public IEditableObject DeserializeFromJsonString(string jsonString, IJsonSerializer serializer)
Parameters
Returns
GetChangesFromDefault()
Declaration
public List<PropertyChangeInfo> GetChangesFromDefault()
Returns
GetEditorBuildOptions()
Declaration
protected virtual EditorBuildOptions GetEditorBuildOptions()
Returns
Validate()
Declaration
public ValidationResult Validate()
Returns
Validate(ValidationContext)
Declaration
protected virtual void Validate(ValidationContext context)
Parameters
ValidateChildGroup(ValidationContext, String)
Declaration
protected virtual void ValidateChildGroup(ValidationContext context, string propertyName)
Parameters
ValidateOrThrow()
Declaration
public void ValidateOrThrow()
Implements
Extension Methods