当前位置: 首页>>代码示例>>C#>>正文


C# Any类代码示例

本文整理汇总了C#中Any的典型用法代码示例。如果您正苦于以下问题:C# Any类的具体用法?C# Any怎么用?C# Any使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Any类属于命名空间,在下文中一共展示了Any类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Component

 public Component(ucss.uno.XComponentContext ctx, uno.Any[] args) {
     m_args = new Any[args.Length + 1];
     m_args[0] = new Any(typeof(ucss.uno.XComponentContext), ctx);
     for (int i = 0; i < args.Length; i ++) {
         m_args[i+1] = args[i];
     }
 }
开发者ID:Echo360,项目名称:LibreOffice-core,代码行数:7,代码来源:testobjects.cs

示例2: default

 /// <summary>
 /// Allows index operations on the array.
 /// </summary>
 /// <param name="i">Index position in the array.</param>
 /// <returns>The element in the specified position.</returns>
 public byte this[Any<int, long, uint, ulong> i]
 {
     get
     {
         return default(byte);
     }
     set
     {
     }
 }
开发者ID:GavinHwa,项目名称:Bridge,代码行数:15,代码来源:Uint8Array.cs

示例3: default

 /// <summary>
 /// Allows index operations on the array.
 /// </summary>
 /// <param name="i">Index position in the array.</param>
 /// <returns>The element in the specified position.</returns>
 public uint this[Any<int, long, uint, ulong> i]
 {
     get
     {
         return default(uint);
     }
     set
     {
     }
 }
开发者ID:GavinHwa,项目名称:Bridge,代码行数:15,代码来源:Uint32Array.cs

示例4: default

 /// <summary>
 /// Allows index operations on the array.
 /// </summary>
 /// <param name="i">Index position in the array.</param>
 /// <returns>The element in the specified position.</returns>
 public short this[Any<int, long, uint, ulong> i]
 {
     get
     {
         return default(short);
     }
     set
     {
     }
 }
开发者ID:GavinHwa,项目名称:Bridge,代码行数:15,代码来源:Int16Array.cs

示例5: default

 /// <summary>
 /// Allows index operations on the array.
 /// </summary>
 /// <param name="i">Index position in the array.</param>
 /// <returns>The element in the specified position.</returns>
 public float this[Any<int, long, uint, ulong> i]
 {
     get
     {
         return default(float);
     }
     set
     {
     }
 }
开发者ID:GavinHwa,项目名称:Bridge,代码行数:15,代码来源:Float32Array.cs

示例6: default

 /// <summary>
 /// Allows index operations on the array.
 /// </summary>
 /// <param name="i">Index position in the array.</param>
 /// <returns>The element in the specified position.</returns>
 public double this[Any<int, long, uint, ulong> i]
 {
     get
     {
         return default(double);
     }
     set
     {
     }
 }
开发者ID:GavinHwa,项目名称:Bridge,代码行数:15,代码来源:Float64Array.cs

示例7: Otherwise

 /// <summary>
 /// Sets route definition that will be used on route change when no
 /// other route definition is matched.
 /// </summary>
 /// <param name="parms">
 /// Mapping information to be assigned to $route.current. If called with
 /// a string, the value maps to redirectTo.
 /// </param>
 public RouteProvider Otherwise(Any<String, MappingInformation> parms)
 {
     return default(RouteProvider);
 }
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:12,代码来源:Route.cs

示例8: Transform

 /*
  * Transformation matrix is described by:
  * [ a c e ]
  * [ b d f ]
  * [ 0 0 1 ]
  */
 /// <summary>
 /// Multiplies the current transformation matrix with the matrix described by its arguments.
 /// Matrix is described by a 3x3 [ a c e // b d f // 0 0 1 ] (// means a matrix line break).
 /// </summary>
 /// <param name="a">m11: Horizontal scaling.</param>
 /// <param name="b">m12: Horizontal skewing.</param>
 /// <param name="c">m21: Vertical skewing.</param>
 /// <param name="d">m22: Vertical scaling.</param>
 /// <param name="e">dx: Horizontal moving.</param>
 /// <param name="f">dy: Vertical moving.</param>
 public virtual void Transform(Any<int, double> a, Any<int, double> b, Any<int, double> c,
                               Any<int, double> d, Any<int, double> e, Any<int, double> f)
 {
     return;
 }
开发者ID:csuffyy,项目名称:Bridge,代码行数:21,代码来源:CanvasRenderingContext2D.cs

示例9: StrokeText

 /// <summary>
 /// Draws (strokes) a given text at the given (x, y) position.
 /// </summary>
 /// <param name="text">
 /// The text to render using the current font, textAlign, textBaseline, and direction values.
 /// </param>
 /// <param name="x">The x axis of the coordinate for the text starting point.</param>
 /// <param name="y">The y axis of the coordinate for the text starting point.</param>
 public virtual void StrokeText(string text, Any<uint, int> x, Any<uint, int> y)
 {
     return;
 }
开发者ID:csuffyy,项目名称:Bridge,代码行数:12,代码来源:CanvasRenderingContext2D.cs

示例10: SetLineDash

 /// <summary>
 /// Sets the current line dash pattern.
 /// </summary>
 /// <param name="segments">
 /// An Array. A list of numbers that specifies distances to alternately draw a line and a gap
 /// (in coordinate space units). If the number of elements in the array is odd, the elements
 /// of the array get copied and concatenated.
 /// For example, [5, 15, 25] will become [5, 15, 25, 5, 15, 25].
 /// </param>
 public virtual void SetLineDash(Any<double[], uint[], int[], IEnumerable<Any<double, uint, int>>> segments)
 {
     return;
 }
