NDalicPINVOKE.SWIGStringHelper.RegistCallback();
args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath;
- if ("" == args[0])
+ if (string.IsNullOrEmpty(args[0]))
{
args[0] = this.GetType().Assembly.FullName;
}
}
var namespaceUri = reader.NamespaceURI;
- if (reader.LocalName.Contains(".") && namespaceUri == "")
+ if (reader.LocalName.Contains(".") && string.IsNullOrEmpty(namespaceUri))
namespaceUri = ((IXmlNamespaceResolver)reader).LookupNamespace("");
var propertyName = new XmlName(namespaceUri, reader.LocalName);
IEnumerable<BindingExpressionPart> GetPart(string part)
{
part = part.Trim();
- if (part == string.Empty)
+ if (string.IsNullOrEmpty(part))
throw new FormatException("Path contains an empty part");
BindingExpressionPart indexer = null;
{
tlog.Fatal(tag, $"[VAV START[ [{GetId()}] CurrentFrame SET");
- if (mResourceURL == null || mResourceURL == String.Empty)
+ if (string.IsNullOrEmpty(mResourceURL))
{
throw new InvalidOperationException("Resource Url not yet Set");
}
{
tlog.Fatal(tag, $"[VAV START[ [{GetId()}] AnimationState={AnimationState}, PlayState={PlayState}");
- if (mResourceURL == null || mResourceURL == String.Empty)
+ if (string.IsNullOrEmpty(mResourceURL))
{
throw new InvalidOperationException("Resource Url not yet Set");
}
{
tlog.Fatal(tag, $"[VAV START[ [{GetId()}] AnimationState={AnimationState}, PlayState={PlayState}");
- if (mResourceURL == null || mResourceURL == String.Empty)
+ if (string.IsNullOrEmpty(mResourceURL))
{
throw new InvalidOperationException("Resource Url not yet Set");
}
{
tlog.Fatal(tag, $"[VAV START[ [{GetId()}] endAction:({endAction}), PlayState={PlayState}");
- if (mResourceURL == null || mResourceURL == String.Empty)
+ if (string.IsNullOrEmpty(mResourceURL))
{
throw new InvalidOperationException("Resource Url not yet Set");
}
alphaMaskUrl?.Dispose();
}
- if (_resourceUrl == "")
+ if (string.IsNullOrEmpty(_resourceUrl))
{
PropertyValue resourceUrl = new PropertyValue(_resourceUrl);
imageMap?.Insert(ImageVisualProperty.URL, resourceUrl);