Пример #1
0
        /// <summary>
        /// Writes read methods implementation for the specified index.
        /// </summary>
        /// <param name="index">The index to write methods for.</param>
        public void WriteIndexDataProviderImplementation(IndexInfo index)
        {
            var            signature = MethodSignature.GetIndexSignature(index);
            IMethodBuilder builder   = new IndexMethodBuilder(index);

            WrapMethodBody(signature, builder);
        }
 /// <summary>
 /// Writes read methods implementation for the specified index.
 /// </summary>
 /// <param name="index">The index to write methods for.</param>
 public void WriteIndexDataProviderImplementation(IndexInfo index)
 {
     var signature = MethodSignature.GetIndexSignature(index);
     IMethodBuilder builder = new IndexMethodBuilder(index);
     WrapMethodBody(signature, builder);
 }