public MethodIdentifier(string name, TypeIdentifier declaringTypeIdentifier)
 {
     if (name == null) throw new ArgumentNullException("name");
     if (declaringTypeIdentifier == null) throw new ArgumentNullException("declaringTypeIdentifier");
     _name = name;
     _declaringTypeIdentifier = declaringTypeIdentifier;
 }
Exemple #2
0
 public TypeData(string id, TypeIdentifier identity, bool isDisposable)
 {
     if (id == null) throw new ArgumentNullException("id");
     if (identity == null) throw new ArgumentNullException("identity");
     _id = id;
     _identity = identity;
     _isDisposable = isDisposable;
 }
 public RegistrationSource(string id, TypeIdentifier typeIdentifier, string description)
 {
     if (id == null) throw new ArgumentNullException("id");
     if (typeIdentifier == null) throw new ArgumentNullException("typeIdentifier");
     if (description == null) throw new ArgumentNullException("description");
     _id = id;
     _typeIdentifier = typeIdentifier;
     _description = description;
 }
Exemple #4
0
 public MethodIdentifier(string name, TypeIdentifier declaringTypeIdentifier)
 {
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (declaringTypeIdentifier == null)
     {
         throw new ArgumentNullException("declaringTypeIdentifier");
     }
     _name = name;
     _declaringTypeIdentifier = declaringTypeIdentifier;
 }
Exemple #5
0
 public TypeData(string id, TypeIdentifier identity, bool isDisposable)
 {
     if (id == null)
     {
         throw new ArgumentNullException("id");
     }
     if (identity == null)
     {
         throw new ArgumentNullException("identity");
     }
     _id           = id;
     _identity     = identity;
     _isDisposable = isDisposable;
 }
 public RegistrationSource(string id, TypeIdentifier typeIdentifier, string description)
 {
     if (id == null)
     {
         throw new ArgumentNullException("id");
     }
     if (typeIdentifier == null)
     {
         throw new ArgumentNullException("typeIdentifier");
     }
     if (description == null)
     {
         throw new ArgumentNullException("description");
     }
     _id             = id;
     _typeIdentifier = typeIdentifier;
     _description    = description;
 }
 public void SetUp()
 {
     _parsed = TypeIdentifier.Parse("Autofac.Features.Metadata.Meta`1[[System.Func`1[[Autofac.Features.OwnedInstances.Owned`1[[Company.App.ITask, Company.App, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Autofac, Version=2.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]][], Autofac, Version=2.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da");
 }
 public void SetUp()
 {
     _parsed = TypeNameParser.ParseAssemblyQualifiedTypeName(
         "Namespace.Class`2[[A, B],[C, D]], Company.Product");
 }
 public void SetUp()
 {
     _parsed = TypeIdentifier.Parse("Autofac.Features.Variance.ContravariantRegistrationSource+<>c__DisplayClass8+<>c__DisplayClassa, Autofac, Version=3.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da");
 }
 public void SetUp()
 {
     _parsed = TypeIdentifier.Parse("UserNamespace.Submodule.Class`1+NestedSubclass, UserNamespace.Submodule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null");
 }