From: dongsug.song Date: Wed, 11 Nov 2020 06:34:11 +0000 (+0900) Subject: [NUI] Remove [Obsolete()] attribute X-Git-Tag: accepted/tizen/6.0/unified/20201119.095047~1^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=165b71a3c17bdfcb645002e8163b0a9567d99c37;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Remove [Obsolete()] attribute --- diff --git a/src/Tizen.NUI/src/public/Color.cs b/src/Tizen.NUI/src/public/Color.cs index 55a3596..4509fcc 100755 --- a/src/Tizen.NUI/src/public/Color.cs +++ b/src/Tizen.NUI/src/public/Color.cs @@ -184,8 +184,18 @@ namespace Tizen.NUI /// /// The red component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Color(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Color color = new Color(); + /// color.R = 0.1f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Color color = new Color(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Color(...) constructor")] public float R { set @@ -207,8 +217,18 @@ namespace Tizen.NUI /// /// The green component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Color(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Color color = new Color(); + /// color.G = 0.5f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Color color = new Color(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Color(...) constructor")] public float G { set @@ -230,8 +250,18 @@ namespace Tizen.NUI /// /// The blue component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Color(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Color color = new Color(); + /// color.B = 0.9f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Color color = new Color(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Color(...) constructor")] public float B { set @@ -253,8 +283,18 @@ namespace Tizen.NUI /// /// The alpha component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Color(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Color color = new Color(); + /// color.A = 1.0f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Color color = new Color(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Color(...) constructor")] public float A { set diff --git a/src/Tizen.NUI/src/public/Extents.cs b/src/Tizen.NUI/src/public/Extents.cs index 828c09d..4f54a03 100755 --- a/src/Tizen.NUI/src/public/Extents.cs +++ b/src/Tizen.NUI/src/public/Extents.cs @@ -122,8 +122,18 @@ namespace Tizen.NUI /// /// The Start extent. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Extents(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Extents extents = new Extents(); + /// extents.Start = 1; + /// // Please USE like this + /// ushort start = 1, end = 2, top = 3, bottom = 4; + /// Extents extents = new Extents(start, end, top, bottom); + /// /// 4 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Extents(...) constructor")] public ushort Start { set @@ -145,8 +155,18 @@ namespace Tizen.NUI /// /// The End extend. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Extents(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Extents extents = new Extents(); + /// extents.End = 2; + /// // Please USE like this + /// ushort start = 1, end = 2, top = 3, bottom = 4; + /// Extents extents = new Extents(start, end, top, bottom); + /// /// 4 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Extents(...) constructor")] public ushort End { set @@ -169,8 +189,18 @@ namespace Tizen.NUI /// /// The Top extend. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Extents(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Extents extents = new Extents(); + /// extents.Top = 3; + /// // Please USE like this + /// ushort start = 1, end = 2, top = 3, bottom = 4; + /// Extents extents = new Extents(start, end, top, bottom); + /// /// 4 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Extents(...) constructor")] public ushort Top { set @@ -193,8 +223,18 @@ namespace Tizen.NUI /// /// The Bottom Extend. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Extents(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Extents extents = new Extents(); + /// extents.Bottom = 4; + /// // Please USE like this + /// ushort start = 1, end = 2, top = 3, bottom = 4; + /// Extents extents = new Extents(start, end, top, bottom); + /// /// 4 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Extents(...) constructor")] public ushort Bottom { set diff --git a/src/Tizen.NUI/src/public/Position.cs b/src/Tizen.NUI/src/public/Position.cs index 44b00b2..c55de60 100755 --- a/src/Tizen.NUI/src/public/Position.cs +++ b/src/Tizen.NUI/src/public/Position.cs @@ -520,8 +520,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Position(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Position position = new Position(); + /// position.X = 1.0f; + /// // Please USE like this + /// float x = 1.0f, y = 2.0f, z = 3.0f; + /// Position position = new Position(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Position(...) constructor")] public float X { set @@ -544,8 +554,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Position(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Position position = new Position(); + /// position.Y = 2.0f; + /// // Please USE like this + /// float x = 1.0f, y = 2.0f, z = 3.0f; + /// Position position = new Position(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Position(...) constructor")] public float Y { set @@ -568,8 +588,18 @@ namespace Tizen.NUI /// /// The z component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Position(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Position position = new Position(); + /// position.Z = 3.0f; + /// // Please USE like this + /// float x = 1.0f, y = 2.0f, z = 3.0f; + /// Position position = new Position(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Position(...) constructor")] public float Z { set diff --git a/src/Tizen.NUI/src/public/Position2D.cs b/src/Tizen.NUI/src/public/Position2D.cs index 767f1ab..e8268da 100755 --- a/src/Tizen.NUI/src/public/Position2D.cs +++ b/src/Tizen.NUI/src/public/Position2D.cs @@ -86,8 +86,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Position2D(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Position2D position2d = new Position2D(); + /// position2d.X = 1; + /// // Please USE like this + /// int x = 1, y = 2; + /// Position2D position2d = new Position2D(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Position2D(...) constructor")] public int X { set @@ -110,8 +120,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Position2D(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Position2D position2d = new Position2D(); + /// position2d.Y = 2; + /// // Please USE like this + /// int x = 1, y = 2; + /// Position2D position2d = new Position2D(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Position2D(...) constructor")] public int Y { set diff --git a/src/Tizen.NUI/src/public/Rectangle.cs b/src/Tizen.NUI/src/public/Rectangle.cs index 6629da2..e45dcb0 100755 --- a/src/Tizen.NUI/src/public/Rectangle.cs +++ b/src/Tizen.NUI/src/public/Rectangle.cs @@ -88,8 +88,18 @@ namespace Tizen.NUI /// /// The x position of the rectangle. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Rectangle(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Rectangle rectangle = new Rectangle(); + /// rectangle.X = 1; + /// // Please USE like this + /// int x = 1, y = 2, width = 3, height = 4; + /// Rectangle rectangle = new Rectangle(x, y, width, height); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Rectangle(...) constructor")] public int X { set @@ -109,8 +119,18 @@ namespace Tizen.NUI /// /// The Y position of the rectangle. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Rectangle(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Rectangle rectangle = new Rectangle(); + /// rectangle.Y = 2; + /// // Please USE like this + /// int x = 1, y = 2, width = 3, height = 4; + /// Rectangle rectangle = new Rectangle(x, y, width, height); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Rectangle(...) constructor")] public int Y { set @@ -130,8 +150,18 @@ namespace Tizen.NUI /// /// The width of the rectangle. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Rectangle(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Rectangle rectangle = new Rectangle(); + /// rectangle.Width = 3; + /// // Please USE like this + /// int x = 1, y = 2, width = 3, height = 4; + /// Rectangle rectangle = new Rectangle(x, y, width, height); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Rectangle(...) constructor")] public int Width { set @@ -151,8 +181,18 @@ namespace Tizen.NUI /// /// The height of the rectangle. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Rectangle(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Rectangle rectangle = new Rectangle(); + /// rectangle.Height = 4; + /// // Please USE like this + /// int x = 1, y = 2, width = 3, height = 4; + /// Rectangle rectangle = new Rectangle(x, y, width, height); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Rectangle(...) constructor")] public int Height { set diff --git a/src/Tizen.NUI/src/public/RelativeVector2.cs b/src/Tizen.NUI/src/public/RelativeVector2.cs index 7dc839b..d65e51a 100755 --- a/src/Tizen.NUI/src/public/RelativeVector2.cs +++ b/src/Tizen.NUI/src/public/RelativeVector2.cs @@ -76,8 +76,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector2(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector2 relativeVector2 = new RelativeVector2(); + /// relativeVector2.X = 0.1f; + /// // Please USE like this + /// float x = 0.1f, y = 0.9f; + /// RelativeVector2 relativeVector2 = new RelativeVector2(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector2(...) constructor")] public float X { set @@ -98,8 +108,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector2(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector2 relativeVector2 = new RelativeVector2(); + /// relativeVector2.Y = 0.9f; + /// // Please USE like this + /// float x = 0.1f, y = 0.9f; + /// RelativeVector2 relativeVector2 = new RelativeVector2(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector2(...) constructor")] public float Y { set diff --git a/src/Tizen.NUI/src/public/RelativeVector3.cs b/src/Tizen.NUI/src/public/RelativeVector3.cs index 18e2fc0..4122a92 100755 --- a/src/Tizen.NUI/src/public/RelativeVector3.cs +++ b/src/Tizen.NUI/src/public/RelativeVector3.cs @@ -73,8 +73,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector3 relativeVector3 = new RelativeVector3(); + /// relativeVector3.X = 0.1f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f; + /// RelativeVector3 relativeVector3 = new RelativeVector3(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector3(...) constructor")] public float X { set @@ -95,8 +105,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector3 relativeVector3 = new RelativeVector3(); + /// relativeVector3.Y = 0.5f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f; + /// RelativeVector3 relativeVector3 = new RelativeVector3(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector3(...) constructor")] public float Y { set @@ -117,8 +137,18 @@ namespace Tizen.NUI /// /// The z component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector3 relativeVector3 = new RelativeVector3(); + /// relativeVector3.Z = 0.9f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f; + /// RelativeVector3 relativeVector3 = new RelativeVector3(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector3(...) constructor")] public float Z { set diff --git a/src/Tizen.NUI/src/public/RelativeVector4.cs b/src/Tizen.NUI/src/public/RelativeVector4.cs index c899cea..013f346 100755 --- a/src/Tizen.NUI/src/public/RelativeVector4.cs +++ b/src/Tizen.NUI/src/public/RelativeVector4.cs @@ -82,8 +82,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector4 relativeVector4 = new RelativeVector4(); + /// relativeVector4.X = 0.1f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// RelativeVector4 relativeVector4 = new RelativeVector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector4(...) constructor")] public float X { set @@ -106,8 +116,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector4 relativeVector4 = new RelativeVector4(); + /// relativeVector4.Y = 0.5f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// RelativeVector4 relativeVector4 = new RelativeVector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector4(...) constructor")] public float Y { set @@ -130,8 +150,18 @@ namespace Tizen.NUI /// /// The z component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector4 relativeVector4 = new RelativeVector4(); + /// relativeVector4.Z = 0.9f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// RelativeVector4 relativeVector4 = new RelativeVector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector4(...) constructor")] public float Z { set @@ -154,8 +184,18 @@ namespace Tizen.NUI /// /// The w component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new RelativeVector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// RelativeVector4 relativeVector4 = new RelativeVector4(); + /// relativeVector4.W = 1.0f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// RelativeVector4 relativeVector4 = new RelativeVector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new RelativeVector4(...) constructor")] public float W { set diff --git a/src/Tizen.NUI/src/public/Size.cs b/src/Tizen.NUI/src/public/Size.cs index 0813907..be82997 100755 --- a/src/Tizen.NUI/src/public/Size.cs +++ b/src/Tizen.NUI/src/public/Size.cs @@ -94,8 +94,18 @@ namespace Tizen.NUI /// /// The Width property for the width component of size /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Size(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Size size = new Size(); + /// size.Width = 0.1f; + /// // Please USE like this + /// float width = 0.1f, height = 0.5f, depth = 0.9f; + /// Size size = new Size(width, height, depth); + /// /// 5 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size(...) constructor")] public float Width { set @@ -118,8 +128,18 @@ namespace Tizen.NUI /// /// The Height property for the height component of size. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Size(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Size size = new Size(); + /// size.Height = 0.5f; + /// // Please USE like this + /// float width = 0.1f, height = 0.5f, depth = 0.9f; + /// Size size = new Size(width, height, depth); + /// /// 5 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size(...) constructor")] public float Height { set @@ -142,8 +162,18 @@ namespace Tizen.NUI /// /// The Depth property for the depth component of size. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Size(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Size size = new Size(); + /// size.Depth = 0.9f; + /// // Please USE like this + /// float width = 0.1f, height = 0.5f, depth = 0.9f; + /// Size size = new Size(width, height, depth); + /// /// 5 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size(...) constructor")] public float Depth { set diff --git a/src/Tizen.NUI/src/public/Size2D.cs b/src/Tizen.NUI/src/public/Size2D.cs index 818a625..b99d7cf 100755 --- a/src/Tizen.NUI/src/public/Size2D.cs +++ b/src/Tizen.NUI/src/public/Size2D.cs @@ -72,8 +72,18 @@ namespace Tizen.NUI /// /// The property for the width component of a size. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Size2D(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Size2D size2d = new Size2D(); + /// size2d.Width = 1; + /// // Please USE like this + /// int width = 1, height = 2; + /// Size2D size2d = new Size2D(width, height); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size2D(...) constructor")] public int Width { set @@ -96,8 +106,18 @@ namespace Tizen.NUI /// /// The property for the height component of a size. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Size2D(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Size2D size2d = new Size2D(); + /// size2d.Height = 2; + /// // Please USE like this + /// int width = 1, height = 2; + /// Size2D size2d = new Size2D(width, height); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Size2D(...) constructor")] public int Height { set diff --git a/src/Tizen.NUI/src/public/Vector2.cs b/src/Tizen.NUI/src/public/Vector2.cs index 931f582..1af95d0 100755 --- a/src/Tizen.NUI/src/public/Vector2.cs +++ b/src/Tizen.NUI/src/public/Vector2.cs @@ -198,8 +198,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector2(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector2 vector2 = new Vector2(); + /// vector2.X = 0.1f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f; + /// Vector2 vector2 = new Vector2(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector2(...) constructor")] public float X { set @@ -222,8 +232,18 @@ namespace Tizen.NUI /// /// The width. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector2(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector2 vector2 = new Vector2(); + /// vector2.Width = 1.0f; + /// // Please USE like this + /// float width = 1.0f, height = 2.0f; + /// Vector2 vector2 = new Vector2(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector2(...) constructor")] public float Width { set @@ -246,8 +266,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector2(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector2 vector2 = new Vector2(); + /// vector2.Y = 0.5f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f; + /// Vector2 vector2 = new Vector2(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector2(...) constructor")] public float Y { set @@ -270,8 +300,18 @@ namespace Tizen.NUI /// /// The height. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector2(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector2 vector2 = new Vector2(); + /// vector2.Height = 2.0f; + /// // Please USE like this + /// float width = 1.0f, height = 2.0f; + /// Vector2 vector2 = new Vector2(x, y); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector2(...) constructor")] public float Height { set diff --git a/src/Tizen.NUI/src/public/Vector3.cs b/src/Tizen.NUI/src/public/Vector3.cs index 379987e..99cbf33 100755 --- a/src/Tizen.NUI/src/public/Vector3.cs +++ b/src/Tizen.NUI/src/public/Vector3.cs @@ -214,8 +214,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.X = 0.1f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f; + /// Vector3 vector3 = new Vector3(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float X { set @@ -238,6 +248,17 @@ namespace Tizen.NUI /// /// The width component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.Width = 1.0f; + /// // Please USE like this + /// float width = 1.0f, height = 2.0f, depth = 3.0f; + /// Vector3 vector3 = new Vector3(width, height, depth); + /// /// 3 [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float Width @@ -262,8 +283,18 @@ namespace Tizen.NUI /// /// The red component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.R = 0.1f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f; + /// Vector3 vector3 = new Vector3(r, g, b); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float R { set @@ -286,8 +317,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.Y = 0.5f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f; + /// Vector3 vector3 = new Vector3(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float Y { set @@ -310,8 +351,18 @@ namespace Tizen.NUI /// /// The height component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.Height = 2.0f; + /// // Please USE like this + /// float width = 1.0f, height = 2.0f, depth = 3.0f; + /// Vector3 vector3 = new Vector3(width, height, depth); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float Height { set @@ -334,8 +385,18 @@ namespace Tizen.NUI /// /// The green component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.G = 0.5f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f; + /// Vector3 vector3 = new Vector3(r, g, b); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float G { set @@ -358,8 +419,18 @@ namespace Tizen.NUI /// /// The z component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.Z = 0.9f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f; + /// Vector3 vector3 = new Vector3(x, y, z); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float Z { set @@ -382,6 +453,17 @@ namespace Tizen.NUI /// /// The depth component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.Depth = 3.0f; + /// // Please USE like this + /// float width = 1.0f, height = 2.0f, depth = 3.0f; + /// Vector3 vector3 = new Vector3(width, height, depth); + /// /// 3 [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float Depth @@ -406,8 +488,18 @@ namespace Tizen.NUI /// /// The blue component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector3(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector3 vector3 = new Vector3(); + /// vector3.B = 0.9f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f; + /// Vector3 vector3 = new Vector3(r, g, b); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector3(...) constructor")] public float B { set diff --git a/src/Tizen.NUI/src/public/Vector4.cs b/src/Tizen.NUI/src/public/Vector4.cs index 49e0480..21535e9 100755 --- a/src/Tizen.NUI/src/public/Vector4.cs +++ b/src/Tizen.NUI/src/public/Vector4.cs @@ -171,8 +171,18 @@ namespace Tizen.NUI /// /// The x component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.X = 0.1f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// Vector4 vector4 = new Vector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float X { set @@ -195,8 +205,18 @@ namespace Tizen.NUI /// /// The red component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.R = 0.1f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Vector4 vector4 = new Vector4(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float R { set @@ -219,8 +239,18 @@ namespace Tizen.NUI /// /// The s component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.S = 0.1f; + /// // Please USE like this + /// float s = 0.1f, t = 0.5f, p = 0.9f, q = 1.0f; + /// Vector4 vector4 = new Vector4(s, t, p, q); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float S { set @@ -243,8 +273,18 @@ namespace Tizen.NUI /// /// The y component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.Y = 0.5f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// Vector4 vector4 = new Vector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float Y { set @@ -267,8 +307,18 @@ namespace Tizen.NUI /// /// The green component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.G = 0.5f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Vector4 vector4 = new Vector4(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float G { set @@ -291,8 +341,18 @@ namespace Tizen.NUI /// /// The t component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.T = 0.5f; + /// // Please USE like this + /// float s = 0.1f, t = 0.5f, p = 0.9f, q = 1.0f; + /// Vector4 vector4 = new Vector4(s, t, p, q); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float T { set @@ -315,8 +375,18 @@ namespace Tizen.NUI /// /// The z component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.Z = 0.9f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// Vector4 vector4 = new Vector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float Z { set @@ -339,6 +409,17 @@ namespace Tizen.NUI /// /// The blue component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.B = 0.9f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Vector4 vector4 = new Vector4(r, g, b, a); + /// /// 3 [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float B @@ -363,8 +444,18 @@ namespace Tizen.NUI /// /// The p component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.P = 0.9f; + /// // Please USE like this + /// float s = 0.1f, t = 0.5f, p = 0.9f, q = 1.0f; + /// Vector4 vector4 = new Vector4(s, t, p, q); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float P { set @@ -387,8 +478,18 @@ namespace Tizen.NUI /// /// The w component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.W = 1.0f; + /// // Please USE like this + /// float x = 0.1f, y = 0.5f, z = 0.9f, w = 1.0f; + /// Vector4 vector4 = new Vector4(x, y, z, w); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float W { set @@ -411,8 +512,18 @@ namespace Tizen.NUI /// /// The alpha component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.A = 1.0f; + /// // Please USE like this + /// float r = 0.1f, g = 0.5f, b = 0.9f, a = 1.0f; + /// Vector4 vector4 = new Vector4(r, g, b, a); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float A { set @@ -435,8 +546,18 @@ namespace Tizen.NUI /// /// The q component. /// + /// + /// The setter is deprecated in API8 and will be removed in API10. Please use new Vector4(...) constructor. + /// + /// + /// // DO NOT use like the followings! + /// Vector4 vector4 = new Vector4(); + /// vector4.Q = 1.0f; + /// // Please USE like this + /// float s = 0.1f, t = 0.5f, p = 0.9f, q = 1.0f; + /// Vector4 vector4 = new Vector4(s, t, p, q); + /// /// 3 - [Obsolete("Please do not use this setter, Deprecated in API8, will be removed in API10. please use new Vector4(...) constructor")] public float Q { set