Пример #1
0
        public MyAssembly(string assemblyInfo, MyAssembly parent)
        {
            Parent = parent;
            if (parent != null && this == parent)
            {
                throw new System.ArgumentException($"Self references are not allowed. {parent.ToString()}");
            }

            Details      = new MyAssemblyDetails(assemblyInfo);
            AssemblyInfo = Details.Name;
        }
Пример #2
0
 public MyAssembly(string assemblyInfo)
 {
     Details      = new MyAssemblyDetails(assemblyInfo);
     AssemblyInfo = Details.Name;
 }