Пример #1
0
        void ICollection <T> .CopyTo(T[] array, int arrayIndex)
        {
            CoreThrowHelper.CheckNullArg(array, "array");
            var items = _dict.Keys.ToArray();

            items.CopyTo(array, arrayIndex);
        }
Пример #2
0
 public static string GetCategoryForComponent(Type component)
 {
     CoreThrowHelper.CheckNullArg(component, "component");
     return(component.Namespace);
 }