if (_widgetAddedEventHandler == null)
{
_widgetAddedEventCallback = OnWidgetAdded;
- WidgetAddedSignal().Connect(_widgetAddedEventCallback);
+ WidgetViewSignal widgetAdded = WidgetAddedSignal();
+ widgetAdded?.Connect(_widgetAddedEventCallback);
+ widgetAdded?.Dispose();
}
_widgetAddedEventHandler += value;
{
_widgetAddedEventHandler -= value;
- if (_widgetAddedEventHandler == null && WidgetAddedSignal().Empty() == false)
+ WidgetViewSignal widgetAdded = WidgetAddedSignal();
+ if (_widgetAddedEventHandler == null && widgetAdded?.Empty() == false)
{
- WidgetAddedSignal().Disconnect(_widgetAddedEventCallback);
+ widgetAdded?.Disconnect(_widgetAddedEventCallback);
}
+ widgetAdded?.Dispose();
}
}
if (_widgetContentUpdatedEventHandler == null)
{
_widgetContentUpdatedEventCallback = OnWidgetContentUpdated;
- WidgetContentUpdatedSignal().Connect(_widgetContentUpdatedEventCallback);
+ WidgetViewSignal widgetContentUpdated = WidgetContentUpdatedSignal();
+ widgetContentUpdated?.Connect(_widgetContentUpdatedEventCallback);
+ widgetContentUpdated?.Dispose();
}
_widgetContentUpdatedEventHandler += value;
{
_widgetContentUpdatedEventHandler -= value;
- if (_widgetContentUpdatedEventHandler == null && WidgetContentUpdatedSignal().Empty() == false)
+ WidgetViewSignal widgetContentUpdated = WidgetContentUpdatedSignal();
+ if (_widgetContentUpdatedEventHandler == null && widgetContentUpdated?.Empty() == false)
{
- WidgetContentUpdatedSignal().Disconnect(_widgetContentUpdatedEventCallback);
+ widgetContentUpdated?.Disconnect(_widgetContentUpdatedEventCallback);
}
+ widgetContentUpdated?.Dispose();
}
}
if (_widgetDeletedEventHandler == null)
{
_widgetDeletedEventCallback = OnWidgetDeleted;
- WidgetDeletedSignal().Connect(_widgetDeletedEventCallback);
+ WidgetViewSignal widgetDeleted = WidgetDeletedSignal();
+ widgetDeleted?.Connect(_widgetDeletedEventCallback);
+ widgetDeleted?.Dispose();
}
_widgetDeletedEventHandler += value;
{
_widgetDeletedEventHandler -= value;
- if (_widgetDeletedEventHandler == null && WidgetDeletedSignal().Empty() == false)
+ WidgetViewSignal widgetDeleted = WidgetDeletedSignal();
+ if (_widgetDeletedEventHandler == null && widgetDeleted?.Empty() == false)
{
- WidgetDeletedSignal().Disconnect(_widgetDeletedEventCallback);
+ widgetDeleted?.Disconnect(_widgetDeletedEventCallback);
}
+ widgetDeleted?.Dispose();
}
}
if (_widgetCreationAbortedEventHandler == null)
{
_widgetCreationAbortedEventCallback = OnWidgetCreationAborted;
- WidgetCreationAbortedSignal().Connect(_widgetCreationAbortedEventCallback);
+ WidgetViewSignal widgetCreationAborted = WidgetCreationAbortedSignal();
+ widgetCreationAborted?.Connect(_widgetCreationAbortedEventCallback);
+ widgetCreationAborted?.Dispose();
}
_widgetCreationAbortedEventHandler += value;
{
_widgetCreationAbortedEventHandler -= value;
- if (_widgetCreationAbortedEventHandler == null && WidgetCreationAbortedSignal().Empty() == false)
+ WidgetViewSignal widgetCreationAborted = WidgetCreationAbortedSignal();
+ if (_widgetCreationAbortedEventHandler == null && widgetCreationAborted?.Empty() == false)
{
- WidgetCreationAbortedSignal().Disconnect(_widgetCreationAbortedEventCallback);
+ widgetCreationAborted?.Disconnect(_widgetCreationAbortedEventCallback);
}
+ widgetCreationAborted?.Dispose();
}
}
if (_widgetUpdatePeriodChangedEventHandler == null)
{
_widgetUpdatePeriodChangedEventCallback = OnWidgetUpdatePeriodChanged;
- WidgetUpdatePeriodChangedSignal().Connect(_widgetUpdatePeriodChangedEventCallback);
+ WidgetViewSignal widgetUpdatePeriodChanged = WidgetUpdatePeriodChangedSignal();
+ widgetUpdatePeriodChanged?.Connect(_widgetUpdatePeriodChangedEventCallback);
+ widgetUpdatePeriodChanged?.Dispose();
}
_widgetUpdatePeriodChangedEventHandler += value;
{
_widgetUpdatePeriodChangedEventHandler -= value;
- if (_widgetUpdatePeriodChangedEventHandler == null && WidgetUpdatePeriodChangedSignal().Empty() == false)
+ WidgetViewSignal widgetUpdatePeriodChanged = WidgetUpdatePeriodChangedSignal();
+ if (_widgetUpdatePeriodChangedEventHandler == null && widgetUpdatePeriodChanged?.Empty() == false)
{
- WidgetUpdatePeriodChangedSignal().Disconnect(_widgetUpdatePeriodChangedEventCallback);
+ widgetUpdatePeriodChanged?.Disconnect(_widgetUpdatePeriodChangedEventCallback);
}
+ widgetUpdatePeriodChanged?.Dispose();
}
}
if (_widgetFaultedEventHandler == null)
{
_widgetFaultedEventCallback = OnWidgetFaulted;
- WidgetFaultedSignal().Connect(_widgetFaultedEventCallback);
+ WidgetViewSignal widgetFaulted = WidgetFaultedSignal();
+ widgetFaulted?.Connect(_widgetFaultedEventCallback);
+ widgetFaulted?.Dispose();
}
_widgetFaultedEventHandler += value;
{
_widgetFaultedEventHandler -= value;
- if (_widgetFaultedEventHandler == null && WidgetFaultedSignal().Empty() == false)
+ WidgetViewSignal widgetFaulted = WidgetFaultedSignal();
+ if (_widgetFaultedEventHandler == null && widgetFaulted?.Empty() == false)
{
- WidgetFaultedSignal().Disconnect(_widgetFaultedEventCallback);
+ widgetFaulted?.Disconnect(_widgetFaultedEventCallback);
}
+ widgetFaulted?.Dispose();
}
}
{
get
{
- string temp;
- GetProperty(WidgetView.Property.WidgetId).Get(out temp);
- return temp;
+ string retValue = "";
+ PropertyValue widgetId = GetProperty(WidgetView.Property.WidgetId);
+ widgetId?.Get(out retValue);
+ widgetId?.Dispose();
+ return retValue;
}
}
{
get
{
- string temp;
- GetProperty(WidgetView.Property.InstanceId).Get(out temp);
- return temp;
+ string retValue = "";
+ PropertyValue instanceId = GetProperty(WidgetView.Property.InstanceId);
+ instanceId?.Get(out retValue);
+ instanceId?.Dispose();
+ return retValue;
}
}
{
get
{
- string temp;
- GetProperty(WidgetView.Property.ContentInfo).Get(out temp);
- return temp;
+ string retValue = "";
+ PropertyValue contentInfo = GetProperty(WidgetView.Property.ContentInfo);
+ contentInfo?.Get(out retValue);
+ contentInfo?.Dispose();
+ return retValue;
}
}
{
get
{
- string temp;
- GetProperty(WidgetView.Property.TITLE).Get(out temp);
- return temp;
+ string retValue = "";
+ PropertyValue title = GetProperty(WidgetView.Property.TITLE);
+ title?.Get(out retValue);
+ title?.Dispose();
+ return retValue;
}
}
{
get
{
- float temp;
- GetProperty(WidgetView.Property.UpdatePeriod).Get(out temp);
- return temp;
+ float retValue = 0;
+ PropertyValue updatePeriod = GetProperty(WidgetView.Property.UpdatePeriod);
+ updatePeriod?.Get(out retValue);
+ updatePeriod?.Dispose();
+ return retValue;
}
}
{
get
{
- bool temp;
- GetProperty(WidgetView.Property.PREVIEW).Get(out temp);
- return temp;
+ bool retValue = false;
+ PropertyValue preview = GetProperty(WidgetView.Property.PREVIEW);
+ preview?.Get(out retValue);
+ preview?.Dispose();
+ return retValue;
}
set
{
- SetProperty(WidgetView.Property.PREVIEW, new Tizen.NUI.PropertyValue(value));
+ PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
+ SetProperty(WidgetView.Property.PREVIEW, setValue);
+ setValue?.Dispose();
}
}
{
get
{
- bool temp;
- GetProperty(WidgetView.Property.LoadingText).Get(out temp);
- return temp;
+ bool retValue = false;
+ PropertyValue loadingText = GetProperty(WidgetView.Property.LoadingText);
+ loadingText?.Get(out retValue);
+ loadingText?.Dispose();
+ return retValue;
}
set
{
- SetProperty(WidgetView.Property.LoadingText, new Tizen.NUI.PropertyValue(value));
+ PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
+ SetProperty(WidgetView.Property.LoadingText, setValue);
+ setValue?.Dispose();
}
}
{
get
{
- bool temp;
- GetProperty(WidgetView.Property.WidgetStateFaulted).Get(out temp);
- return temp;
+ bool retValue = false;
+ PropertyValue widgetStateFaulted = GetProperty(WidgetView.Property.WidgetStateFaulted);
+ widgetStateFaulted?.Get(out retValue);
+ widgetStateFaulted?.Dispose();
+ return retValue;
}
set
{
- SetProperty(WidgetView.Property.WidgetStateFaulted, new Tizen.NUI.PropertyValue(value));
+ PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
+ SetProperty(WidgetView.Property.WidgetStateFaulted, setValue);
+ setValue?.Dispose();
}
}
{
get
{
- bool temp;
- GetProperty(WidgetView.Property.PermanentDelete).Get(out temp);
- return temp;
+ bool retValue = false;
+ PropertyValue permanentDelete = GetProperty(WidgetView.Property.PermanentDelete);
+ permanentDelete?.Get(out retValue);
+ permanentDelete?.Dispose();
+ return retValue;
}
set
{
- SetProperty(WidgetView.Property.PermanentDelete, new Tizen.NUI.PropertyValue(value));
+ PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
+ SetProperty(WidgetView.Property.PermanentDelete, setValue);
+ setValue.Dispose();
}
}
{
get
{
- PropertyMap temp = new PropertyMap();
- GetProperty(WidgetView.Property.RetryText).Get(temp);
- return temp;
+ PropertyMap retValue = new PropertyMap();
+ PropertyValue retryText = GetProperty(WidgetView.Property.RetryText);
+ retryText?.Get(retValue);
+ retryText?.Dispose();
+ return retValue;
}
set
{
- SetProperty(WidgetView.Property.RetryText, new Tizen.NUI.PropertyValue(value));
+ PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
+ SetProperty(WidgetView.Property.RetryText, setValue);
+ setValue?.Dispose();
}
}
{
get
{
- PropertyMap temp = new PropertyMap();
- GetProperty(WidgetView.Property.EFFECT).Get(temp);
- return temp;
+ PropertyMap retValue = new PropertyMap();
+ PropertyValue effect = GetProperty(WidgetView.Property.EFFECT);
+ effect?.Get(retValue);
+ effect?.Dispose();
+ return retValue;
}
set
{
- SetProperty(WidgetView.Property.EFFECT, new Tizen.NUI.PropertyValue(value));
+ PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
+ SetProperty(WidgetView.Property.EFFECT, setValue);
+ setValue?.Dispose();
}
}
if (_widgetAddedEventCallback != null)
{
- this.WidgetAddedSignal().Disconnect(_widgetAddedEventCallback);
+ WidgetViewSignal widgetAdded = this.WidgetAddedSignal();
+ widgetAdded?.Disconnect(_widgetAddedEventCallback);
+ widgetAdded?.Dispose();
}
if (_widgetContentUpdatedEventCallback != null)
{
- this.WidgetContentUpdatedSignal().Disconnect(_widgetContentUpdatedEventCallback);
+ WidgetViewSignal widgetContentUpdated = this.WidgetContentUpdatedSignal();
+ widgetContentUpdated?.Disconnect(_widgetContentUpdatedEventCallback);
+ widgetContentUpdated?.Dispose();
}
if (_widgetCreationAbortedEventCallback != null)
{
- this.WidgetCreationAbortedSignal().Disconnect(_widgetCreationAbortedEventCallback);
+ WidgetViewSignal widgetCreationAborted = this.WidgetCreationAbortedSignal();
+ widgetCreationAborted?.Disconnect(_widgetCreationAbortedEventCallback);
+ widgetCreationAborted?.Dispose();
}
if (_widgetDeletedEventCallback != null)
{
- this.WidgetDeletedSignal().Disconnect(_widgetDeletedEventCallback);
+ WidgetViewSignal widgetDeleted = this.WidgetDeletedSignal();
+ widgetDeleted?.Disconnect(_widgetDeletedEventCallback);
+ widgetDeleted?.Dispose();
}
if (_widgetFaultedEventCallback != null)
{
- this.WidgetFaultedSignal().Disconnect(_widgetFaultedEventCallback);
+ WidgetViewSignal widgetFaulted = this.WidgetFaultedSignal();
+ widgetFaulted?.Disconnect(_widgetFaultedEventCallback);
+ widgetFaulted?.Dispose();
}
if (_widgetUpdatePeriodChangedEventCallback != null)
{
- this.WidgetUpdatePeriodChangedSignal().Disconnect(_widgetUpdatePeriodChangedEventCallback);
+ WidgetViewSignal widgetUpdatePeriodChanged = this.WidgetUpdatePeriodChangedSignal();
+ widgetUpdatePeriodChanged?.Disconnect(_widgetUpdatePeriodChangedEventCallback);
+ widgetUpdatePeriodChanged?.Dispose();
}
base.Dispose(type);