开发者ID:csuffyy,项目名称:Bridge,代码行数:13,代码来源:CanvasRenderingContext2D.cs

示例11: PutImageData

 /// <summary>
 /// Paints data from the given ImageData object onto the bitmap. If a dirty rectangle is provided,
 /// only the pixels from that rectangle are painted.
 /// </summary>
 /// <param name="imagedata">An imageData object containing the array of pixel values.</param>
 /// <param name="dx">
 /// Position offset in the target canvas context of the rectangle to be painted, relative to the
 /// rectangle in the origin image data.
 /// </param>
 /// <param name="dy">
 /// Position offset in the target canvas context of the rectangle to be painted, relative to the
 /// rectangle in the origin image data.
 /// </param>
 /// <param name="dirtyX">
 /// Position of the top left point of the rectangle to be painted, in the origin image data.
 /// Defaults to the top left of the whole image data.
 /// </param>
 /// <param name="dirtyY">
 /// Position of the top left point of the rectangle to be painted, in the origin image data.
 /// Defaults to the top left of the whole image data.
 /// </param>
 /// <param name="dirtyWidth">
 /// Width of the rectangle to be painted, in the origin image data. Defaults to the width of the image data.
 /// </param>
 /// <param name="dirtyHeight">
 /// Height of the rectangle to be painted, in the origin image data. Defaults to the height of the image data.
 /// </param>
 public virtual void PutImageData(ImageData imagedata, int dx, int dy, 
                                  Any<uint?, int?> dirtyX, Any<uint?, int?> dirtyY, 
                                  Any<uint?, int?> dirtyWidth, Any<uint?, int?> dirtyHeight)
 {
     return;
 }
开发者ID:csuffyy,项目名称:Bridge,代码行数:33,代码来源:CanvasRenderingContext2D.cs

示例12: CreateLinearGradient

 /// <summary>
 /// Creates a linear gradient along the line given by the coordinates represented by the parameters.
 /// </summary>
 /// <param name="x0">The x axis of the coordinate of the start point.</param>
 /// <param name="y0">The y axis of the coordinate of the start point.</param>
 /// <param name="x1">The x axis of the coordinate of the end point.</param>
 /// <param name="y1">The y axis of the coordinate of the end point.</param>
 /// <returns>A linear CanvasGradient initialized with the specified line.</returns>
 public virtual CanvasGradient CreateLinearGradient(Any<uint, int, double> x0, Any<uint, int, double> y0,
                                                    Any<uint, int, double> x1, Any<uint, int, double> y1)
 {
     return null;
 }
开发者ID:csuffyy,项目名称:Bridge,代码行数:13,代码来源:CanvasRenderingContext2D.cs

示例13: CreateImageData

 /// <summary>
 /// Creates a new, blank ImageData object with the specified dimensions. All of the pixels in the
 /// new object are transparent black.
 /// </summary>
 /// <param name="width">The width to give the new ImageData object.</param>
 /// <param name="height">The height to give the new ImageData object.</param>
 /// <returns>
 /// A new ImageData object with the specified width and height. The new object is filled with
 /// transparent black pixels.
 /// </returns>
 public virtual ImageData CreateImageData(Any<uint, int> width, Any<uint, int> height)
 {
     return null;
 }
开发者ID:csuffyy,项目名称:Bridge,代码行数:14,代码来源:CanvasRenderingContext2D.cs

示例14: Int16Array

 /// <summary>
 /// Creates a new Int16Array of the specified length.
 /// </summary>
 /// <param name="length">Length of array to create</param>
 public Int16Array(Any<int, long, uint, ulong> length)
 {
 }
开发者ID:GavinHwa,项目名称:Bridge,代码行数:7,代码来源:Int16Array.cs

示例15: PutImageData

 /// <summary>
 /// Paints data from the given ImageData object onto the bitmap. If a dirty rectangle is provided,
 /// only the pixels from that rectangle are painted.
 /// </summary>
 /// <param name="imagedata">An imageData object containing the array of pixel values.</param>
 /// <param name="dx">
 /// Position offset in the target canvas context of the rectangle to be painted, relative to the
 /// rectangle in the origin image data.
 /// </param>
 /// <param name="dy">
 /// Position offset in the target canvas context of the rectangle to be painted, relative to the
 /// rectangle in the origin image data.
 /// </param>
 /// <param name="dirtyX">
 /// Position of the top left point of the rectangle to be painted, in the origin image data.
 /// Defaults to the top left of the whole image data.
 /// </param>
 /// <param name="dirtyY">
 /// Position of the top left point of the rectangle to be painted, in the origin image data.
 /// Defaults to the top left of the whole image data.
 /// </param>
 /// <param name="dirtyWidth">
 /// Width of the rectangle to be painted, in the origin image data. Defaults to the width of the image data.
 /// </param>
 /// <param name="dirtyHeight">
 /// Height of the rectangle to be painted, in the origin image data. Defaults to the height of the image data.
 /// </param>
 public virtual void PutImageData(ImageData imagedata, int dx, int dy, Any<uint?, int?> dirtyX = null,
                                  Any<uint?, int?> dirtyY = null, Any<uint?, int?> dirtyWidth = null,
                                  Any<uint?, int?> dirtyHeight = null)
 {
     return;
 }
开发者ID:shalves,项目名称:Bridge,代码行数:33,代码来源:CanvasRenderingContext2D.cs


注:本文中的Any类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。