public override void Emit() { if (Field is EnvironmentMember) { EnvironmentMember f = Field as EnvironmentMember; Emitter.Emit("stfld class {0} '{1}'::{2}", f.Type, f.Function.Name, f.Name); } else { ITypeMember f = Field as ITypeMember; Emitter.Emit("stfld class {0} {1}::'{2}'", f.Type, f.Environment.Name, f.Name); } }
public void Cloud9CreateEnvironmentMembership() { #region createenvironmentmembership-1516822583452 var response = client.CreateEnvironmentMembership(new CreateEnvironmentMembershipRequest { EnvironmentId = "8d9967e2f0624182b74e7690ad69ebEX", Permissions = "read-write", UserArn = "arn:aws:iam::123456789012:user/AnotherDemoUser" }); EnvironmentMember membership = response.Membership; #endregion }
public void Cloud9UpdateEnvironmentMembership() { #region updateenvironmentmembership-1516823876645 var client = new AmazonCloud9Client(); var response = client.UpdateEnvironmentMembership(new UpdateEnvironmentMembershipRequest { EnvironmentId = "8d9967e2f0624182b74e7690ad69ebEX", Permissions = "read-only", UserArn = "arn:aws:iam::123456789012:user/AnotherDemoUser" }); EnvironmentMember membership = response.Membership; #endregion }